Arrow is a Python library that offers a sensible, human-friendly approach to creating, manipulating, formatting and converting dates, times, and timestamps. It implements and updates the datetime type, plugging gaps in functionality, and provides an intelligent module API that supports many common creation scenarios. Simply put, it helps you work with dates and times with fewer imports and a lot less code.
Arrow is heavily inspired by moment.js and requests.
Why?
Python’s standard library and some other low-level modules have near-complete date, time and time zone functionality but don’t work very well from a usability perspective:
Too many modules: datetime, time, calendar, dateutil, pytz and more
Too many types: date, time, datetime, tzinfo, timedelta, relativedelta, etc.
Time zones and timestamp conversions are verbose and unpleasant
Time zone naivety is the norm
Gaps in functionality: ISO-8601 parsing, time spans, humanization@scottjehl I wrote a little 350k thing that's small enough to inline
Using itsdangerous (HMAC and SHA1 based signing utility lib) in another project. Thanks @mitsuhiko!
Fork that replaced Flask with Pyramid. Just playing around.
Mozilla TowTruck - realtime collaboration on any site: Comments:
pushpin, a reverse proxy for real time web, looks interesting. the backend still uses regular http requests
Automatic Timezone Detection Using JavaScript
JS Adolescence: Change of opinion regarding certain JavaScript practices
RT @LeaVerou: I made a new mini-app! Easy color contrast ratios