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.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-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tigrcorn_contract-0.3.16.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.tar.gz
Algorithm Hash digest
SHA256 7aa280ed24b31e02e7afd6558a614dc0bd98537a7beeeeecdaeeea86968a20a9
MD5 9b81b5d691b32f5ebf5d0c0ed235fdf3
BLAKE2b-256 70c43c924068450fa5b43aca61f0d79206e6c2cdb98c282b915f5b3ea14618f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tigrcorn_contract-0.3.16-py3-none-any.whl
  • Upload date:
  • Size: 26.5 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-py3-none-any.whl
Algorithm Hash digest
SHA256 108f3be5c70fca35f45ac2beb8c05343c6b82c6175325ed4d6612050a4d66e27
MD5 02a4e5dc1446bf69952c5fffd38854cf
BLAKE2b-256 30a1cdc6fc3efd3b8848e88d402a32b8cfad7578f2d9d37877596031ba9a660f

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