redis-tasks is a lightweight library for processing background tasks
Project description
redis-tasks
redis-tasks
is a lightweight framework created to reliably process background
tasks. Built-in SIGTERM
signal handling makes it a great choice for a task
manager running on Heroku. Out-of-the-box provided task scheduler with a
user-friendly interface makes periodic task management easy and scalable.
For more information and usage instructions, see our documentation.
Monitoring
Want to monitor redis-tasks
tasks, queues and workers? Check out rt-dashboard - a monitoring tool for redis-tasks
.
Contributing
tox is used to run the tests
and automatically sets up virtual environments to run the tests in. It
implicitly uses virtualenv.
To install tox
run
pip install tox
Make sure to install the supported python versions on your local machine.
If you don't want to install all supported python versions, you can either
explicitly specify environments you want to run tox
in or alternatively you
could run tox
with the --skip_missing_interpreters
flag.
Running tests
You can run all the tests with
tox
or run specific test environments, for example only tests on Python 3.8, with
tox -e py38
If you want to customize the pytest run, you can pass in pytest arguments
after the --
like so
tox -e py38 -- tests/test_cli.py
This will run tests only on Python 3.8 and from one module tests/test_cli.py
only.
Running linter checks
You can run flake8
checks with
tox -e flake8
flake8
checks are also run as a part of the all tests run with
tox
Building documentation locally
You can build documentation locally with
tox -e docs
The built html files will be located in docs/build/html
.
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
Built Distribution
File details
Details for the file redis-tasks-0.0.11.tar.gz
.
File metadata
- Download URL: redis-tasks-0.0.11.tar.gz
- Upload date:
- Size: 41.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 653fc52fca85dff4c531f481f869823887da3b10d7b088d4f23b86e2b14cdba8 |
|
MD5 | 465aea422b318706ce6db6c0e89f83b0 |
|
BLAKE2b-256 | 03c576d544997b8d258a0431804f055df2da29a93b63cbc084892f3a15f62a8b |
File details
Details for the file redis_tasks-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: redis_tasks-0.0.11-py3-none-any.whl
- Upload date:
- Size: 52.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3e0cd4cee23b4e1a7f639c5106459fbce0a73e72cbb9dce2a8d913208f27a81 |
|
MD5 | 91c0fca571fc65a02f874b6caf9d4e9c |
|
BLAKE2b-256 | d13eb4bd1637731dbae9edfaaa0aec6b8f5f2f4b7510fe24db42486be616b52d |