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.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f88c829da0cfa4d26a965878f285d53abb310647497f657d61e4c1c0cec92a36 |
|
MD5 | 71e16d4d4c18eecfe08fe83987c6c451 |
|
BLAKE2b-256 | d121f6e14f455a0c0abebfd99ab393fa372e31ffeeca31b275a0189900d0338c |