Skip to main content

Alternative time and date library

Project description

Ora is a coherent and high-perforamance C++ and Python 3 library for times, dates, time zones, and related concepts. The central concept is a location-independent instant of time. Local date and time of day representations are derived from this, using the (included) zoneinfo database. Multiple resolutions are provided for all time types.

>>> import ora
>>> time = ora.now()
>>> print(time)
2017-12-26T03:47:36.41359399Z
>>> tz = ora.TimeZone("US/Eastern")
>>> (time @ tz).date
Date(2017, Dec, 25)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ora-0.2.4.tar.gz (397.9 kB view hashes)

Uploaded Source

Built Distribution

ora-0.2.4-cp36-cp36m-macosx_10_7_x86_64.whl (789.8 kB view hashes)

Uploaded CPython 3.6m macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page