Skip to main content

A Docker adapter for EvolvisHub

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evolvishub_docker_adapter-0.2.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file evolvishub_docker_adapter-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for evolvishub_docker_adapter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e1b6f731a50a72febd5a4bf5d59fb9eb0014432bf2acc9acb2bf2458f7b6bd9
MD5 1ba8e9c8fcdcc85c47a0f440091753a7
BLAKE2b-256 51cbd144f125adb0c306a11de88b4325dcd19c544d05eb6d2ba9e1d3e96daf0e

See more details on using hashes here.

Supported by

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