semvec/pypi-packages huggingface dataset:
lastpass-python 0.3.2
Read only access to the online LastPass vault (unofficial)
License: MIT

LastPass Python API
===================

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


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


Releasing
---------

.. code-block:: bash

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


License
-------

`The MIT License <https://opensource.org/licenses/mit-license.php>`_
eqassertions 0.4
assertions in __eq__methods
License: MIT

==================
eqassertion
==================

assertions in `__eq__` methods.

>>> from eqassertions import Any, NotNone, IsA, IsTrue, Match
>>> data = {"a": 1, "b": 2}
>>> assert {"a": 1, "b": Any()}
>>> assert {"a": 1, "b": NotNone()}
>>> assert {"a": 1, "b": IsA(int)}
>>> assert {"a": 1, "b": IsTrue()}
>>> assert v == {"a": 1, "b": Match(r"\d")}
>>> assert v == {"a": 1, "b": Match(r"[a-z]")}
Traceback (most recent call last):
 ...
AssertionError