Skip to main content

A simple python package to manage external testing of docker containers

Project description

Code style: black Imports: isort linting: pylint Checked with mypy

PyPI - Version PyPI - Python Version Coverage Status

dockerr

[!IMPORTANT] Happy to update that I got this framework cabablities merged into testcontainers-python (Checkout the PR)
This Repo will hopefully (oneday) be reporposed into something new 😃

Description

This is a python framwork for running docker containers in order to test them. Fox example: you can run a container, test something while its still running and the framework will take care of cleaning up afterwards. It's designed to be simple and easy to use.

Installation

pip install dockerr

Usage

from dockerr.runner import DockerRunner

with DockerRunner(tag, name, ports, path, dockerfile=DOCKER_FILE):
    # Do something

Status

This is an early version of the framework and it's still under development.

Deprecated - please see note above

Examples

Please checkout the samples folder for more examples.

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

dockerr-0.2.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

dockerr-0.2.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file dockerr-0.2.1.tar.gz.

File metadata

  • Download URL: dockerr-0.2.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for dockerr-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e6fc4d711d2e67ddf73bdb8cf0b8eb05d89657b6f84cbd81a9de1eedfacc762c
MD5 88e2b4693c5da6cf8f9d3d3fd7455403
BLAKE2b-256 1c2f0799df271fd81e1bab0bd9209a118eb5b52f59270bedc99aae8056d64afd

See more details on using hashes here.

File details

Details for the file dockerr-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: dockerr-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for dockerr-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47e3033b285f4c241e9fe3aa059c073d46eee5e26a8e66886ebec04e93cc607b
MD5 d5537d828f6a9c4fdb1348e034cf6706
BLAKE2b-256 77d80117fd767b220a939ca8714bc078500da43c2ea4c84f93a52df046fb5379

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