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.4.3.tar.gz
(22.9 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.4.3.tar.gz.
File metadata
- Download URL: redup_servicekit-1.4.3.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce6e87824345f4047a29c90ad10cad0a3fb4f4b6a5eeed383386ba10d4c92fcb
|
|
| MD5 |
1a05ca46a6f6678415b9b3b81d700741
|
|
| BLAKE2b-256 |
dce428aa76ea2b840afba5023e6b162f4e67d5b641764c75f45c4ebfb6e9a881
|
File details
Details for the file redup_servicekit-1.4.3-py3-none-any.whl.
File metadata
- Download URL: redup_servicekit-1.4.3-py3-none-any.whl
- Upload date:
- Size: 27.3 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 |
f09d2b8500ff0ce4205dd04f57c7b838ff0652fde6cfd2be6411926159abc838
|
|
| MD5 |
ef696e3f9636ac8aad67f7630b04e071
|
|
| BLAKE2b-256 |
bdc84a936b6991db156b8188ed277a5224c8598384ea34d378904e50186b4271
|