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.1.tar.gz (37.3 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.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: peercolab_engine-0.1.1.tar.gz
  • Upload date:
  • Size: 37.3 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.1.tar.gz
Algorithm Hash digest
SHA256 89ed6aaa101debb4ee63fefe30dd68d071bcac036998ac314cc581fcc3ccad96
MD5 8d11ee84264fe4c3b52922c93ee7b6ed
BLAKE2b-256 2816e11e6036852038de033b6f15508d31038b45c8d60fffc4705739aa620b37

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for peercolab_engine-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e9cf05911ce8dde7074ba8443cfe3caea9442f17e16c4cc1f7a813b6e8976f9
MD5 8fa40b8797e10dd78c16e0757286b10b
BLAKE2b-256 81d1981e740dabbc81283829aa78838c2714a090471832e6efc8cf2a92aa6240

See more details on using hashes here.

Provenance

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