GitHunt
DH

dhercher/lastpass-python

LastPass Python API

LastPass Python API

.. image:: https://travis-ci.org/konomae/lastpass-python.png?branch=master
:target: https://travis-ci.org/konomae/lastpass-python

.. image:: https://coveralls.io/repos/konomae/lastpass-python/badge.png?branch=master
:target: https://coveralls.io/r/konomae/lastpass-python?branch=master

:Original: lastpass-ruby <https://github.com/detunized/lastpass-ruby>_

This is unofficial LastPass API

Install

.. code-block:: bash

$ pip install lastpass-python

Example

.. 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)

Testing

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

License

The MIT License <http://opensource.org/licenses/mit-license.php>_

Languages

Python100.0%

Contributors

MIT License
Created September 11, 2015
Updated September 11, 2015