This is a tiny utility to simplify the everyday pain of working with UTC datetimes and ISO 8601 strings in Python.
- Easy: create UTC datetimes without thinking about it.
- Type-safe: don't accidentally mix and match UTC with non-UTC or naive datetimes.
- ISO 8601: convert to and from ISO 8601 datetimes with ease (and use Z as the timezone instead of +00:00).
- Safe Format: don't accidentally convert to anything else.
- Flexible Parsing: parses various ISO 8601 formats - with/without microseconds and/or with Z or +HH:MM timezones.
- No Dependencies. we don't need to pull in pytz just for UTC.
- Interoperate: with regular datetime objects where necessary.
- Familiar: similar names and conventions to working with datetime.
Checkout the docs link below for more information.
Install: | PyPi |
---|---|
Docs: | Read The Docs |
License: | MIT |
Source: | GitHub |
Issues: | GitHub Issues |