Skip to main content

Pedros

PyPI

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pedros-0.16.1.tar.gz (76.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pedros-0.16.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file pedros-0.16.1.tar.gz.

File metadata

  • Download URL: pedros-0.16.1.tar.gz
  • Upload date:
  • Size: 76.6 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for pedros-0.16.1.tar.gz
Algorithm Hash digest
SHA256 95730933fe791a7be464245624c4adf60000ace60fa3a2448aa4533421fbda59
MD5 2cf76f61e7e73c4fa6e735e37799e4d8
BLAKE2b-256 5796c7e53eb3f18c4ece3429d0adf7ed2f47061e3df54eaf238302b56489e037

See more details on using hashes here.

File details

Details for the file pedros-0.16.1-py3-none-any.whl.

File metadata

  • Download URL: pedros-0.16.1-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for pedros-0.16.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b1a24d48cfcddf3e7a3fb8bf976c00d7f26bb3adef815b9fc186fe1a9f98524
MD5 b2830c1f5be2b5819c914c51bc08e1c6
BLAKE2b-256 1835bf85be7681c9830117a53aa203c94ad4baf648d87064fced80d1aa9f7951

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.16.1 This release

2 files

0.16.0

2 files

0.14.0

2 files

0.13.1

2 files

0.13.0

2 files

0.12.3

2 files

0.12.2

2 files

0.12.1

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page