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.7.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

docker_containers-0.0.7-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page