Skip to main content

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 LoggingThreadPoolExecutor for 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


Download files

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

Source Distribution

dockpy_core-0.0.1rc1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

dockpy_core-0.0.1rc1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file dockpy_core-0.0.1rc1.tar.gz.

File metadata

  • Download URL: dockpy_core-0.0.1rc1.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

Hashes for dockpy_core-0.0.1rc1.tar.gz
Algorithm Hash digest
SHA256 d1c119b4d058ec46493f83f488031f28415ec641cb962b5bc3af26608c3ab663
MD5 a747531c063ccff68c1127bcdb3d7abb
BLAKE2b-256 ca9ffab6cdb8fcd2e5da45968fda6dcdabe571abf0e2733e7e23fb3b86e3bce8

See more details on using hashes here.

File details

Details for the file dockpy_core-0.0.1rc1-py3-none-any.whl.

File metadata

  • Download URL: dockpy_core-0.0.1rc1-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

Hashes for dockpy_core-0.0.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ab73448d804d12f80ea0935edb4dae631cdf8fe21dad502507f4d021908e9c0
MD5 7d17e6eb6f5476f760669ccefb04fff5
BLAKE2b-256 39ba262f11f60682bb1a895f96920f71b77048696ac8cd219803b306547df052

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