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
Built Distribution
Close
Hashes for docker_containers-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2302d4bc729c94c590d47edef7eb43d81399cf64ad13955e8615b6f97c1f1711 |
|
MD5 | d0132ff9b47c937a54d195ffb0be8cbf |
|
BLAKE2b-256 | a2fc9123162215035113d6fd4cd60fc0e80abb2b89d91e50718888b0f5ab0593 |