Skip to content

v0.1.0 — Initial Release

Choose a tag to compare

@ahmadw13 ahmadw13 released this 11 Sep 17:21
· 38 commits to main since this release
e5f025e

uniscript v0.1.0

Convert normal text and mathematical/scientific notation directly into Unicode subscript and superscript characters without HTML, LaTeX, or images.

✨ Highlights

  • Smart Notation Parser (render):
    • Subscripts: render("t_insp") ➔ tᵢₙₛₚ, render("CO_2") ➔ CO₂
    • Superscripts: render("E=mc^2") ➔ E=mc², render("x^(n+1)") ➔ xⁿ⁺¹
    • Chained expressions: render("V_O2_max") ➔ VO₂ₘₐₓ
  • Greek Letter Shorthands:
    • Auto-resolves LaTeX-style shorthand names: render(r"x_\beta") ➔ xᵦ, render(r"\sigma_x") ➔ σₓ
    • All 48 Greek letters supported as shorthands.
  • Coverage & Audit Tools:
    • coverage() and check() utilities to verify which characters map to Unicode and identify fallbacks.
  • CLI Utility:
    • Pipe or run directly from the terminal: echo "t_insp" | uniscript or uniscript --coverage.
  • Quality Assurance:
    • Zero runtime dependencies.
    • Python 3.11, 3.12, 3.13 tested in CI on Node.js 24 runners.
    • 100 tests with 96% coverage.