routines 0.0.2
pip install routines
Latest version
Released:
A simple package that provides a single decorator for you to mark functions as tasks (routines) that should be executed on a regular schedule.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License (GPL) (GPL)
- Author: Jonathan Enzinna
- Tags recurrence, reoccuring, routines, routine, tasks
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Topic
Project description
Routines is a simple package that provides a single decorator for you to mark functions as tasks (routines) that should be executed on a regular schedule.
To use, simply do the following:
from routines import Routine @Routine(60) def my_routine_task(b): print b my_routine_task('Hello!') my_routine_task('Yay!')
As a result of the above, “Hello!” and “Yay!” will print every 60 seconds.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License (GPL) (GPL)
- Author: Jonathan Enzinna
- Tags recurrence, reoccuring, routines, routine, tasks
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Topic
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
File details
Details for the file routines-0.0.2.tar.gz
.
File metadata
- Download URL: routines-0.0.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b39718eaad72cfc010be411c1e0be5a212eca9b60d847777bca7f2f7a54608f2 |
|
MD5 | fd2eedb2935c2a3993766a2d78cfb77c |
|
BLAKE2b-256 | 85acf9c606a7790beff05a5fe138230064d37013930044533dc1cc3ffd4493ae |