.. image:: https://github.com/konomae/lastpass-python/workflows/CI/badge.svg :target: https://github.com/konomae/lastpass-python/actions
.. image:: https://codecov.io/gh/konomae/lastpass-python/branch/master/graph/badge.svg :target: https://codecov.io/gh/konomae/lastpass-python
:Original: lastpass-ruby <https://github.com/detunized/lastpass-ruby>
_
This is unofficial LastPass API
.. code-block:: bash
$ pip install lastpass-python
.. code-block:: 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)
Install test dependencies
.. code-block:: bash
$ pip install -r requirements.txt
Run tests with
.. code-block:: bash
$ nosetests
or test all environments and pep8 with tox
.. code-block:: bash
$ tox
.. code-block:: bash
$ pip install twine
$ python setup.py sdist
$ twine upload dist/*
The MIT License <https://opensource.org/licenses/mit-license.php>
_