Great Scott! Delorean for Datetime Manipulation in Python
summary
Delorean is a small Python library by mahdi yusuf that makes concrete datetime tasks trivial: install with pip install delorean, import delorean and get a UTC timestamp, use shift('US/Eastern') to convert zones, read .epoch, replace year/hour, or add/subtract intervals like three weeks or two minutes ten seconds. Parsing uses parse.parse for many string formats, stops yields generators for regular intervals with filters (example: Mondays), and natural language helpers like last Thursday, +30 years, and .humanized contextualize results.
AI-written summary · about
chapters (4)
related talks
18mManaging Time like a Time Lord: It's bigger on the inside
26mIt's about time
45mTimes and dates in Pandas
32mIt's about time
27mThe time paradox: Building Timezone-safe python/django applications.
50mDrive-in Double-header: Datetimes and Log analysis
41mimport time_travel: A Primer on Timezones in Python
26mHandling Timezones in Python
