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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for zeroshot_commons_injectors-0.1.7.tar.gz
Algorithm Hash digest
SHA256 185d7754cabce7dc5478e2540705c6b8a0dae4506ed0d7dccf478c321f6cd981
MD5 a68e7fb12ee4237c6fac56f80b1dad6f
BLAKE2b-256 85ea6e9970de6f0703b6d8a578117e8f650442bad695230d54700ce19c751d2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zeroshot_commons_injectors-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b8b0a57de86d3bb2002825a664f1e374aefc5d392d760cc2a7437c45ef09a970
MD5 4e4c6c770ce926f95dc8db55bd25c7f5
BLAKE2b-256 de0b7e94a9445dff56133d082aa7d340f3dea13c99bb0a329f602d02a40488b5

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