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.

Files for docker-containers, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size docker_containers-0.0.7-py3-none-any.whl (5.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size docker_containers-0.0.7.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page