Skip to main content

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

docker_containers-0.0.8.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

docker_containers-0.0.8-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file docker_containers-0.0.8.tar.gz.

File metadata

  • Download URL: docker_containers-0.0.8.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.9

File hashes

Hashes for docker_containers-0.0.8.tar.gz
Algorithm Hash digest
SHA256 a0e52c2c196b176fac1deaefad973e4f7008a7f86c8daeedd5d713df5f8b9065
MD5 0c4f5e79f4971e4491c14f6e80f34334
BLAKE2b-256 cebf1ae5f453babc1f2e8e293a22491a1c1c742e07b9c572feee7cfe73457200

See more details on using hashes here.

File details

Details for the file docker_containers-0.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for docker_containers-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3c3f2920f13ec63a6fbd06d71736ae51efb5e05c14b30d955968f082e0bbfb61
MD5 2a3e69da358f1dba55efef9493ffca26
BLAKE2b-256 092895801ffdce05620c86c6fc03276a1fc3d6029740e38bd24446f00c5161b4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page