Skip to main content

all kinds of decorators

Project description

1. pip install decorator_libs

各种最常用的日常通用不针对具体业务的装饰器大全

包括普通任意实现的装饰器
例如单例模式 享元模式 函数结果缓存装饰器。

和非常好玩但难实现的装饰器
例如where_is_it_called和pysnooper_click_able 装饰器。

上下文管理器:
自动捕获错误的
自动统计代码片段消耗时间的
redis分布式锁上下文

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

decorator_libs-1.5.tar.gz (10.3 kB view hashes)

Uploaded Source

Built Distribution

decorator_libs-1.5-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

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