Croniter

B 81 completed
Library
containerized / python · tiny
30
Files
7,176
LOC
1
Frameworks
8
Languages

Pipeline State

completed
Run ID
#368697
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
56.70
Framework unique
Isolation
Last stage change
2026-05-10 03:35:24
Deduplication group #48546
Member of a group with 14 similar repo(s) — canonical #85146 view group →
Top concepts (2)
Project DescriptionTesting
Citation: Repobility (2026). State of AI-Generated Code. https://repobility.com/research/

AI Prompt

Create a Python library that can generate datetime iterations based on cron expressions. I need the core functionality to handle cron formats like '*/5 * * * *' or '2 4 * * mon,fri'. The library should allow users to initialize it with a cron format and a starting datetime, and then use a method like `get_next(datetime)` to retrieve subsequent matching dates. Please ensure the implementation is robust enough to handle complex rules, such as specifying the Nth day of the week or the last day of the month.
python datetime cron library scheduling time
Generated by gemma4:latest

Catalog Information

A Python library that generates datetime iterations based on cron expressions.

Description

This library provides a lightweight way to iterate over datetime objects using cron-like syntax. It parses standard cron expressions, supporting seconds, minutes, hours, day of month, month, day of week, and optional year fields. The core API exposes methods to compute the next or previous occurrence relative to a given datetime, making it ideal for scheduling tasks or generating execution windows. Developers can integrate it into task runners, cron job validators, or any system that requires precise time calculations. The library is designed for simplicity and performance, with no external dependencies beyond the Python standard library.

الوصف

توفر هذه المكتبة طريقة خفيفة الوزن لتكرار كائنات التاريخ والوقت باستخدام صيغة كرون المشهورة. تقوم بتحليل تعبيرات كرون القياسية، مع دعم لحقل الثواني والدقائق والساعات ويوم الشهر والشهر ويوم الأسبوع، بالإضافة إلى حقل السنة الاختياري. تُقدم واجهة برمجة تطبيقات أساسية تسمح بحساب الحدث التالي أو السابق بالنسبة لتاريخ ووقت محدد، ما يجعلها مثالية لتشغيل المهام أو توليد نوافذ التنفيذ. يمكن للمطورين دمجها في أدوات جدولة المهام أو في أدوات التحقق من صحة تعبيرات كرون في ملفات الإعداد. تم تصميم المكتبة لتكون بسيطة وسريعة، دون اعتماد على مكتبات خارجية سوى مكتبة بايثون القياسية. تحل المشكلة الشائعة في حساب التواريخ المتكررة يدويًا، وتوفر دقة عالية في تحديد أوقات التشغيل. تميزها هو مرونتها في التعامل مع صيغ كرون معقدة مع الحفاظ على واجهة برمجة تطبيقات واضحة وسهلة الاستخدام.

Novelty

6/10

Tags

cron-scheduling datetime-iteration time-calculation task-scheduling recurrence cron-expression-parsing time-utilities

Claude Models

claude-opus-4.6

Quality Score

B
80.9/100
Structure
87
Code Quality
80
Documentation
56
Testing
85
Practices
82
Security
100
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (200% test-to-source ratio)
  • Code linting configured (ruff (possible))
  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected
  • Containerized deployment (Docker)
  • Properly licensed project

Weaknesses

  • 113 duplicate lines detected \u2014 consider DRY refactoring
  • 1 'god files' with >500 LOC need decomposition

Security & Health

4.6h
Tech Debt (B)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (2)
Repobility — same analyzer, your code, free for public repos · /scan/
MIT
License
4.0%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
81.6%
restructuredtext
12.6%
yaml
3.5%
toml
1.7%
ini
0.3%
shell
0.2%
text
0.1%
markdown
0.0%

Frameworks

pytest

Concepts (2)

Generated by the Repobility scanner · https://repobility.com
CategoryNameDescriptionConfidence
Repobility · code-quality intelligence platform · https://repobility.com
auto_descriptionProject DescriptionIntroduction ============80%
auto_categoryTestingtesting70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/92898.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV