Skip to main content

Transport abstraction library for operation dispatching with interceptors

Project description

PeerColab Engine - Python

Transport abstraction library for operation dispatching with interceptors.

Installation

pip install peercolab-engine

Quick Start

from peercolab_engine import Transport, RequestOperation, Result

class GetUser(RequestOperation[dict, dict]):
    def __init__(self):
        super().__init__("users.get", "GET")

get_user = GetUser()

session = (
    Transport.session("my-service")
    .intercept(get_user.handle(my_handler))
    .build()
)

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

peercolab_engine-0.1.2.tar.gz (39.8 kB view details)

Uploaded Source

Built Distribution

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

peercolab_engine-0.1.2-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file peercolab_engine-0.1.2.tar.gz.

File metadata

  • Download URL: peercolab_engine-0.1.2.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for peercolab_engine-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2b17a4bf4effb84078e0e2725dcb0b7a7ec115de39d01cb7082cbb6f20cdf1a6
MD5 e85039a243be78e86633028f488a1a5c
BLAKE2b-256 e4d343aa81bb44f4506ee3d5dc32842d546493c09e3ed61b2fcb8dad87c0281c

See more details on using hashes here.

Provenance

The following attestation bundles were made for peercolab_engine-0.1.2.tar.gz:

Publisher: publish.yml on New-Horizon-Tech/peercolabengine-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file peercolab_engine-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for peercolab_engine-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dc5dfb2c5a10091793cf37b808ad5398b7cb13edb20050b41f0520f6e56cc6f7
MD5 7af41e30814f2f26d7a76e122326c841
BLAKE2b-256 bc74faf93477f8392cffc5da1b10c9164820d6abbf648ac69a0229cd2918b461

See more details on using hashes here.

Provenance

The following attestation bundles were made for peercolab_engine-0.1.2-py3-none-any.whl:

Publisher: publish.yml on New-Horizon-Tech/peercolabengine-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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