Password hashing example
========================

.. meta::
   :keywords: Python,Dependency Injection,Inversion of Control,Container,Example,Application,
              Framework,Callable
   :description: This example demonstrates a usage of the Callable provider.

This example demonstrates an injection of the ``Callable`` provider.

The source code is available on the `Github <https://github.com/ets-labs/python-dependency-injector/tree/master/examples/miniapps/password-hashing>`_.

Sample code
-----------

Listing of the pattern example:

.. literalinclude:: ../../examples/miniapps/password-hashing/example.py
   :language: python

Run the example
---------------

Instructions for running:

.. code-block:: bash

    python example.py

.. disqus::