Welcome to Routines!
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.
Metadata
Release files for routines 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| routines-0.0.2.tar.gz | 2.2 kB | Without provenance | Details |
Release files / routines-0.0.2.tar.gz
| Download URL | routines-0.0.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b39718eaad72cfc010be411c1e0be5a212eca9b60d847777bca7f2f7a54608f2
|
|
BLAKE2b-256 checksum How to use checksums |
85acf9c606a7790beff05a5fe138230064d37013930044533dc1cc3ffd4493ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for routines 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.