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.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c3f2920f13ec63a6fbd06d71736ae51efb5e05c14b30d955968f082e0bbfb61 |
|
MD5 | 2a3e69da358f1dba55efef9493ffca26 |
|
BLAKE2b-256 | 092895801ffdce05620c86c6fc03276a1fc3d6029740e38bd24446f00c5161b4 |