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
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file docker_containers-0.0.10.tar.gz.
File metadata
- Download URL: docker_containers-0.0.10.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fde338301dd3622c91ac33a28b383a6064caf72fb48009a8d88c1ba98816ac3c
|
|
| MD5 |
400c146f98a8702d1b6aeaff4b01638f
|
|
| BLAKE2b-256 |
5ca23c58308d51409111e94c94f9006e50c2107a48274876edd43855ea2ea509
|
File details
Details for the file docker_containers-0.0.10-py3-none-any.whl.
File metadata
- Download URL: docker_containers-0.0.10-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e02d20303836168f857410b45c43a8250fb921df77927c5e46bbe23d46319187
|
|
| MD5 |
361b2aea6801310eeb01e26334157ea3
|
|
| BLAKE2b-256 |
51045bf4a4eb2a6a21b63197cab4c70dc934944960153309ed702854cb179767
|