Toolkit for Python microservices: YAML configuration, JSON logging, Prometheus metrics and gRPC utilities
Project description
redup-servicekit
Python toolkit for building production-ready microservices with:
- centralized YAML configuration and environment overrides,
- structured JSON logging,
- Prometheus metrics and monitoring helpers,
- gRPC health checks and utilities (async client, server-side decorators).
Features
- Configuration:
ConfigSingletonfor loading and merging YAML configs, with environment variable overrides. - Logging: JSON console logging via
python-json-logger. - Monitoring & Metrics: Prometheus integration with counters, gauges and histograms for tasks and service stats.
- gRPC Utilities: Async gRPC client, health checks and decorators for collecting per-method metrics.
Installation
pip install redup-servicekit
License
Licensed under the MIT License. See the LICENSE file for details.
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
redup_servicekit-1.2.1.tar.gz
(19.1 kB
view details)
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 redup_servicekit-1.2.1.tar.gz.
File metadata
- Download URL: redup_servicekit-1.2.1.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6aad9c20c6106a17cc55c348404762ac400a5af51028a716cfb89cbd66db620a
|
|
| MD5 |
10ee25d97aab69992aab6b05701506da
|
|
| BLAKE2b-256 |
0da3f8a91b15f9f0433ab13f7c140bd37ca13975c584f265bf24fdaf03604b65
|
File details
Details for the file redup_servicekit-1.2.1-py3-none-any.whl.
File metadata
- Download URL: redup_servicekit-1.2.1-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e79a1ab86a42ae27076a7bd8bf90a6afe47e15617044ad1246ea37f1f4fb6ab1
|
|
| MD5 |
5ab3fa689a2d91c1f1b17a6aa0ce04c5
|
|
| BLAKE2b-256 |
f82d0c8c605610ed4884ed63ff0a857510216e883eb85473ff849428912caa11
|