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.3.tar.gz (43.7 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.3-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for peercolab_engine-0.1.3.tar.gz
Algorithm Hash digest
SHA256 cd1663959ffcd1ad5fc8dea32e8ca81646a0e70cd4fbe0ebd85207f72951bc21
MD5 3b913815ee1cc5e916302422eb8c964d
BLAKE2b-256 6bcb6de3b93922b82c945ecaf5fd38180f2ce36c9adff387f30c7657e251a373

See more details on using hashes here.

Provenance

The following attestation bundles were made for peercolab_engine-0.1.3.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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for peercolab_engine-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c32fe64893c980787323be33cc312a547e8fd16501344e833850a83f64504628
MD5 70ed485151d675a65ae34d16baf6bb7f
BLAKE2b-256 ba6227e117b1db404eb8f481172110b7b12c1fbd9a9037aac98d411486b15fba

See more details on using hashes here.

Provenance

The following attestation bundles were made for peercolab_engine-0.1.3-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