huey, a little task queue
Project description
a lightweight alternative.
written in python
no deps outside the standard lib, except Redis (or you can roll your own backend)
support for Django
supports:
multi-threaded task execution
scheduled execution at a given time
periodic execution, like a crontab
retrying tasks that fail
task result storage
Huey’s API
from huey import RedisHuey, crontab huey = RedisHuey('my-app', host='redis.myapp.com') @huey.task() def add_numbers(a, b): return a + b @huey.periodic_task(crontab(minute='0', hour='3')) def nightly_backup(): sync_all_data()
named after my cat:
Project details
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
huey-0.4.1.tar.gz
(691.1 kB
view details)
File details
Details for the file huey-0.4.1.tar.gz
.
File metadata
- Download URL: huey-0.4.1.tar.gz
- Upload date:
- Size: 691.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50039eff8a2c14ed4f0e2eb4cb2a256dd9634d10dac72fcf59e3118d07e42de |
|
MD5 | aaefaf34d02544ab1ace6a501e0d7e37 |
|
BLAKE2b-256 | f8e3c2d4292b89479c569fd14257415406348dda0d50804906f18dce430aa4dc |