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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tigrcorn_contract-0.3.17.dev1.tar.gz
  • Upload date:
  • Size: 31.3 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.dev1.tar.gz
Algorithm Hash digest
SHA256 c172f0affa18fd2a05fdd623e85631c800c851f21f33dbb9c958e65875ac79b5
MD5 49ffc7b2292e93e72b4991598704252f
BLAKE2b-256 b8be565a7b2163247d1d88401c9c107064ace13c9342ba3d00ff253cacdb4406

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tigrcorn_contract-0.3.17.dev1-py3-none-any.whl
  • Upload date:
  • Size: 32.2 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.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 451b4e65a0de0e0bf1064ba5108d6706e6fe3cb244a0596ca207353a20a1ebf4
MD5 80b9d23e640700a74df1d1957f033e6c
BLAKE2b-256 4f950c06535b7d6a755146827b58b11958937da77c06594f1a14c538fe0e27b8

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