Metadata-Version: 2.4
Name: pylib-dateutils
Version: 0.1.0
Summary: Days-between, add/subtract, format/parse helpers. Date manipulation utilities.
Author: pylib-dateutils
License: MIT
Project-URL: Homepage, https://github.com/upendra-manike/PyLib
Project-URL: Repository, https://github.com/upendra-manike/PyLib
Project-URL: Documentation, https://github.com/upendra-manike/PyLib
Project-URL: Issues, https://github.com/upendra-manike/PyLib/issues
Keywords: ai,data-processing,data-science,date,datetime,machine-learning,ml,nlp,time,utilities
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# pydateutils

Date helpers

## Installation

```bash
pip install pydateutils
```

## 💡 Usage Examples

### Basic Operations

```python
from pylib_dateutils import days_between, add_days, format_date

from datetime import datetime

# Calculate days between dates
date1 = datetime(2024, 1, 1)
date2 = datetime(2024, 1, 15)
days = days_between(date1, date2)
# 14

# Add days to date
new_date = add_days(date1, 10)
# datetime(2024, 1, 11)

# Format date
formatted = format_date(date1, "%Y-%m-%d")
# '2024-01-01'
```

### AI/ML Use Cases

```python
from pylib_dateutils import days_between, add_days, format_date

# Calculate training duration
start_date = datetime(2024, 1, 1)
end_date = datetime(2024, 1, 20)
training_days = days_between(start_date, end_date)

# Schedule next model evaluation
last_eval = datetime.now()
next_eval = add_days(last_eval, 7)  # Weekly evaluation
```

## 📚 API Reference

See package documentation for complete API reference.


## 🤖 AI Agent Friendly

This package is optimized for AI agents and code generation tools:
- **Clear function names** and signatures
- **Comprehensive docstrings** with examples
- **Type hints** for better IDE support
- **Common use cases** documented
- **Zero dependencies** for reliability

## License

MIT
