python-cron-descriptor
Port variant v13
Summary Cron expression converter library (3.13)
Package version 2.0.6
Homepage https://github.com/Salamek/cron-descriptor
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 04 FEB 2026, 12:37:25 UTC
Port created 04 FEB 2026, 12:37:25 UTC
Subpackage Descriptions
single # Cron Descriptor [Python tests] [Donate] A Python library that converts cron expressions into human readable strings. Ported to Python from https://github.com/bradyholt/cron-expression-descriptor. **Author**: Adam Schubert (https://www.salamek.cz) **Original Author & Credit**: Brady Holt (http://www.geekytidbits.com) **License**: [MIT] ## Features * Supports all cron expression special characters including * / , - ? L W, # * Supports 5, 6 (w/ seconds or year), or 7 (w/ seconds and year) part cron expressions * Provides casing options (Sentence, Title, Lower, etc.) * Localization with support for ~31 languages * Supports Python 3.9 - 3.13 ## Installation Using PIP ```bash pip install cron-descriptor ``` ## Usage example ### Simple ```python from cron_descriptor import get_description, ExpressionDescriptor print(get_description("* 2 3 * *")) #OR print(str(ExpressionDescriptor("* 2 3 * *"))) ``` ### Advanced ```python # Consult Options.py/CasingTypeEnum.py/DescriptionTypeEnum.py for more info from cron_descriptor import Options, CasingTypeEnum, DescriptionTypeEnum, ExpressionDescriptor descriptor = ExpressionDescriptor( expression = "*/10 * * * *", casing_type = CasingTypeEnum.Sentence, use_24hour_time_format = True ) # GetDescription uses DescriptionTypeEnum.FULL by default: print(descriptor.get_description()) print(f"{descriptor = }") # Or passing Options class as second argument: options = Options() options.casing_type = CasingTypeEnum.Sentence options.use_24hour_time_format = True descriptor = ExpressionDescriptor("*/10 * * * *", options) print(descriptor.get_description(DescriptionTypeEnum.FULL)) ``` ## Languages Available | Language | Locale Code | Contributor | |---------------------|-------------|---------------------------------------------------------| | English | en | [Brady Holt] | | Chinese Simplified | zh_CN | [Star Peng] | | Chinese Traditional | zh_TW | [Ricky Chiang] | | Czech | cs_CZ | [Adam Schubert] | | Danish | da_DK | [Rasmus Melchior Jacobsen] | | Dutch | nl_NL | [TotalMace] | | Finnish | fi_FI | [Mikael Rosenberg] | | French | fr_FR | [Arnaud TAMAILLON] | | German | de_DE | [Michael Schuler] | | Hebrew | he_IL | [Ariel Deil] | | Hungarian | hu_HU | [Varga Miklós] | | Italian | it_IT | [rinaldihno] | | Japanese | ja_JP | [Tho Nguyen] | | Korean | ko_KR | [KyuJoo Han] | | Norwegian | nb_NO | [Siarhei Khalipski]| | Persian | fa_IR | [A. Bahrami] | | Polish | pl_PL | [foka] | | Portuguese | pt_PT | [Renato Lima] | | Portuguese (Brazil) | pt_BR | [Renato Lima] | | Romanian | ro_RO | [Illegitimis] | | Russian | ru_RU | [LbISS] | | Slovenian | sl_SI | [Jani Bevk] | | Spanish | es_ES | [Ivan Santos] | | Spanish (Mexico) | es_MX | [Ion Mincu] | | Swedish | sv_SE | [Åke Engelbrektson] | | Vietnamese | vi_VN | [Nguyen Duc Son] | | Turkish | tr_TR | [Mustafa SADEDİL] | | Tamil | ta_IN | [Sankar Hari] | | Ukrainian | uk_UA | [Taras] |
Configuration Switches (platform-specific settings discarded)
PY313 ON Build using Python 3.13 PY314 OFF Build using Python 3.14
Package Dependencies by Type
Build (only) python313:dev:std
python-pip:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
Runtime (only) python-typing-extensions:single:v13
Download groups
main mirror://PYPIWHL/21/cc/361326a54ad92e2e12845ad15e335a4e14b8953665007fb514d3393dfb0f
Distribution File Information
3a1c0d837c0e5a32e415f821b36cf758eb92d510e6beff8fbfe4fa16573d93d6 74446 python-src/cron_descriptor-2.0.6-py3-none-any.whl
Ports that require python-cron-descriptor:v13
python-django-celery-beat:v13 Database-backed Periodic Tasks (3.13)