Skip to main content
# 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.

Then clone the repo and run `python3 setup.py install`

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

## Usage

```python
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")

```




Metadata

Release files for lp-backup 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lp-backup 0.1
File Size Uploaded Provenance Actions
lp_backup-0.1.tar.gz 4.8 kB Without provenance Details for lp_backup-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lp-backup 0.1
File Interpreter ABI Platform Actions
lp_backup-0.1-py3-none-any.whl Python 3 none any Details for lp_backup-0.1-py3-none-any.whl

Total release size: 10.5 kB

Release files / lp_backup-0.1.tar.gz

Download URL lp_backup-0.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e0deb3e89b3579f01cd055aedf6edc9acaba6dab37b92af1f2996d9546d7a94e
BLAKE2b-256 checksum
How to use checksums
085f2013eb1a4d29be7c8c6106987a13637a3c94ea3e132f02668d70e9808702
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / lp_backup-0.1-py3-none-any.whl

Download URL lp_backup-0.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba4324ca18ca4a3677d6df119b65786aa4496e72fdbb3ebaefba6287348f012e
BLAKE2b-256 checksum
How to use checksums
90e1173cc02188ce419375bd4e9bce597fae79ab607ec82b58d4e0ee809e262c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Security for lp-backup 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page