Metadata-Version: 2.1
Name: hibpcli
Version: 0.5.1
Summary: A command line interface for the **haveibeenpwned.com** API - speaks keepass.
Home-page: https://github.com/jugmac00/hibpcli
Author: Jürgen Gmach
Author-email: juergen.gmach@goglemail.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Description-Content-Type: text/x-rst
Requires-Dist: click (>=7.1.2)
Requires-Dist: pykeepass (==3.2.1)
Requires-Dist: httpx (>=0.13.3)
Provides-Extra: dev
Requires-Dist: pdbpp ; extra == 'dev'
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: coverage ; extra == 'test'

.. image:: https://github.com/jugmac00/hibpcli/workflows/CI/badge.svg?branch=master
   :target: https://github.com/jugmac00/hibpcli/actions?workflow=CI
   :alt: CI Status

.. image:: https://coveralls.io/repos/github/jugmac00/hibpcli/badge.svg?branch=master
  :target: https://coveralls.io/github/jugmac00/hibpcli?branch=master

.. image:: https://img.shields.io/pypi/v/hibpcli.svg
  :target: https://pypi.org/project/hibpcli/

.. image:: https://img.shields.io/pypi/pyversions/hibpcli.svg
  :target: https://pypi.org/project/hibpcli/

.. image:: https://requires.io/github/jugmac00/hibpcli/requirements.svg?branch=master
  :target: https://requires.io/github/jugmac00/hibpcli/requirements/?branch=master

.. image:: https://img.shields.io/pypi/l/hibpcli
  :target: https://github.com/jugmac00/hibpcli/blob/master/LICENSE


hibpcli
=======

A command line interface for the **haveibeenpwned.com** API - speaks keepass.

installation
------------

.. code::

    $ pip install hibpcli


usage
-----

check all passwords in your keepass database
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code::

    $ hibpcli check-keepass PATHTOKEEPASSDB --password PASSWORDFORKEEPASSDB

    The passwords of following entries are leaked:
    [Entry: "test_title (test_user)"]


check a single password
~~~~~~~~~~~~~~~~~~~~~~~

.. code::

    $ hibpcli check-password --password PASSWORD

    Please change your password!


contributions, feature requests, bug reports
--------------------------------------------

Please create an issue at https://github.com/jugmac00/hibpcli/issues

tests
-----

run all tests and linters
~~~~~~~~~~~~~~~~~~~~~~~~~

.. code::

    tox


run tests for Python 3.8 only
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code::

    tox -e py38


pass through e.g. verbose argument to pytest
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code::

    tox -e py38 -- -vv


generate coverage
~~~~~~~~~~~~~~~~~

.. code::

    tox -e coverage


thank you
---------

- click - https://click.palletsprojects.com
- pykeepass - https://github.com/pschmitt/pykeepass
- httpx - https://github.com/encode/httpx


CHANGELOG
=========

0.5.1 (07.02.2021)
------------------

- pin pykeepass as version 4.0 is broken, see https://github.com/libkeepass/pykeepass/issues/244


0.5.0 (06.01.2021)
------------------

added
~~~~~
- add the `bandit` security checker
- add support for Python 3.9
- add type annotations
- improve message when there are no known leaks for a password (@eumiro)
- provide user friendly error message when given password is wrong
- provide caching for password lookups (@eumiro)

changed
~~~~~~~
- run coverage directly instead of pytest-cov
- use gh actions instead of Travis

0.4.1 (30.09.2020)
------------------

added
~~~~~
- add packaging guideline

changed
~~~~~~~
- run linters via `pre-commit`

0.4.0 (25.05.2020)
------------------

added
~~~~~
- introduce tox
- introduce flake8
- introduce flake8-click
- introduce coverage via coveralls
- add beta classifier

changed
~~~~~~~
- improve readme
- convert README and CHANGES to rst format
- use setup.py instead of flit for packaging
- move source code in src directory
- update versions of installation dependencies
- subcommand to check a single password now is `check-password`
- subcommand to check a keepass db now is `check-keepass`

0.3.0 (03.11.2019)
------------------

added
~~~~~

- add new subcommand "password" for checking a single password
- add pdb++ to dev dependencies
- add some basic error handling
- add some classifiers

0.2.0 (02.11.2019)
------------------

added
~~~~~

- add path option to keepass subcommand
- add password option to keepass subcommand

changed
~~~~~~~

- update dependencies

0.1.0 (01.11.2019)
------------------

added
~~~~~

- add support for Python 3.7
- add support for Python 3.8
- create a "hibpcli" script

changed
~~~~~~~

- use "black" code formatter
- update dependencies
- remove requirements-dev.txt
- put test requirements in pyproject.toml

0.0.3 (29.01.2019)
------------------

added
~~~~~

- add a separate file for changes
- add info about testing and coverage
- add more info for --help dialog

changed
~~~~~~~

- do not show password when being entered
- move keepass check into subcommand
- check "path input" whether it is a file
- improved tests and coverage (currently 100%)


0.0.2 (22.01.2019)
------------------

added
~~~~~

- add dependencies to pyproject.toml

0.0.1 (22.01.2019)
------------------

- initial release


