hoocron-plugin-redis
Redis support for Hoocron. Hoocron is cron with hooks.
Installation
pip3 install hoocron-plugin-redis
Example simple usage
Start hoocron with redis plugin, configure --redis:
$ hoocron.py --redis TICK
Loading hoocron_plugin.cron
Loading hoocron_plugin.http
Loading hoocron_plugin.redis
connect to redis over network: localhost:6379
started redis thread, watch list 'hook'
Now send hook name to list 'hook' (we will use redis-cli for this):
127.0.0.1:6379> LPUSH hook TICK
(integer) 1
hoocron will run job TICK in less then 1 second (default sleep period)
Other options
--redis JOB [JOB ...]
Jobs to bind with redis hook
--redis-url REDIS_URL Path to redis def: redis://localhost:6379/0
--redis-list KEY name of redis key to trigger jobs. def: hook
--redis-url could be set from environment variable REDIS_URL
Metadata
Release files for hoocron-plugin-redis 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hoocron_plugin_redis-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / hoocron_plugin_redis-0.0.4-py3-none-any.whl
| Download URL | hoocron_plugin_redis-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e9006f3effd45984ee51582e3b8594367540bebcc446c375aad69e978a5fd17
|
|
BLAKE2b-256 checksum How to use checksums |
c8e3ce81bece5476404c77441a0e73ec87b928349630a8b7e21ac9ab9aafdcfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2
|
Security for hoocron-plugin-redis 0.0.4
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.