Skip to main content

Small utility package for my projects.

Project description

Decorpack

PyPI

A small collection of reusable Python decorators and utilities.

Features

  • logger: pre-configured Python logger ready to use
  • timed: decorator to measure execution time

Installation

  pip install pedros

Quickstart

You can check the init and main files for examples.

Logger

from pedros.logger import setup_logging, get_logger

setup_logging()
logger = get_logger(__name__)

logger.info("This is an info message")

Timed

from pedros.timed import timed

@timed
def func():
    ...

License

This project is licensed under the MIT License.

Project details


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.0.2.tar.gz (25.2 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.0.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pedros-0.0.2.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pedros-0.0.2.tar.gz
Algorithm Hash digest
SHA256 669f2a724496c148fd6224c986d3dff67e7f9505103cc35ab9ed2c016de1b6e0
MD5 c10f33783f29d5c987ab4dda58ed9373
BLAKE2b-256 15d1f9d82f75d780682ec9d4fb2b3fc449d789089fbd46d8cdc8023fa44496ba

See more details on using hashes here.

Provenance

The following attestation bundles were made for pedros-0.0.2.tar.gz:

Publisher: python-publish.yml on PierreLapolla/pedros

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: pedros-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pedros-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c7739b66f68604f25a1bae4e24075c46dd400d0fdebdf2f245efdbbeb0ff5781
MD5 a50dd10fa5bb649911e5e4c304d7ff47
BLAKE2b-256 22bed1c3ed7625be697e12046b9840ea71a9c1058d7886abab3cf4d0d32a0759

See more details on using hashes here.

Provenance

The following attestation bundles were made for pedros-0.0.2-py3-none-any.whl:

Publisher: python-publish.yml on PierreLapolla/pedros

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page