Skip to main content

Patchwork Core

Core package of Patchwork - an asynchronous distributed microframework.

This library contains core structures shared by all Patchwork packages:

  • Component - lifecycle of every Patchwork component
  • Message and Delivery - message model
  • serializers (JSONSerializer, FramedSerializer)
  • AsyncPublisher and AsyncSubscriber - client contract for broker integrations
  • LocalBroker - in-memory reference implementation of clients, for development and testing
  • publisher routing of delayed messages to a postpone queue, see patchwork-postponer service
  • client contract test suite (patchwork.core.testing.contract)

Requirements

  • Python 3.11+

Installation

pip install patchwork-core

Optional extras: msgpack, metrics (Prometheus), testing (contract tests).

Development

uv sync --all-extras --dev
uv run pytest tests
uv run ruff check patchwork tests

Documentation

https://patchwork-framework.gitlab.io/core

Metadata

Release files for patchwork-core 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for patchwork-core 2.0.1
File Size Uploaded Provenance
patchwork_core-2.0.1.tar.gz 141.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for patchwork-core 2.0.1
File Interpreter ABI Platform
patchwork_core-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 174.6 kB

Release files / patchwork_core-2.0.1.tar.gz

Download URL patchwork_core-2.0.1.tar.gz
Size 141.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b083600a7fb0bac8480c4ab180be6bc69d2efabcc293b83ab6e62ec2b17ccc1a
BLAKE2b-256 checksum
How to use checksums
80e1c6ce4c365dccde32c6075215b4de84b3f2df1aa8ddb430abe356ed983389
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / patchwork_core-2.0.1-py3-none-any.whl

Download URL patchwork_core-2.0.1-py3-none-any.whl
Size 33.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a3b9831b7324b02b7b058c72079164adc06d3270b1df6d92ddb7671c957aaa4
BLAKE2b-256 checksum
How to use checksums
f006539a75451cbcfdc1aeaae32a89d225cd3b4e4ee68bc4b6bf97b1534df269
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for patchwork-core 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page