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