python-dependency-injector/docs/examples-other/password-hashing.rst

20 lines
483 B
ReStructuredText
Raw Normal View History

2020-09-07 18:50:32 +03:00
Password hashing example
========================
This example demonstrates an injection of the ``Callable`` provider.
Listing of the ``example.py``:
.. literalinclude:: ../../examples/miniapps/password-hashing/example.py
:language: python
Instructions for running:
.. code-block:: bash
python example.py
You can find the source code on the `Github <https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/password-hashing>`_.
.. disqus::