mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 19:14:00 +03:00
bf978601ba
* Refactor services mini app with single container * Make few little fixes to single container app * Update requirements.txt for single container example * Refactor multiple containers example * Add single container docs page * Create multiple containers page
19 lines
401 B
ReStructuredText
19 lines
401 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
|
|
|
|
.. disqus::
|