Metadata-Version: 2.1
Name: lp-backup
Version: 0.1.10
Summary: Script to create local backups from Lastpass
Home-page: UNKNOWN
License: MIT
Author: Rick Henry
Author-email: fredericmhenry@gmail.com
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: click (>=7.0,<8.0)
Requires-Dist: cryptography (>=2.4,<3.0)
Requires-Dist: fs (>=2.1,<3.0)
Requires-Dist: fs-s3fs (>=1.0,<2.0)
Requires-Dist: fs.webdavfs
Requires-Dist: ruamel.yaml (>=0.15.80,<0.16.0)
Description-Content-Type: text/markdown

# Lastpass Backup
[![Build Status](https://travis-ci.org/rickh94/lp_backup.svg?branch=master)](https://travis-ci.org/rickh94/lp_backup)
[![Documentation Status](https://readthedocs.org/projects/lastpass-local-backup/badge/?version=latest)](https://lastpass-local-backup.readthedocs.io/en/latest/?badge=latest)

Easily backup data from lastpass to your own storage.

## Installation

You first need to install the [lastpass commandline
tool](https://github.com/lastpass/lastpass-cli) for your platform.
It is used internally for accessing the lastpass api.

```bash
$ pip install lp_backup
```

Install [fs.webdavfs](https://github.com/damndam/webdavfs) for webdav support.

## Usage

```
from lp_backup import Runner

# create backup runner
example_backup_runner = Runner("/home/YOUR_USER/.config/lp_backup.yml")
# run backup
backup_file_name = example_backup_runner.backup()
print(backup_file_name)

# restore backup to /tmp/example-full-restore.csv (which is PLAIN TEXT, be sure to delete after use)
backup_file_name.restore(backup_file_name, "/tmp/test-full-restore.csv")

```



