core-datetime#
This library provides utilities for generating time windows at HOUR, DAY, and MONTH frequencies, with full timezone support for both naive and aware datetime objects.
Documentation Contents#
Index:
Installation#
Install from PyPI using pip:
pip install core-datetime
uv pip install core-datetime # Or using UV...
pip install -e ".[dev]" # For development...
Setting Up Environment#
Install required libraries:
pip install --upgrade pip
pip install virtualenv
Create Python virtual environment:
virtualenv --python=python3.12 .venv
Activate the virtual environment:
source .venv/bin/activate
Install packages#
pip install .
pip install -e ".[dev]"
Check tests and coverage#
python manager.py run-tests
python manager.py run-coverage
Contributing#
Contributions are welcome! Please:
Fork the repository
Create a feature branch
Write tests for new functionality
Ensure all tests pass:
python manager.py run-testsRun linting:
pylint core_datetimeRun security checks:
bandit -r core_datetimeSubmit a merge request
License#
This project is licensed under the MIT License. See the LICENSE file for details.
Links#
Support#
For questions or support, please open an issue on GitLab or contact the maintainers.