Skip to main content

An easy and nice decorator package

Project description

deco

An easy and nice decorator package

Use:

from NiceDecorator.model import Deco_Timer

decor = Timer()

@decor
def f():
    print(1)

a = f()
print(a)

$ python 3.11.2 $
1
1.9600032828748226e-05

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

NiceDecorator-1.0.1.tar.gz (8.2 kB view hashes)

Uploaded Source

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