Easy_Decorator
Simply make decorators with a before and after function.
Included Files
easyDecorator/easyDecorator.py - Make decorators with a before and after function
Installation
Python must be installed in order for Menu to be imported. Install python at https://www.python.org/download/. In the terminal type “cd path/to/this/directory” and then “python setup.py install”. This will add the menu module to your site-packages.
How to Use
Import eastDecorator:
from easyDecorator import easyDecorator as dec
or:
import easyDecorator.easyDecorator as dec
Make a decorator with before/after functions:
newDecorator = dec.decorator(before=beforeFunction,after=afterFunction)
@newDecorator
def someFunc():
pass
Decorate a function that doesn’t accept arguments so that it can:
@dec.giveArgs
def funcWithoutArgs():
pass
Metadata
Release files for Easy_Decorator 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Easy_Decorator-1.2.tar.gz | 1.3 kB | Without provenance | Details for Easy_Decorator-1.2.tar.gz |
Release files / Easy_Decorator-1.2.tar.gz
| Download URL | Easy_Decorator-1.2.tar.gz |
|---|---|
| Size | 1.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d84fe01c1b3d49a5dfe4d5ced51fc09f9db353d79e975160dd8f73e3f372202
|
|
BLAKE2b-256 checksum How to use checksums |
c7c529be459be1bd2c25c40db4e5b1359afe95967a3c1f0ad44c61d91d664782
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for Easy_Decorator 1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.