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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file decorator_libs-1.5.tar.gz.

File metadata

  • Download URL: decorator_libs-1.5.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for decorator_libs-1.5.tar.gz
Algorithm Hash digest
SHA256 fcedcb7c7ae500a8e94e237a73911c87c80b38bd1253df054ae3869dd9e0f9f3
MD5 b798a3c07cd761035e3be51eb62ec6b4
BLAKE2b-256 e657cf8b9261af9980e8f2d651e4b766b0920369d191a9d070b27b5d266df117

See more details on using hashes here.

File details

Details for the file decorator_libs-1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for decorator_libs-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 473e10e09112bca3837485f90bee2d54ea0841bd8f8ae9829a145319509acae3
MD5 4bc18ebe33dc7442deee39ff234242d6
BLAKE2b-256 476ce542ccc169488e389ca97addff90ec8d9f7c28956801efc430dd55e05045

See more details on using hashes here.

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