dockpy-core - Shared types, exceptions, logging, and threading utilities
Project description
dockpy-core
Shared types, exceptions, logging, and threading utilities for the dockpy project.
Installation
pip install dockpy-core
Features
- Exception Hierarchy: Custom exception types with auto-logging
- Structured Logging: Built on structlog with context propagation
- Threading: Custom
LoggingThreadPoolExecutorfor concurrent operations - Type Hints: Modern Python 3.10+ type annotations
- Async Support: Utilities for async/sync bridging
Quick Start
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 for full documentation.
License
Apache License 2.0 - See LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dockpy_core-0.0.1.dev1.tar.gz.
File metadata
- Download URL: dockpy_core-0.0.1.dev1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfd31bcf47a7c62529524afe15b91ac58d52a9d424856ad28e8dfcefd330e556
|
|
| MD5 |
e6673918ac1cbb367f951eca9810f804
|
|
| BLAKE2b-256 |
9fbb75710a6ecdd5992ed9ccec5f0b8337eb2cd20dd42b8b8a53b1cff9cfecbb
|
File details
Details for the file dockpy_core-0.0.1.dev1-py3-none-any.whl.
File metadata
- Download URL: dockpy_core-0.0.1.dev1-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c56778d3d8e956b6b49e0c0c5d3850ce7a017d9efb3385402e546f1dbcd0cf7
|
|
| MD5 |
862a93ac4404af63afde7588ea71fe3c
|
|
| BLAKE2b-256 |
a9e7afe64a139a8ec7f50485f2c69836aa6e05839e152d74e80e668ba7799881
|