Metadata-Version: 2.4
Name: evolvishub-docker-adapter
Version: 0.2.0
Summary: A Docker adapter for EvolvisHub
Project-URL: Homepage, https://github.com/evolvis/docker-adapter
Project-URL: Documentation, https://docker-adapter.readthedocs.io/
Project-URL: Repository, https://github.com/evolvis/docker-adapter.git
Project-URL: Issues, https://github.com/evolvis/docker-adapter/issues
Author-email: EvolvisAI <info@evolvis.ai>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Requires-Dist: docker>=6.1.3
Requires-Dist: pydantic>=2.4.2
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: typing-extensions>=4.7.1
Provides-Extra: dev
Requires-Dist: black>=23.7.0; extra == 'dev'
Requires-Dist: isort>=5.12.0; extra == 'dev'
Requires-Dist: mypy>=1.5.1; extra == 'dev'
Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
Requires-Dist: pytest-mock>=3.11.1; extra == 'dev'
Requires-Dist: pytest>=7.4.0; extra == 'dev'
Requires-Dist: ruff>=0.0.284; extra == 'dev'
Requires-Dist: types-docker>=7.1.0; extra == 'dev'
Description-Content-Type: text/markdown

# Docker Adapter

<p align="center">
  <img src="assets/png/eviesales.png" alt="Bitzer Logo" width="200">
</p>


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

[![PyPI version](https://badge.fury.io/py/docker-adapter.svg)](https://badge.fury.io/py/docker-adapter)
[![Python Versions](https://img.shields.io/pypi/pyversions/docker-adapter.svg)](https://pypi.org/project/docker-adapter/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About

Docker Adapter is developed and maintained by [Evolvis](https://evolvis.ai), 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

```bash
pip install docker-adapter
```

## Quick Start

```python
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](docs/README.md).

## Contributing

We welcome contributions! Please see our [Contributing Guide](CONTRIBUTING.md) for details.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Author

**Alban Maxhuni, PhD**  
Email: [a.maxhuni@evolvis.ai](mailto:a.maxhuni@evolvis.ai)  
[Evolvis](https://evolvis.ai)

## Support

For support, please contact [support@evolvis.ai](mailto:support@evolvis.ai) or visit our [website](https://evolvis.ai).

## About Evolvis

[Evolvis](https://evolvis.ai) is a technology company that specializes in:
- Artificial Intelligence Solutions
- Software Development
- Cloud Infrastructure
- DevOps Automation
- Container Orchestration

Visit our [website](https://evolvis.ai) to learn more about our services and solutions. 