tgerdes / lastpass-python

LastPass Python API

Home Page:https://pypi.python.org/pypi/lastpass-python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LastPass Python API

https://travis-ci.org/konomae/lastpass-python.svg?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

Releasing

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

License

The MIT License

About

LastPass Python API

https://pypi.python.org/pypi/lastpass-python

License:MIT License


Languages

Language:Python 100.0%