Skip to main content

Docker Adapter

Bitzer Logo

A Python library for managing Docker containers and images with a clean and intuitive interface.

PyPI version Python Versions License: MIT

About

Docker Adapter is developed and maintained by Evolvis, a company specializing in AI and software development solutions. This library provides a clean and intuitive interface for managing Docker containers and images in Python applications.

Features

  • Container management (start, stop, pause, unpause, kill, remove)
  • Image management (pull, push, tag, remove)
  • Container and image inspection
  • Container logs and stats
  • Command execution in containers
  • Error handling with custom exceptions
  • Type hints for better IDE support

Installation

pip install docker-adapter

Quick Start

from docker_adapter import DockerClient

# Initialize the Docker client
client = DockerClient()

# List all containers
containers = client.list_containers(all=True)
for container in containers:
    print(f"Container: {container.name} (ID: {container.id})")

# List all images
images = client.list_images()
for image in images:
    print(f"Image: {image.tags[0] if image.tags else image.id}")

Documentation

For detailed documentation, please visit our documentation page.

Contributing

We welcome contributions! Please see our Contributing Guide for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Alban Maxhuni, PhD
Email: a.maxhuni@evolvis.ai
Evolvis

Support

For support, please contact support@evolvis.ai or visit our website.

About Evolvis

Evolvis is a technology company that specializes in:

  • Artificial Intelligence Solutions
  • Software Development
  • Cloud Infrastructure
  • DevOps Automation
  • Container Orchestration

Visit our website to learn more about our services and solutions.

Metadata

Release files for evolvishub-docker-adapter 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for evolvishub-docker-adapter 0.2.0
File Interpreter ABI Platform Actions
evolvishub_docker_adapter-0.2.0-py3-none-any.whl Python 3 none any Details for evolvishub_docker_adapter-0.2.0-py3-none-any.whl

Release files / evolvishub_docker_adapter-0.2.0-py3-none-any.whl

Download URL evolvishub_docker_adapter-0.2.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e1b6f731a50a72febd5a4bf5d59fb9eb0014432bf2acc9acb2bf2458f7b6bd9
BLAKE2b-256 checksum
How to use checksums
51cbd144f125adb0c306a11de88b4325dcd19c544d05eb6d2ba9e1d3e96daf0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Security for evolvishub-docker-adapter 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page