dishka
Cute dependency injection (DI) framework for Python with agreeable API and everything you need
File Explorer
Download Latest Version (.zip)- coverage-pr.yaml
- frameworks-latest.yaml
- new-event.yaml
- publish.yaml
- setup.yaml
- dependabot.yaml
- decorate.py
- provide.py
- app_before.py
- app_factory.py
- container_before.py
- fixtures.py
- index.rst
- sometest.py
- test_example.py
- collect.rst
- components.rst
- context.rst
- generics.rst
- plotter.png
- plotter.rst
- scopes.rst
- when.rst
- index.rst
- _websockets.rst
- adding_new.rst
- aiogram.rst
- aiogram_dialog.rst
- aiohttp.rst
- arq.rst
- celery.rst
- click.rst
- fastapi.rst
- faststream.rst
- flask.rst
- grpcio.rst
- index.rst
- litestar.rst
- sanic.rst
- starlette.rst
- taskiq.rst
- telebot.rst
- alias.rst
- decorate.rst
- from_context.rst
- index.rst
- provide.rst
- provide_all.rst
- technical.rst
- alternatives.rst
- concepts.rst
- conf.py
- contributing.rst
- di_intro.rst
- errors.rst
- index.rst
- quickstart.rst
- quickstart_example.py
- app.py
- run_with_settings.py
- run_with_worker.py
- __init__.py
- with_inject.py
- with_task_cls.py
- __init__.py
- async_command.py
- sync_command.py
- __init__.py
- service_pb2.py
- service_pb2.pyi
- service_pb2_grpc.py
- service.proto
- __init__.py
- uuid_service.py
- __init__.py
- di.py
- grpc_client.py
- grpc_server.py
- __init__.py
- aiogram_bot.py
- aiohttp_app.py
- fastapi_app.py
- faststream_app.py
- flask_app.py
- litestar_app.py
- sanic_app.py
- starlette_app.py
- taskiq_app.py
- telebot_bot.py
- __init__.py
- api_client.py
- db.py
- ioc.py
- presentation_bot.py
- presentation_web.py
- use_cases.py
- __init__.py
- test_add_products.py
- test_web.py
- main_bot.py
- main_web.py
- README.md
- requirements.txt
- requirements_test.txt
- async_simple.py
- ruff.toml
- sync_simple.py
- pep8.yaml
- type_checking.yaml
- aiogram-3140.txt
- aiogram-3230.txt
- aiogram-330.txt
- aiogram-dialog-210.txt
- aiogram-dialog-latest.txt
- aiogram-latest.txt
- aiohttp-31215.txt
- aiohttp-393.txt
- aiohttp-latest.txt
- arq-0250.txt
- arq-latest.txt
- asgi.txt
- celery-540.txt
- celery-latest.txt
- click-817.txt
- click-latest.txt
- fastapi-0096.txt
- fastapi-0109.txt
- fastapi-latest.txt
- faststream-050.txt
- faststream-0529.txt
- faststream-060.txt
- faststream-070.txt
- faststream-latest.txt
- flask-302.txt
- flask-latest.txt
- grpcio-1641.txt
- grpcio-1680.txt
- grpcio-1751.txt
- grpcio-latest.txt
- litestar-232.txt
- litestar-latest.txt
- sanic-23121.txt
- sanic-2530.txt
- sanic-latest.txt
- starlette-0270.txt
- starlette-latest.txt
- taskiq-0110.txt
- taskiq-latest.txt
- telebot-415.txt
- telebot-latest.txt
- test.txt
- __init__.py
- basic_utils.py
- constants.py
- fundamentals.py
- generic_resolver.py
- implicit_params.py
- norm_utils.py
- normalize_type.py
- type_evaler.py
- common.py
- feature_requirement.py
- __init__.py
- code_builder.py
- factory_compiler.py
- inject_compiler.py
- __init__.py
- activator.py
- alias.py
- composite.py
- context_var.py
- decorator.py
- factory.py
- factory_union_mode.py
- maybe.py
- type_match.py
- type_replace.py
- __init__.py
- component.py
- depends_marker.py
- factory_type.py
- key.py
- marker.py
- provides_marker.py
- scope.py
- type_alias_type.py
- type_form.py
- validation_settigs.py
- validation_settings.py
- with_parents.py
- __init__.py
- activation.py
- builder.py
- moved_objects_tracker.py
- uniter.py
- validator.py
- __init__.py
- faststream_05.py
- faststream_06.py
- __init__.py
- aiogram.py
- aiogram_dialog.py
- aiohttp.py
- arq.py
- base.py
- celery.py
- click.py
- exceptions.py
- fastapi.py
- flask.py
- grpcio.py
- litestar.py
- sanic.py
- starlette.py
- taskiq.py
- telebot.py
- __init__.py
- d2.py
- mermaid.py
- model.py
- transform.py
- wrappers.py
- __init__.py
- base_provider.py
- exceptions.py
- make_activator.py
- make_alias.py
- make_context_var.py
- make_decorator.py
- make_factory.py
- make_union_mode.py
- norm_type.py
- provider.py
- root_context.py
- unpack_provides.py
- __init__.py
- name.py
- path.py
- suggestion.py
- __init__.py
- async_container.py
- container.py
- container_objects.py
- context_proxy.py
- exception_base.py
- exceptions.py
- py.typed
- registry.py
- DISHKA002-snapshot.yml
- pep8-test.yaml
- __init__.py
- conftest.py
- test_aiogram.py
- __init__.py
- conftest.py
- test_aiogram_dialog.py
- __init__.py
- test_aiohttp.py
- test_aiohttp_websockets.py
- __init__.py
- test_arq.py
- __init__.py
- test_add_params.py
- test_wrap_injection.py
- test_wrap_injection_custom_scope.py
- test_wrap_injection_provide_context.py
- __init__.py
- test_celery.py
- __init__.py
- test_click.py
- __init__.py
- test_fastapi.py
- test_fastapi_sync.py
- test_fastapi_websockets.py
- __init__.py
- test_faststream.py
- test_faststream_05.py
- __init__.py
- test_flask.py
- __init__.py
- my_grpc_service.proto
- test_grpcio.py
- test_grpcio_aio.py
- __init__.py
- test_litestar.py
- test_litestar_websockets.py
- __init__.py
- test_sanic.py
- __init__.py
- test_starlette.py
- test_starlette_websockets.py
- __init__.py
- test_taskiq.py
- utils.py
- __init__.py
- test_telebot.py
- __init__.py
- common.py
- conftest.py
- __init__.py
- test_type_form.py
- test_with_parents.py
- __init__.py
- test_alias.py
- test_context_var.py
- test_provide.py
- test_provide_all.py
- __init__.py
- test_activation_errors.py
- test_alias.py
- test_collect.py
- test_decorator.py
- test_factory.py
- test_has.py
- test_provider_when.py
- __init__.py
- pep695_new_syntax.py
- test_alias.py
- test_cache.py
- test_collect.py
- test_components.py
- test_concurrency.py
- test_context_vars.py
- test_decorator.py
- test_dynamic.py
- test_enter_exit.py
- test_exceptions.py
- test_generic.py
- test_recursive.py
- test_resolve.py
- test_type_alias_type.py
- test_with_parents.py
- type_alias_type_provider.py
- __init__.py
- test_transform.py
- test_wrappers.py
- __init__.py
- test_name.py
- test_path.py
- test_suggestion.py
- __init__.py
- sample_providers.py
- test_composite.py
- test_context_proxy.py
- test_entities.py
- test_marker.py
- test_provider.py
- test_quickstart_example.py
- test_registry.py
- test_type_match.py
- test_type_replace.py
- __init__.py
- .coveragerc
- .gitignore
- .mypy.ini
- .pytest.toml
- .readthedocs.yaml
- .ruff.toml
- .typos.toml
- CONTRIBUTING.md
- LICENSE
- noxfile.py
- pyproject.toml
- README.md
- requirements_doc.txt
- sgconfig.yml
# Installation Guide
1. Get the code
git clone https://github.com/reagento/dishka
Downloads the entire project code from GitHub to your computer.
cd dishka
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install dishka
Installs the package published on PyPI directly โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install dishka
Installs the package published on PyPI directly โ no need to clone the source.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
