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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for zeroshot_commons_injectors-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ed4f9fa3c0c5c0507cefa9c087b18f65bfaa954015d941208f54de78ffed849e
MD5 a053702eed017a7020cb3bf6fc2efc20
BLAKE2b-256 e11a9df6baaa3b6fd8f9694ebdfc5a2a19b6a314d6fb968563c1e9c4f2d6bc34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for zeroshot_commons_injectors-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 34b2f0896b4052c26d6fcd82c053192d6615729a480915f7fad8bf84ca1b96c5
MD5 2c6894aac6301b6f845da594049ae9e2
BLAKE2b-256 6c73f1f0620788ce18f22e318bd1470417833a44633ced4b99a16daf8df47dc3

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