Skip to main content

flask-grpc

A grpc client for Flask.

Usage

init

channel_wrapper = ChannelWrapper(
    target="gaea-partner-python-grpc-dev-cuwmnyhgmq-uc.a.run.app:443",
    secure=True,
    credentials=grpc.ssl_channel_credentials(),
)
channel_wrapper.init_app(app)

health_stub = StubWrapper(health_pb2_grpc.HealthStub, channel_wrapper)

views

@app.route("/grpc")
def grpc_api():
    reply = health_stub.Check(health_pb2.HealthCheckRequest())
    return f"grpc response: {reply}"

Metadata

Release files for flask-grpc 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flask-grpc 0.1.1
File Size Uploaded Provenance Actions
flask-grpc-0.1.1.tar.gz 2.9 kB Without provenance Details for flask-grpc-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flask-grpc 0.1.1
File Interpreter ABI Platform Actions
flask_grpc-0.1.1-py3-none-any.whl Python 3 none any Details for flask_grpc-0.1.1-py3-none-any.whl

Total release size: 5.8 kB

Release files / flask-grpc-0.1.1.tar.gz

Download URL flask-grpc-0.1.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
776b22a6173521473cc43bb4d2478b480346f0dbec4018792c959b4daf60ed6a
BLAKE2b-256 checksum
How to use checksums
760acce8a050b0ed44dc54cc0bc8f3f9292a1434699b4547e151cc556c7abfe3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.10 Linux/5.11.0-43-generic

Release files / flask_grpc-0.1.1-py3-none-any.whl

Download URL flask_grpc-0.1.1-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
155708a924cd0b146c2305edd85b6cff4e88993179995537aaec209e2f4384fc
BLAKE2b-256 checksum
How to use checksums
044bd65676fcd63edcc1ae5aee9b244b54e24300cd16d0978889d040d86cd09e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.10 Linux/5.11.0-43-generic

Security for flask-grpc 0.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page