Skip to content

konomae/lastpass-python

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 8, 2021 16:10
May 8, 2021 16:05
November 10, 2013 03:38
August 25, 2014 01:05
November 9, 2019 16:14
October 24, 2017 23:03
May 8, 2021 15:55
November 9, 2019 16:21

LastPass Python API

Original:lastpass-ruby

This is unofficial LastPass API

Install

$ pip install lastpass-python

Example

# coding: utf-8
import lastpass

vault = lastpass.Vault.open_remote(username, password)
for i in vault.accounts:
    print(i.id, i.username, i.password, i.url)

Testing

Install test dependencies

$ pip install -r requirements.txt

Run tests with

$ nosetests

or test all environments and pep8 with tox

$ tox

Releasing

$ pip install twine
$ python setup.py sdist
$ twine upload dist/*

License

The MIT License