Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A simple package that provides a single decorator for you to mark functions as tasks (routines) that should be executed on a regular schedule.

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


Download files

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

Files for routines, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size routines-0.0.2.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page