Date/time helper functions used by various Seantis packages.
Seantis doesn’t use them because we want to reason about these things, to ensure they are correct, and partly because of self-loathing.
Adding another layer makes this reasoning harder.
Run the Tests
Install tox and run it:
pip install tox tox
Limit the tests to a specific python version:
tox -e py27
Sedate follows PEP8 as close as possible. To test for it run:
tox -e pep8
Sedate uses Semantic Versioning
sedate is released under GPLv2
- Adds a weeknumber function. [href]
- Adds the ability to iterate over custom deltas between a start and an end. [href]
- Adds the ability to iterate over weeks between a start and an end. [href]
- Adds methods to align dates to months and weeks. [href]
- Adds a time parsing function which accepts anything from 00:00 to 24:00. [href]
Fixes an issue with daylight savings time and align_date_to_day.
With this change, align_date_to_day ensures that the resulting date is in the timezone the date was aligned to, not in the timezone it originally was in. [href]
- Adds a function to turn date-ish objects into datetimes. [href]
- Fix align_date_to_day failing with certain timezones. [href]
- Initial Release
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size sedate-0.3.0-py3-none-any.whl (10.5 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size sedate-0.3.0.tar.gz (7.9 kB)||File type Source||Python version None||Upload date||Hashes View|