mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-23 01:56:58 +03:00
20 lines
414 B
ReStructuredText
20 lines
414 B
ReStructuredText
Dependency injection and password hashing in Python
|
|
===================================================
|
|
|
|
Small example that demonstrates using of dependency injection for user
|
|
password hashing.
|
|
|
|
Instructions for running:
|
|
|
|
.. code-block:: bash
|
|
|
|
python example.py
|
|
|
|
Listing of ``example.py``:
|
|
|
|
.. literalinclude:: ../../examples/miniapps/password_hashing/example.py
|
|
:language: python
|
|
:linenos:
|
|
|
|
.. disqus::
|