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
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.0.4.tar.gz
(17.7 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.0.4.tar.gz.
File metadata
- Download URL: redup_servicekit-1.0.4.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17d0a8830816cfea70271ac773061e838c2f5eed59a5d8a1957d11a4a76ecd1e
|
|
| MD5 |
44d4850f9eb66ec44c014e4525993485
|
|
| BLAKE2b-256 |
d37c83f10dc1bd0807433078cd5bcd71f7c0dd94732fc6b0bd001bafde16c708
|
File details
Details for the file redup_servicekit-1.0.4-py3-none-any.whl.
File metadata
- Download URL: redup_servicekit-1.0.4-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49372514b8e0679e847516fdd248ba51a1e2fe07e5485dcb5ed13d99120b9979
|
|
| MD5 |
19bef6c503769d7910ebc4f0f169d130
|
|
| BLAKE2b-256 |
97b030c01b9edadafdb29f9a56cb380b7b68916b7e40abe4c75cade6a2b0ee59
|