An easy and nice decorator package
Project description
deco
An easy and nice decorator package
Use:
from deco.mode import Timer
decor = Timer()
@decor
def f():
print(1)
a = f()
print(a)
$ python 3.11.2 $
1
1.9600032828748226e-05
Path:
deco/
__init__.py
class EMPTY
function PASS
function FUNCTION
local get_path
decorator.py
class Base_Deco
group Deco_for_function:
class Deco_Function
class Deco_aFunction
class Deco_iFunction
class Deco_wFunction
group Deco_for_class:
class Deco_Class
class Deco_aClass
class Deco_iClass
group Deco_Union
class Deco_Union
mode.py
group function:
class Deco_Check
class Deco_Expand
class Deco_Timer
group class:
class Deco_StrOpti
objective.py
function Len_Dict
function STRING
function INTEGER
function LIST
separator.py
function linesep
function timesep
set_param.py
function getparam
function setparam
timecount.py
group time_count
function time_start
function time_end
group time_count_ns
function time_start_ns
function time_end_ns
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
NiceDecorator-1.0.0.tar.gz
(8.3 kB
view hashes)