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.2.tar.gz
(21.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.2.tar.gz.
File metadata
- Download URL: redup_servicekit-1.4.2.tar.gz
- Upload date:
- Size: 21.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 |
c19696ad76094d536686653c028c7ce400b9e64b5d31f638abddb3f3ef704f25
|
|
| MD5 |
fcdb05e8a442f40c0cfe53f9e86c9244
|
|
| BLAKE2b-256 |
4ce89083220a1f58d3f49974d17e5232cf8e675fd2b0e09657b0556a7badd17a
|
File details
Details for the file redup_servicekit-1.4.2-py3-none-any.whl.
File metadata
- Download URL: redup_servicekit-1.4.2-py3-none-any.whl
- Upload date:
- Size: 25.8 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 |
178e2c4e9681447e8c7d04828b1cfd4431f1d701307f0d5b7596f36da0a7ca40
|
|
| MD5 |
46fd0c5c8fb19a27b77687562d4341ac
|
|
| BLAKE2b-256 |
6d20d1b6ea6f9a22e4eb18f5051b925584695cc7f1678c1d0ad0fdbc417e8051
|