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.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58198a5a018247fe0a3d4c4097edfb7142d02ddc476d94c79766fe2dfe96a6f6 |
|
MD5 | 27425adc3ed97971736c21f81474f9e8 |
|
BLAKE2b-256 | 84678f5739c6663756180cb65d13564157c940cf958aa6aa18048482f4d877bc |