Rivora Contract Protocol (RCP)
RCP defines a common contract between applications, frameworks, and servers, so each can be built and updated separately. It describes how HTTP requests, WebTransport sessions, application lifecycles, and protocol events are represented through scopes, receive events, and send events.
It is optimized around HTTP/3 and QUIC and Webtransport over HTTP/3
Install
pip install rivora-rcp
Quick start
from rcp import HTTPResponseEventType
async def app(scope, receive, send):
await send({"type": HTTPResponseEventType.START, "status": 200})
await send(
{
"type": HTTPResponseEventType.BODY,
"body": b"Hello from RCP",
"more_body": False,
}
)
RCP applications are asynchronous callables that receive a scope, receive, and send. Servers provide these values and translate RCP events to and from the underlying transport.
Protocol versions
| Version | Capabilities |
|---|---|
1.0 |
HTTP/3, QUIC, lifespan, and extensions |
2.0 |
Version 1.0 plus WebTransport |
The RCP protocol version is separate from the Python package version.
To learn more about rcp, please read the documentation.
RCP is licensed under the MIT License.
RCP draws on application interface and lifecycle conventions established by ASGI, while extending them for an HTTP/3-first protocol and WebTransport. RCP is an independent project and is not affiliated with or endorsed by the ASGI project or its maintainers. Read the acknowledgments for details.
Metadata
Release files for rivora-rcp 2.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rivora_rcp-2.0.10.tar.gz | 9.1 kB | With provenance | Details for rivora_rcp-2.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rivora_rcp-2.0.10-py3-none-any.whl | Python 3 | none | any | Details for rivora_rcp-2.0.10-py3-none-any.whl |
Total release size: 20.5 kB
Release files / rivora_rcp-2.0.10.tar.gz
| Download URL | rivora_rcp-2.0.10.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cdf2061bac64f8415ecbd51d7b3160cc4c16c01be000de93ad3e32209551ff2
|
|
BLAKE2b-256 checksum How to use checksums |
4c743603e6b8c8fec14892dea04e04faf17f5cc2459803931fdbf27c672df35b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logRelease files / rivora_rcp-2.0.10-py3-none-any.whl
| Download URL | rivora_rcp-2.0.10-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc55ef002dbc40dd3c67698716e58dd4f7fc06912da520aceec3dc58ea86947b
|
|
BLAKE2b-256 checksum How to use checksums |
0074cdb08f0a4b2f690636f4d94e7178daaecfe6e05f1dd5741d23abf35b6d0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logSecurity for rivora-rcp 2.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rivora_rcp-2.0.10.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.