Skip to main content

Util for start containers

Project description

docker_containers

Usage:

import time

from x5_aio_pika_ext import RMQClient

from docker_containers import RabbitContainer


async def check_connect(url):
    rabbit_client = RMQClient(url)
    await rabbit_client.is_alive()
    await rabbit_client.close()


container = RabbitContainer(check_connect)

container.start()
time.sleep(180)
container.stop()

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

docker_containers-0.0.10.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

docker_containers-0.0.10-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file docker_containers-0.0.10.tar.gz.

File metadata

  • Download URL: docker_containers-0.0.10.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for docker_containers-0.0.10.tar.gz
Algorithm Hash digest
SHA256 fde338301dd3622c91ac33a28b383a6064caf72fb48009a8d88c1ba98816ac3c
MD5 400c146f98a8702d1b6aeaff4b01638f
BLAKE2b-256 5ca23c58308d51409111e94c94f9006e50c2107a48274876edd43855ea2ea509

See more details on using hashes here.

File details

Details for the file docker_containers-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for docker_containers-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 e02d20303836168f857410b45c43a8250fb921df77927c5e46bbe23d46319187
MD5 361b2aea6801310eeb01e26334157ea3
BLAKE2b-256 51045bf4a4eb2a6a21b63197cab4c70dc934944960153309ed702854cb179767

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