mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-23 01:56:58 +03:00
20 lines
483 B
ReStructuredText
20 lines
483 B
ReStructuredText
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::
|