{"id":18498392,"url":"https://github.com/aniljaiswal/cron-parser","last_synced_at":"2025-05-14T05:22:37.540Z","repository":{"id":192333004,"uuid":"686524686","full_name":"aniljaiswal/cron-parser","owner":"aniljaiswal","description":"Converts standard cron expressions into a readable table format for task scheduling","archived":false,"fork":false,"pushed_at":"2023-09-03T05:00:53.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-25T17:42:44.539Z","etag":null,"topics":["cron-expression","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aniljaiswal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-03T04:38:25.000Z","updated_at":"2023-09-03T04:47:11.000Z","dependencies_parsed_at":"2023-09-04T08:59:17.725Z","dependency_job_id":null,"html_url":"https://github.com/aniljaiswal/cron-parser","commit_stats":null,"previous_names":["aniljaiswal/cron-parser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniljaiswal%2Fcron-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniljaiswal%2Fcron-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniljaiswal%2Fcron-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniljaiswal%2Fcron-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aniljaiswal","download_url":"https://codeload.github.com/aniljaiswal/cron-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239217107,"owners_count":19601593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cron-expression","python3"],"created_at":"2024-11-06T13:39:34.465Z","updated_at":"2025-02-17T00:44:24.558Z","avatar_url":"https://github.com/aniljaiswal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cron Expression Parser\n\nThis Python program is a simple cron expression parser that converts a cron expression into a human-readable table format. \nIt takes a standard cron string with five time fields (minute, hour, day of month, month, and day of week) and a command, \nand it formats the cron expression as a table with field names in the first 14 columns and the corresponding times as \nspace-separated lists.\n\n## System Requirements\n\n- Python \u003e=3.6\n- `pipenv` Python package manager\n\n## Usage\n\nTo use this program, follow these steps:\n\n1. Clone the repository to your local machine.\n\n2. Open a terminal or command prompt in the root folder.\n\n3. Install all dependencies and active the virtual environment:\n   ```shell\n   pipenv install\n   pipenv shell\n   ```\n\n4. Install the package as a binary.\n   ```shell\n   pip install --editable .\n   ```\n\n5. Now you have access to `cron-parser` binary. Run the program with a cron expression as an argument. For example:\n\n   ```shell\n   cron-parser \"*/15 0 1,15 * 1-5 /usr/bin/find\"\n   ```\n\n   Replace `\"*/15 0 1,15 * 1-5 /usr/bin/find\"` with your own cron expression.\n\n6. The program will output the formatted cron expression as a table, like this:\n\n   ```\n   minute        0 15 30 45\n   hour          0\n   day of month  1 15\n   month         1 2 3 4 5 6 7 8 9 10 11 12\n   day of week   1 2 3 4 5\n   command       /usr/bin/find\n   ```\n\n7. You can run the tests to see if the code works correctly:\n   ```shell\n   pytest\n   ```\n\n## Features\n\n- Handles step values, range of values, any value (`*`), and lists of values for each cron field.\n- Provides clear and human-readable output with field names and corresponding time values.\n\n## Contributing\n\nIf you would like to contribute to this project, please feel free to submit issues or pull requests on the GitHub repository.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faniljaiswal%2Fcron-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faniljaiswal%2Fcron-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faniljaiswal%2Fcron-parser/lists"}