A Python library providing utilities to simplify the integration of various GCP Cloud services like Cloud Logging, Cloud Trace, and authentication with API Gateway into your microservice applications.
This library aims to reduce the boilerplate code required for instrumenting Python microservices with essential GCP services. It provides convenient wrappers and helper functions for:
- Cloud Logging: Easily log structured data with severity levels and custom attributes.
- Cloud Trace: Automatically trace requests across your microservices, enabling distributed tracing and performance analysis.
- Authentication: Includes Flask middleware to seamlessly process authentication results from GCP API Gateway, simplifying security integration.
Installation
pip install gcp-microservice-utils
Metadata
Release files for gcp-microservice-utils 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gcp_microservice_utils-0.5.0.tar.gz | 8.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gcp_microservice_utils-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.7 kB
Release files / gcp_microservice_utils-0.5.0.tar.gz
| Download URL | gcp_microservice_utils-0.5.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b5d7519084aa9c94485d90d63c1c527be4f8e2e4a1a8427258ed4530de81c19
|
|
BLAKE2b-256 checksum How to use checksums |
784bdac6c608d776099f9abfc9808b6d4a244598e8fd6a7f5bb34484a048d9f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / gcp_microservice_utils-0.5.0-py3-none-any.whl
| Download URL | gcp_microservice_utils-0.5.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
93587c5ac4bca8f680f1ef2b5aeb7609be78a4f4219239b6b1a8b26ba0a17762
|
|
BLAKE2b-256 checksum How to use checksums |
72668769752466ea0a38c153cfa92e312fa867356e3511c81f17ce44e125f961
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|