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.18.dev1.tar.gz (31.3 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.18.dev1-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file tigrcorn_contract-0.3.18.dev1.tar.gz.

File metadata

  • Download URL: tigrcorn_contract-0.3.18.dev1.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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.18.dev1.tar.gz
Algorithm Hash digest
SHA256 d21cdba88a7b3be8ce5cd5b704f980f870b00d43df167dc7647a6be5b3c36e46
MD5 9ca4f798dc1ea49dcf12df822da93bb7
BLAKE2b-256 a97f1f2ba1137cfb6ad3fdee74b78bb5d1f1b11f90299d7aa0231fe9501554a4

See more details on using hashes here.

File details

Details for the file tigrcorn_contract-0.3.18.dev1-py3-none-any.whl.

File metadata

  • Download URL: tigrcorn_contract-0.3.18.dev1-py3-none-any.whl
  • Upload date:
  • Size: 32.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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.18.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec70ed8bb319286e79e390c5b2f56fb692110fc1b1fff7310acf7a248a63f124
MD5 6440800398bd57844fecf0130359b9b5
BLAKE2b-256 4fa82820474913e7b1dd84d01fd97bb15fb1e277e11202f1e6f125724576ebe5

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