Skip to content

Latest commit

 

History

History
64 lines (34 loc) · 1.04 KB

File metadata and controls

64 lines (34 loc) · 1.04 KB

LastPass Python API

https://travis-ci.org/konomae/lastpass-python.png?branch=master https://coveralls.io/repos/konomae/lastpass-python/badge.png?branch=master
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

License

The MIT License