Skip to main content

py-grpc-profile

Profile the grpc server.
Provide a grpc interceptor to profile each request in the cProfile module.

build

Installation

$ pip install -U py-grpc-profile

Example

Load the module and set the interceptors.

from concurrent import futures

import grpc
from py_grpc_profile.server.interceptor import ProfileInterceptor

# ...

server = grpc.server(
    futures.ThreadPoolExecutor(max_workers=10),
    interceptors=[ProfileInterceptor()],
)

# ...

The complete code is available in example. You can find more details there.

License

License

Metadata

Release files for py-grpc-profile 0.1.3

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

Source distribution (sdist)

Source distribution for py-grpc-profile 0.1.3
File Size Uploaded Provenance Actions
py-grpc-profile-0.1.3.tar.gz 7.6 kB Without provenance Details for py-grpc-profile-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-grpc-profile 0.1.3
File Interpreter ABI Platform Actions
py_grpc_profile-0.1.3-py3-none-any.whl Python 3 none any Details for py_grpc_profile-0.1.3-py3-none-any.whl

Total release size: 17.0 kB

Release files / py-grpc-profile-0.1.3.tar.gz

Download URL py-grpc-profile-0.1.3.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bf4be67a049307bf1b21659442e38d573663e46ccd2c26a0f6d0e7ce4048d24c
BLAKE2b-256 checksum
How to use checksums
07dd6d6156259317781dbbcbc832eb267b4e008ef50b73495267cadbbf23681a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/3.8.8 Linux/5.4.0-1040-azure

Release files / py_grpc_profile-0.1.3-py3-none-any.whl

Download URL py_grpc_profile-0.1.3-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e0118d9cb2ecbea2293441e807717d1c8c707027886082d331a26a9e222d3a2
BLAKE2b-256 checksum
How to use checksums
93eafe2bf93a3a25d97d7faea4c9fdc62640127ca457a7c9a6a15697a302819f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.5 CPython/3.8.8 Linux/5.4.0-1040-azure

Security for py-grpc-profile 0.1.3

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.

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