Toolkit to work with str representing ISO Week date format
Maintained. Last release 8 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install iso-week-dateISO Week Date
iso-week-date is a toolkit to work with strings representing ISO Week date in two formats, namely:
- Week format YYYY-WNN (date format %Y-W%V)
- Week date format YYYY-WNN-D (date format %Y-W%V-%u)
where YYYY represents the year, W is a string literal, NN represents the week number, and D represents the day of the week.
In a nutshell it provides:
IsoWeekandIsoWeekDateclasses that implement a series of methods to work with ISO Week (Date) formats directly, avoiding the pitfalls of going back and forth between string, date and datetime python objects.- pandas and polars functionalities (and namespaces) to work with series of ISO Week dates.