RTQL8 a given cron expression
Project description
RTQL8
Python library for cron parsing and description generation.
Installation
pip install rtql8
Development Installation
poetry install
Usage
from rtql8 import Cron
cron = Cron("* * * * *")
print(cron.description)
Usage for CLI
rtql8 -e "* * * * *"
# Output
Every minute
Another way is using poetry run:
poetry run rtql8 -e "0 0 1,15 * ?"
# Output
At midnight, on 1st and 15th of the month
Testing
poetry run pytest
or run specific test case, for example, test_cli.py in test_cron.py:
poetry run pytest tests/test_cli.py
or
poetry run pytest tests/test_cron.py
License
MIT
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
rtql8-0.1.1.tar.gz
(7.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
rtql8-0.1.1-py3-none-any.whl
(9.0 kB
view details)
File details
Details for the file rtql8-0.1.1.tar.gz.
File metadata
- Download URL: rtql8-0.1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbb35281a3cbde56072c3b1378b77faf83230ac0a16fa8035c197e33b909e97e
|
|
| MD5 |
849c49e648787bce517a22dc4fe1fe5d
|
|
| BLAKE2b-256 |
ee8fec2e79034aeb65935402187856bc0b54ddc0abd7981167dc0f124fe72a57
|
File details
Details for the file rtql8-0.1.1-py3-none-any.whl.
File metadata
- Download URL: rtql8-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.2 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71dce5f66e59f95c141fad92ae3e326dcaabd0fef08dc4ba9cc6e7194b96ad35
|
|
| MD5 |
9c88d8783a30928bee454d6ec6a41f45
|
|
| BLAKE2b-256 |
3fe0187ddf37f216ed7208b4bc0b8b9a3c6b30b9606cc084e369d604c9f7a090
|