Skip to main content

tigr-asgi-contract adapters and runtime-boundary classification for Tigrcorn ASGI3, WebSocket, and WebTransport surfaces.

Project description

tigrcorn-contract

Tigrcorn tiger-unicorn logo

tigr-asgi-contract adapters and runtime-boundary classification for Tigrcorn ASGI3, WebSocket, and WebTransport surfaces.

PyPI version for tigrcorn-contract tigrcorn-contract package on PyPI Downloads for tigrcorn-contract Hits for tigrcorn-contract README Apache 2.0 license Python 3.10 | 3.11 | 3.12 | 3.13 | 3.14 supported contract role package

SSOT governed Discord

Install

uv add tigrcorn-contract
pip install tigrcorn-contract

Use the aggregate tigrcorn distribution when you want the full ASGI3 Python web server stack. Install tigrcorn-contract directly when you want only this package boundary and its declared dependencies.

What It Owns

tigrcorn-contract owns native contract app markers, contract scope validation, contract event validation, and boundary classification. Its import package is tigrcorn_contract, and its declared package dependencies are: tigrcorn-core, tigrcorn-asgi, tigr-asgi-contract.

This package page is written for developers searching for Tigrcorn ASGI3 server components, Python web server packages, HTTP/3 and QUIC support, WebSocket and WebTransport-adjacent surfaces, and Apache 2.0 licensed infrastructure.

Why Use This?

Use tigrcorn-contract when you want the contract layer as a direct install target instead of the full server bundle. It lets application, operator, or certification workflows depend on this boundary explicitly while keeping the broader Tigrcorn runtime assembled from smaller repo-owned package surfaces.

FAQ

What does this package export?

The package exports through the tigrcorn_contract namespace and keeps the root tigrcorn package as the compatibility umbrella.

Which boundary does this package own?

It is the package boundary for native contract app markers, contract scope validation, contract event validation, and boundary classification in the Tigrcorn package graph.

What does the contract layer validate?

It validates contract scopes, event ordering, endpoint metadata, runtime classification, and WebSocket or WebTransport boundary semantics against the tigr-asgi-contract surface.

Features

  • Owns native contract app markers, contract scope validation, contract event validation, and boundary classification inside the Tigrcorn split-package architecture.
  • Publishes the tigrcorn_contract import surface for named public helpers and entrypoints.
  • Declared runtime dependencies: tigrcorn-core, tigrcorn-asgi, tigr-asgi-contract.
  • Optional dependency surface: none.
  • Supports Python 3.10, 3.11, 3.12, 3.13, and 3.14.

Use It When

Use tigrcorn-contract when you need contract-level behavior without pulling the entire server stack into the import surface. It is part of Tigrcorn's split-package architecture, so it can be installed independently while remaining linked to the rest of the Tigrcorn package family on PyPI.

Import Surface

from tigrcorn_contract import contract_scope, validate_scope

scope = contract_scope("http", path="/")
print(validate_scope(scope))

Namespace discovery starts with import tigrcorn_contract.

The package exposes its supported public surface through the tigrcorn_contract namespace. The root tigrcorn package keeps compatibility shims for users who install the full server distribution.

Related Packages

Package Graph

tigrcorn-core | tigrcorn-config | tigrcorn-http | tigrcorn-asgi | tigrcorn-contract | tigrcorn-transports | tigrcorn-security | tigrcorn-protocols | tigrcorn-static | tigrcorn-observability | tigrcorn-runtime | tigrcorn-compat | tigrcorn-certification

Best Practices

  • Use this package when you need contract validation or classification rather than embedding that logic in protocol handlers.
  • Keep new WebSocket, WebTransport, and endpoint-metadata semantics grounded in the contract surface here.
  • Update runtime-boundary classification together with any new contract-facing feature rows.

License

Apache-2.0

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

tigrcorn_contract-0.3.16.dev13.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

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

tigrcorn_contract-0.3.16.dev13-py3-none-any.whl (26.6 kB view details)

Uploaded Python 3

File details

Details for the file tigrcorn_contract-0.3.16.dev13.tar.gz.

File metadata

  • Download URL: tigrcorn_contract-0.3.16.dev13.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tigrcorn_contract-0.3.16.dev13.tar.gz
Algorithm Hash digest
SHA256 cd2455e41307b1bd3af94f526977be69816cf78de320e2f1ec9252fd0b0f53bf
MD5 c71cae24290fa59a4037900447b0882f
BLAKE2b-256 1c99a915811970be2404d3d6a91c14a05836e47aed0f9f31fcd5c1b72d3506d6

See more details on using hashes here.

File details

Details for the file tigrcorn_contract-0.3.16.dev13-py3-none-any.whl.

File metadata

  • Download URL: tigrcorn_contract-0.3.16.dev13-py3-none-any.whl
  • Upload date:
  • Size: 26.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tigrcorn_contract-0.3.16.dev13-py3-none-any.whl
Algorithm Hash digest
SHA256 1d96775de2e1b8f5855feabe4a6b2c9dac27eb87d6d45d0987d640d94681bc05
MD5 d907d166c51212ae57566bd5ac3d5d63
BLAKE2b-256 c4af588e50bbc4a76d164472159a8d7f3117831b32034f577034823b1ba201bd

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