Skip to main content

Dependency Injector containers for Zeroshot infrastructure components.

Project description

zeroshot-commons-injectors

Dependency Injector containers for Zeroshot infrastructure components.

This package exposes dependency-injector containers for Redis and Postgres resources so consuming microservices can compose them into an application-level container without binding directly to a web framework.

Example:

from dependency_injector import containers, providers
from zeroshot_commons_injectors import CommonsInfrastructureContainer


class AppContainer(containers.DeclarativeContainer):
    config = providers.Configuration()

    infrastructure = providers.Container(
        CommonsInfrastructureContainer,
        config=config.infrastructure,
    )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zeroshot_commons_injectors-0.1.8.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zeroshot_commons_injectors-0.1.8-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file zeroshot_commons_injectors-0.1.8.tar.gz.

File metadata

File hashes

Hashes for zeroshot_commons_injectors-0.1.8.tar.gz
Algorithm Hash digest
SHA256 e9b0f9ce0564a43f5ad2e5f273af047bb70c96fbef6242887970fbbe1fc6384b
MD5 b1d2903be3ee6d048ce879a7905582a9
BLAKE2b-256 3b6146a5f2ee0e459dcb5de9638a41fa43af83c49db56e50c555a9da59ba5787

See more details on using hashes here.

File details

Details for the file zeroshot_commons_injectors-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for zeroshot_commons_injectors-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2b99a63948077d61840957de40a59060e15190281808dc775d7b152fea51907c
MD5 5031ae799dc48cd00777b54049d6612a
BLAKE2b-256 a9d72ed34dffe87484cfb741bd1b36586c8386fd28c68a93e70627f57766485a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page