Classic Aspects
This package provides convenient utils for late decorating, based on idea of aspects-oriented programming. Part of project "Classic".
Usage:
from classic.aspects import PointCut
points = PointCut()
@points.join_point
def add_numbers(left, right):
return left + right
assert add_numbers(1, 2) == 3 # Returns 3
def some_decorator(fn):
def wrapper(*args, **kwargs):
print('Function called!')
return fn(*args, **kwargs)
return wrapper
add_numbers.join(some_decorator)
assert add_numbers(1, 2) == 3 # Returns 3 and print "Function called!"
Metadata
Release files for classic-aspects 0.0.1
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 | |
|---|---|---|---|---|
| classic-aspects-0.0.1.tar.gz | 2.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| classic_aspects-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.2 kB
Release files / classic-aspects-0.0.1.tar.gz
| Download URL | classic-aspects-0.0.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1fb67f8e4de3ddd8963ab0401f630c3df8192d2b594b484511f45558ae572599
|
|
BLAKE2b-256 checksum How to use checksums |
d0f2769ede4c66dde024274ebd8ddb5ace8ce1670ddf0615e292619788f21e03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.3
|
Release files / classic_aspects-0.0.1-py3-none-any.whl
| Download URL | classic_aspects-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b2eec257f6816b3f9b58881e50c958bf40978f15721de5885a30ef5775469e36
|
|
BLAKE2b-256 checksum How to use checksums |
3db16eb9ecc0aa0f95e7981c219b51d50c6f777f1f4b73b159883f2ff0bd0206
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.3
|
Security for classic-aspects 0.0.1
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.