ora

Standalone time and date implementation for C++ and Python.

https://github.com/alexhsamuel/ora

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.5%) to scientific vocabulary

Keywords

calendar cplusplus python time time-zone
Last synced: 6 months ago · JSON representation

Repository

Standalone time and date implementation for C++ and Python.

Basic Info
  • Host: GitHub
  • Owner: alexhsamuel
  • License: other
  • Language: C++
  • Default Branch: master
  • Homepage: https://ora.readthedocs.io
  • Size: 3.47 MB
Statistics
  • Stars: 13
  • Watchers: 1
  • Forks: 1
  • Open Issues: 5
  • Releases: 2
Topics
calendar cplusplus python time time-zone
Created about 10 years ago · Last pushed 9 months ago
Metadata Files
Readme License

README.md

Documentation Status

Ora is a freestanding time and date implementation for C++ and Python.

Docs at http://ora.readthedocs.io/en/latest/.

Motivation

Many Python time libraries already exist, including the standard library datetime module.

Ora provides: - An opinionated, concise API centered around physical times. - Built-in time zones. - High performance for all operations. - Multiple widths and precisions for times and dates. - Rich C++ interoperability.

Ora is not a drop-in replacement for datetime or other Python time libraries, but supports easy interoperability.

Limitations

Ora is currently prerelease software; bugs are plentiful, and APIs are subject to change.

Scope

Similar to datetime, Ora uses the (proleptic) Gregorian calendar, for years 1 – 9999 only. Alternate calendars and B.C.E. dates are not provided. There is no support for leap seconds, relativistic effects, or astronomical times. However, time precision of 1 ns or smaller is supported.

Platform

  • Requires C++17 and Python 3.6+.
  • Tested on Linux and MacOS. Currently no Windows support.
  • Tested on x86-64 only.

Installation

Ora is distributed:

  • On PyPI, as source and Linux x64 / MacOS binary wheels: pip install ora

  • On Anaconda, as Linux x64 / MacOS conda packages: conda install -c alexhsamuel ora

  • On GitHub.

Building from source requires a C++14 compiler. See developing.md for more information.

Owner

  • Name: Alex Samuel
  • Login: alexhsamuel
  • Kind: user
  • Location: New York

GitHub Events

Total
  • Release event: 1
  • Push event: 8
  • Pull request event: 2
  • Create event: 3
Last Year
  • Release event: 1
  • Push event: 8
  • Pull request event: 2
  • Create event: 3

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 1,728
  • Total Committers: 3
  • Avg Commits per committer: 576.0
  • Development Distribution Score (DDS): 0.002
Past Year
  • Commits: 4
  • Committers: 1
  • Avg Commits per committer: 4.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Alex Samuel a****x@a****t 1,725
John Freeman j****8@g****m 2
Gregory Gundersen g****n@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 19
  • Total pull requests: 33
  • Average time to close issues: 11 months
  • Average time to close pull requests: 8 days
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 0.47
  • Average comments per pull request: 0.0
  • Merged pull requests: 32
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 5 minutes
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • alexhsamuel (16)
  • thejohnfreeman (2)
  • gusostow (1)
Pull Request Authors
  • alexhsamuel (32)
  • gwgundersen (1)
  • thejohnfreeman (1)
Top Labels
Issue Labels
bug (4) enhancement (2) duplicate (1) wontfix (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 255 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 20
  • Total maintainers: 1
pypi.org: ora

Alternative time and date library

  • Versions: 20
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 255 Last month
Rankings
Dependent packages count: 10.0%
Stargazers count: 16.0%
Average: 18.4%
Downloads: 21.6%
Dependent repos count: 21.7%
Forks count: 22.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • numpy *
setup.py pypi
  • numpy *
.github/workflows/makefile.yml actions
  • actions/checkout v3 composite
pyproject.toml pypi