| Original: | lastpass-ruby |
|---|
This is unofficial LastPass API
Lastpass Authenticator reverse engineering by Terry Hardie
$ pip install lastpass-python# 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)
for i in vault.authenticator:
print(i.accountID, i.issuerName, i.userName, i.secret)Install test dependencies
$ pip install -r requirements.txtRun tests with
$ nosetestsor test all environments and pep8 with tox
$ tox$ pip install twine
$ python setup.py sdist
$ twine upload dist/*