gRPC reflection for connectrpc
Project description
connectrpc-grpcreflect
gRPC reflection services to support tools such as buf curl
that query servers without knowing their schema.
The services are standard Connect services that you use as normal.
Example
from typing import cast
from connectrpc_grpcreflect import (
ServerReflectionASGIApplication,
ServerReflectionService,
)
from starlette.applications import Starlette
from starlette.routing import Mount
from starlette.types import ASGIApp
from .gen.connectrpc.eliza.v1 import eliza_pb
from .gen.connectrpc.eliza.v1.eliza_connect import ElizaServiceASGIApplication
from .service import ElizaService
eliza_app = ElizaServiceASGIApplication(ElizaService())
reflection_app = ServerReflectionASGIApplication(
ServerReflectionService(eliza_pb.desc())
)
app = Starlette(
routes=[
Mount(eliza_app.path, cast(ASGIApp, eliza_app)),
Mount(reflection_app.path, cast(ASGIApp, reflection_app)),
]
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file connectrpc_grpcreflect-0.1.0.tar.gz.
File metadata
- Download URL: connectrpc_grpcreflect-0.1.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59927053be6d202651a19d6e6f45a6aed278aaf28a0d79f9781920515ae11c79
|
|
| MD5 |
64eb21850642cfa5c2e0f91047e24c5d
|
|
| BLAKE2b-256 |
f29e8acaf2ae1303d86a272b0a5b3a840d83fd101f13ce0c800adabb121337c9
|
Provenance
The following attestation bundles were made for connectrpc_grpcreflect-0.1.0.tar.gz:
Publisher:
release-grpcreflect.yaml on connectrpc/connect-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
connectrpc_grpcreflect-0.1.0.tar.gz -
Subject digest:
59927053be6d202651a19d6e6f45a6aed278aaf28a0d79f9781920515ae11c79 - Sigstore transparency entry: 2134159318
- Sigstore integration time:
-
Permalink:
connectrpc/connect-py@537d43b42aa45154710d9fcc67b633b093b35c6b -
Branch / Tag:
refs/tags/connectrpc-grpcreflect/v0.1.0 - Owner: https://github.com/connectrpc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-grpcreflect.yaml@537d43b42aa45154710d9fcc67b633b093b35c6b -
Trigger Event:
push
-
Statement type:
File details
Details for the file connectrpc_grpcreflect-0.1.0-py3-none-any.whl.
File metadata
- Download URL: connectrpc_grpcreflect-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36eda232de0f548a1232d8a6938e60e6e692422d828405093656d879c12d82a7
|
|
| MD5 |
67c6d3f61a6e50970e13dcbe3dc82947
|
|
| BLAKE2b-256 |
92807abe9bbc9dabf0cdb91009d69dc0b7f9308d3e777893d6cf8f397041ade6
|
Provenance
The following attestation bundles were made for connectrpc_grpcreflect-0.1.0-py3-none-any.whl:
Publisher:
release-grpcreflect.yaml on connectrpc/connect-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
connectrpc_grpcreflect-0.1.0-py3-none-any.whl -
Subject digest:
36eda232de0f548a1232d8a6938e60e6e692422d828405093656d879c12d82a7 - Sigstore transparency entry: 2134159539
- Sigstore integration time:
-
Permalink:
connectrpc/connect-py@537d43b42aa45154710d9fcc67b633b093b35c6b -
Branch / Tag:
refs/tags/connectrpc-grpcreflect/v0.1.0 - Owner: https://github.com/connectrpc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-grpcreflect.yaml@537d43b42aa45154710d9fcc67b633b093b35c6b -
Trigger Event:
push
-
Statement type: