Pedros
A small package of reusable Python utilities for Python projects.
Features
- Dependency Management: Smart detection of optional dependencies (rich, tqdm)
- Logging: Simplified logging setup with optional Rich support
- Progress Bars: Unified progress bar API with multiple backends
- Decorators: Robust decorators for timing (
@timed), error handling (@safe), and call tracing (@trace), or all combined with@monitor - Type Safe: Comprehensive type hints and PEP 561 compliance
Installation
pip install pedros
OR
uv add pedros
rich and tqdm are optional and auto-detected at runtime. Install either
yourself to get the enhanced logging/progress-bar backend.
Documentation
pierrelapolla.github.io/pedros — a Guide page per feature with runnable examples, plus a single API Reference page listing every public signature.
License
This project is licensed under the MIT License.
Contributing
Contributions are welcome! See CONTRIBUTING.md for dev environment setup.
Support
For questions or support, please open a GitHub issue.
Metadata
Release files for pedros 0.16.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pedros-0.16.1.tar.gz | 76.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pedros-0.16.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 91.9 kB
Release files / pedros-0.16.1.tar.gz
| Download URL | pedros-0.16.1.tar.gz |
|---|---|
| Size | 76.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95730933fe791a7be464245624c4adf60000ace60fa3a2448aa4533421fbda59
|
|
BLAKE2b-256 checksum How to use checksums |
5796c7e53eb3f18c4ece3429d0adf7ed2f47061e3df54eaf238302b56489e037
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pedros-0.16.1-py3-none-any.whl
| Download URL | pedros-0.16.1-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b1a24d48cfcddf3e7a3fb8bf976c00d7f26bb3adef815b9fc186fe1a9f98524
|
|
BLAKE2b-256 checksum How to use checksums |
1835bf85be7681c9830117a53aa203c94ad4baf648d87064fced80d1aa9f7951
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|