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.17.tar.gz (31.2 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.17-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tigrcorn_contract-0.3.17.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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.17.tar.gz
Algorithm Hash digest
SHA256 87906de8c65e24fc65f202cb4bb7fef27df8b173c6252e869dd8b04438f5b613
MD5 02d51a8c0a7ebb08694a8dea317dfd76
BLAKE2b-256 181ce45fdd052dc4315a5a6790c4084bc67a2914567fbe3122cd5ea628ea839a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tigrcorn_contract-0.3.17-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","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.17-py3-none-any.whl
Algorithm Hash digest
SHA256 ab4891a374f6ac16d29b06dea59f4eed48703eaa57e76ff4c94ea3c62d894cc2
MD5 40c5b24421cf01bf603fecc4498bfa9e
BLAKE2b-256 1de6972573e37fd61c64b519b49aa7423f2bfcee847315776146f3a5feb83027

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