Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 670 Bytes

File metadata and controls

24 lines (15 loc) · 670 Bytes

brightdate-python

Small MIT library: BrightDate scalars for Python (epoch 946_727_935_816 ms, conversions, formatting, btime bounds, ISO UTC label).

Layout

  • src/brightdate/ — package
  • tests/ — pytest (golden constants vs spec / npm)

Commands

pip install -e ".[dev]"
pytest -q
python -m build

Parity

Do not change J2000_UNIX_MS without updating the BrightDate spec and @brightchain/brightdate npm constants. Add golden tests for any conversion change.

Releases

Tag v* → PyPI via .github/workflows/publish.yml. See PUBLISH.md.