Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A python Function / Method delay executing system base on function Decorators.

Project Description

A python Function / Method delay executing system base on function Decorators.

Auto delay the Function execution for a certain period time. The new function will replace the older one and reset the countdown of the delay time.

GitHub: https://github.com/bazookapb/delay_decorator.git

特点

  • 兼容各种版本的python,包括python2和python3的个版本;
  • 使用方便:一个装饰器放到方法的头部即可延时执行该方法;
  • MIT 授权协议;

安装说明

代码对 Python 2/3 均兼容

  1. 全自动安装: easy_install delay_decorator 或者 pip install delay_decorator / pip3 install delay_decorator
  2. 半自动安装:先下载 https://pypi.python.org/pypi/wrapcache/ ,解压后运行 python setup.py install
  3. 手动安装:将 delay_decorator 目录放置于当前目录或者 site-packages 目录

通过 import delay_decorator 来引用

Release History

Release History

This version
History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
delay_decorator-1.0.1-py2.py3-none-any.whl (5.5 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Feb 20, 2016
delay_decorator-1.0.1.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 Source Feb 20, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting