Skip to main content

No project description provided

Project description

python Decoractor
Documentation Status

An OSS that has something to do with decorators in python

:sparkles: Features

  • Time related decorators
  • Debugging decorators
  • Custom cli input decorators

:hammer: Install

To install, run the following command.

$ pip install python-deco

:package: Modules

  • Info: Decorators that provide information about the function.

  • Debug: Decorators that help debug the function.

  • CLI: Decorators that uses variables defined in a [yaml/json] file as function arugments.

  • Fun: Decorators just for FUN!

:books: Usage

A quick usage example.

@timeit

from pyDeco.dev import inactive
from pyDeco.time import timeit

@timeit
def func():
    # do something
    return 1
2023-02-17 00:05:09,721 [INFO ] Function func() took 2.0120s.

:construction: TODO

credits

https://bytepawn.com/python-decorators-for-data-scientists.html

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

python_deco-0.3.26.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

python_deco-0.3.26-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file python_deco-0.3.26.tar.gz.

File metadata

  • Download URL: python_deco-0.3.26.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for python_deco-0.3.26.tar.gz
Algorithm Hash digest
SHA256 3c29883e872d72a28897a8d9d3ea9753a80fd766a54ce5abf67967208443cf9d
MD5 caeb3db66ce992aac588e15c6f574f8c
BLAKE2b-256 ce064a211e589bfc583af6bc351231e7f533f90791a6862e114a2fd88f8da097

See more details on using hashes here.

File details

Details for the file python_deco-0.3.26-py3-none-any.whl.

File metadata

File hashes

Hashes for python_deco-0.3.26-py3-none-any.whl
Algorithm Hash digest
SHA256 7ee60b1db1bffe71dab94d8195bef9d09fc46cfcb7700b4921511caa1818f490
MD5 e52d7392824136e0d5ec76db8d5a6d07
BLAKE2b-256 7cca71d6854b580e854b9557eab32b94a8ad543be416e6411f526601791d02aa

See more details on using hashes here.

Supported by

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