No project description provided
Project description
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
- Update docs
- Refactor code
- Flowchart Module
credits
https://bytepawn.com/python-decorators-for-data-scientists.html
Project details
Release history Release notifications | RSS feed
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.27.tar.gz
(6.3 kB
view details)
Built Distribution
File details
Details for the file python_deco-0.3.27.tar.gz
.
File metadata
- Download URL: python_deco-0.3.27.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.7 Linux/5.19.0-38-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17e02f2c068c8b54bebdf88a8939a074bd371f9c160a6b7647847d620629ffaa |
|
MD5 | 643ab010a094af403016021eae014587 |
|
BLAKE2b-256 | 8bca8298defe3678147cd9bfeaa4e3f22b4611e2584aba9445903d78952405bd |
File details
Details for the file python_deco-0.3.27-py3-none-any.whl
.
File metadata
- Download URL: python_deco-0.3.27-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.10.7 Linux/5.19.0-38-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 418a645dc596601d0113a4c6c3aa54549d7d7ac5c4f8b9b41fc16b568b258477 |
|
MD5 | c4d451a88a270dc0343485b6ffb22abe |
|
BLAKE2b-256 | 0cee0eee74b6f059d30798c060aa91c9438db4d7d1560ec42fe2566f9d40ae2f |