decorator-libs


Namedecorator-libs JSON
Version 1.5 PyPI version JSON
download
home_pageNone
Summaryall kinds of decorators
upload_time2024-04-16 05:36:56
maintainerydf
docs_urlNone
authorbfzs
requires_pythonNone
licenseBSD License
keywords pysnooper decorator
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## 1. pip install decorator_libs

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

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

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

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


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "decorator-libs",
    "maintainer": "ydf",
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": "m13148804508@163.com",
    "keywords": "pysnooper, decorator",
    "author": "bfzs",
    "author_email": "m13148804508@163.com",
    "download_url": "https://files.pythonhosted.org/packages/e6/57/cf8b9261af9980e8f2d651e4b766b0920369d191a9d070b27b5d266df117/decorator_libs-1.5.tar.gz",
    "platform": "all",
    "description": "## 1. pip install decorator_libs\r\n\r\n```\r\n\u5404\u79cd\u6700\u5e38\u7528\u7684\u65e5\u5e38\u901a\u7528\u4e0d\u9488\u5bf9\u5177\u4f53\u4e1a\u52a1\u7684\u88c5\u9970\u5668\u5927\u5168\r\n\r\n\u5305\u62ec\u666e\u901a\u4efb\u610f\u5b9e\u73b0\u7684\u88c5\u9970\u5668\r\n\u4f8b\u5982\u5355\u4f8b\u6a21\u5f0f \u4eab\u5143\u6a21\u5f0f \u51fd\u6570\u7ed3\u679c\u7f13\u5b58\u88c5\u9970\u5668\u3002\r\n\r\n\u548c\u975e\u5e38\u597d\u73a9\u4f46\u96be\u5b9e\u73b0\u7684\u88c5\u9970\u5668\r\n\u4f8b\u5982where_is_it_called\u548cpysnooper_click_able \u88c5\u9970\u5668\u3002\r\n\r\n\u4e0a\u4e0b\u6587\u7ba1\u7406\u5668\uff1a\r\n\u81ea\u52a8\u6355\u83b7\u9519\u8bef\u7684\r\n\u81ea\u52a8\u7edf\u8ba1\u4ee3\u7801\u7247\u6bb5\u6d88\u8017\u65f6\u95f4\u7684\r\nredis\u5206\u5e03\u5f0f\u9501\u4e0a\u4e0b\u6587\r\n```\r\n\r\n",
    "bugtrack_url": null,
    "license": "BSD License",
    "summary": "all kinds of decorators",
    "version": "1.5",
    "project_urls": null,
    "split_keywords": [
        "pysnooper",
        " decorator"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "476ce542ccc169488e389ca97addff90ec8d9f7c28956801efc430dd55e05045",
                "md5": "4bc18ebe33dc7442deee39ff234242d6",
                "sha256": "473e10e09112bca3837485f90bee2d54ea0841bd8f8ae9829a145319509acae3"
            },
            "downloads": -1,
            "filename": "decorator_libs-1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4bc18ebe33dc7442deee39ff234242d6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 11379,
            "upload_time": "2024-04-16T05:36:54",
            "upload_time_iso_8601": "2024-04-16T05:36:54.507134Z",
            "url": "https://files.pythonhosted.org/packages/47/6c/e542ccc169488e389ca97addff90ec8d9f7c28956801efc430dd55e05045/decorator_libs-1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e657cf8b9261af9980e8f2d651e4b766b0920369d191a9d070b27b5d266df117",
                "md5": "b798a3c07cd761035e3be51eb62ec6b4",
                "sha256": "fcedcb7c7ae500a8e94e237a73911c87c80b38bd1253df054ae3869dd9e0f9f3"
            },
            "downloads": -1,
            "filename": "decorator_libs-1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "b798a3c07cd761035e3be51eb62ec6b4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 10316,
            "upload_time": "2024-04-16T05:36:56",
            "upload_time_iso_8601": "2024-04-16T05:36:56.327473Z",
            "url": "https://files.pythonhosted.org/packages/e6/57/cf8b9261af9980e8f2d651e4b766b0920369d191a9d070b27b5d266df117/decorator_libs-1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-16 05:36:56",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "decorator-libs"
}
        
Elapsed time: 0.93075s