A simple and type-safe way of working with UTC datetimes and ISO 8601 strings.
Project description
UTC Time v0.1.2-alpha
This is a tiny utility to simplify the everyday pain of working with UTC datetimes and ISO 8601 strings in Python.
Motivation
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:
- Docs:
- License:
- Source:
- Issues:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for utctime-0.1.2a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dc0c735f40eff821d72f0439a3b64448f191f921f0fbfbe79ff8e4debe7e797 |
|
MD5 | 9b523f7ac7a8e93184d81d0ca5f58f8a |
|
BLAKE2b-256 | 97c1548643f3de90ab06c9748d3dc0a75ba49c4c1b324df770a64cf658600485 |