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.9.tar.gz (1.8 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.9-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for zeroshot_commons_injectors-0.1.9.tar.gz
Algorithm Hash digest
SHA256 235c09a7fabd10aea1cfb4daf33346b8fe1df73cc758524b93c13d4517f2f8d2
MD5 93988317e20e32d862749da729240039
BLAKE2b-256 4f1b9217df5876f1923b3a0d22491699b371153b2cafb62a9d04be4ad0f2e557

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zeroshot_commons_injectors-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0ccae5328a710094b1323928e31d97cba2fb1c5d7194073fced155379413eb0c
MD5 b5503de683ee2053dfeff550e6202dff
BLAKE2b-256 ff0f76c9fb4800a5644e6a6610121873db01b57a0f33014b4fb50eb782e90a99

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