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
Full usage guide, one page per feature, with examples: pierrelapolla.github.io/pedros
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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 pedros-0.16.0.tar.gz.
File metadata
- Download URL: pedros-0.16.0.tar.gz
- Upload date:
- Size: 74.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a893dcdda1539fc1735a862cfca193a7505eafe03f2254114e2f267655272627
|
|
| MD5 |
068a0caf2e52fddefd28916838b24aa9
|
|
| BLAKE2b-256 |
d6b0fa68edd81f9169c94e4d285c307aa7b98d6dd886065161420d3e33dbad14
|
File details
Details for the file pedros-0.16.0-py3-none-any.whl.
File metadata
- Download URL: pedros-0.16.0-py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.31 {"installer":{"name":"uv","version":"0.11.31","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdf3424c0faca48e6cff3d6ede23ca57c36ba1849f712bdfbc46e7352751f303
|
|
| MD5 |
f394196752563d4956bd730225232644
|
|
| BLAKE2b-256 |
d9ab2523aeaf92f9a9f3468c6b5af10293a3e1688bd79973ac3a3b6220461284
|