Get the latest tech news
Whenever: Typed and DST-safe datetimes for Python
โฐ Modern datetime library for Python. Contribute to ariebovenberg/whenever development by creating an account on GitHub.
Whenever helps you write correct and type checked datetime code, using well-established concepts from modern libraries in other languages. It attempts to provide a more "friendly" API than the standard library, but doesn't address the core issues: it keeps the same footguns, and its decision to reduce the number of types to just one ( arrow.Arrow) means that it's even harder for typecheckers to catch mistakes. ๐ DST-safe arithmetic ๐ก๏ธ Typesafe API prevents common bugs โ Fixes issues โ๏ธ Based on proven and familiar concepts โก๏ธ Unmatched performance ๐ Thoroughly tested and documented ๐ Support for date arithmetic โฑ๏ธ Nanosecond precision ๐ฆ Rust!โbut with a ๐ Support for the latest GIL-related improvements (experimental)
Or read this on Hacker News