Metadata-Version: 2.4
Name: pylib-daterange
Version: 0.1.0
Summary: Generate date ranges, sequences, calendars. Date range utilities.
Author: pylib-daterange
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,dates,datetime,machine-learning,ml,nlp,ranges,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

# pydaterange

Date ranges

## Installation

```bash
pip install pydaterange
```

## 💡 Usage Examples

### Basic Operations

```python
from pylib_daterange import DateRange

from datetime import datetime

# Create date range
start = datetime(2024, 1, 1)
end = datetime(2024, 1, 31)
date_range = DateRange(start, end)

# Check if date is in range
date_range.contains(datetime(2024, 1, 15))
# True
```

### AI/ML Use Cases

```python
from pylib_daterange import DateRange

# Filter training data by date range
training_range = DateRange(start_date, end_date)
filtered_data = [d for d in data if training_range.contains(d['date'])]
```

## 📚 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
