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.1.tar.gz
(21.8 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.1.tar.gz.
File metadata
- Download URL: redup_servicekit-1.4.1.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
711787028bf2b76b66ee9a53e579974fbab8013dc17a1755d2122072d22bc9a6
|
|
| MD5 |
ec8295e1abe7883b657238cab4c66637
|
|
| BLAKE2b-256 |
c2a26b5e6a2b9b1772d2864689a1008b4c30f4c6434642f4e91879350b5bb040
|
File details
Details for the file redup_servicekit-1.4.1-py3-none-any.whl.
File metadata
- Download URL: redup_servicekit-1.4.1-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 |
8b221cfc93f9eb40079953ec8388b501b12b5a0d1e22ec7dc1b0ce31d0d1d84f
|
|
| MD5 |
0e236311876c0da16e56954e57614c52
|
|
| BLAKE2b-256 |
fc0b5b5052d7eb379fe2bb1e3034f8146c5d40bda36558d5f5069ef8617e7cf8
|