Metadata-Version: 2.4
Name: dockpy-core
Version: 0.0.1.dev1
Summary: dockpy-core - Shared types, exceptions, logging, and threading utilities
Project-URL: Issue Tracker, https://github.com/bbdevs/dockpy/issues
Project-URL: Source Code, https://gerrit.bbdevs.com/dockpy
Author-email: BBDevs <dev@bbdevs.com>
License: Apache-2.0
Keywords: async,cli,docker,sdk
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Systems Administration
Requires-Python: >=3.10
Requires-Dist: pydantic>=2.5.0
Requires-Dist: pyyaml>=6.0.1
Requires-Dist: structlog>=23.2.0
Provides-Extra: dev
Requires-Dist: pytest-asyncio>=0.21.1; extra == 'dev'
Requires-Dist: pytest-cov>=4.1.0; extra == 'dev'
Requires-Dist: pytest>=7.4.3; extra == 'dev'
Description-Content-Type: text/markdown

# dockpy-core

Shared types, exceptions, logging, and threading utilities for the dockpy project.

## Installation

```bash
pip install dockpy-core
```

## Features

- **Exception Hierarchy**: Custom exception types with auto-logging
- **Structured Logging**: Built on structlog with context propagation
- **Threading**: Custom `LoggingThreadPoolExecutor` for concurrent operations
- **Type Hints**: Modern Python 3.10+ type annotations
- **Async Support**: Utilities for async/sync bridging

## Quick Start

```python
from dockpycore.logging import get_logger
from dockpycore.exceptions import DockerSDKError

logger = get_logger(__name__)

try:
    # Your code here
    pass
except DockerSDKError as e:
    logger.error("docker_error", error=str(e))
```

## Documentation

See the [main repository](https://gerrit.bbdevs.com/dockpy) for full documentation.

## License

Apache License 2.0 - See LICENSE file for details.

