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.10.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.10-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for zeroshot_commons_injectors-0.1.10.tar.gz
Algorithm Hash digest
SHA256 511ec95c2ea00d7ac0750c6608252d8c44e870d442fe568b9c6c1f86b5927f62
MD5 cd432dce23787f12921423fbf24dc340
BLAKE2b-256 22a6d24826116472a58cb3b190f2dcc5b27ac9924094ad220cc14c37e978a77c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zeroshot_commons_injectors-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 ddf52ad93d91bbe6d5fc07d2b153a53a08aa0080b803d5558f85e64042d728a9
MD5 970c1d8d72073804c767bd44e38ed237
BLAKE2b-256 a2fd2068dec4d292c13cd7dcd882f17dfb60879f0526a85ad997a45d40a6b5a0

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