Skip to main content

uniscript-rs

Python bindings (PyO3) of the Rust reference implementation of uniscript: ASCII names for Unicode text (<:alpha> → α, <:fracture A> → 𝔄) and back. The entity index is compiled in. Same API as the pure Python package uniscript-py, about 6× faster on documents; both are imported as uniscript, so install only one of them.

pip install uniscript-rs
import uniscript
uniscript.to_unicode("<:alpha> <:fracture A>")   # 'α 𝔄'
uniscript.to_uniscript("α 𝔄")                    # '<:alpha> <:fracture A>'

Offsets are UTF-8 byte offsets; conversion is lenient by default (errors become warnings and the faulty uniscript stays as written). python3 -m uniscript is the command line. Build: ./build.sh (maturin, abi3 wheel for Python ≥ 3.9), tests: ./test.sh.

Metadata

Release files for uniscript-rs 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uniscript-rs 1.0.0
File Size Uploaded
uniscript_rs-1.0.0.tar.gz 1.7 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for uniscript-rs 1.0.0
File Interpreter ABI Platform
uniscript_rs-1.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
uniscript_rs-1.0.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
uniscript_rs-1.0.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl CPython 3.9 abi3 macOS 10.12+ x86-64, macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64 Details

Total release size: 10.3 MB

Release files / uniscript_rs-1.0.0.tar.gz

Download URL uniscript_rs-1.0.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
df7b8c526b8181b39fbe94d378e5b29b5a9fbab6676ef839a2a5e6445b6af9e9
BLAKE2b-256 checksum
How to use checksums
643858604e213adbc882785be1962118aeeb48ca65854c4ce2daff29c24f4488
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / uniscript_rs-1.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL uniscript_rs-1.0.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.7 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
55786db8f5ffcc3684cde6680f8a6a124f65626df8af7279b77d7a95c7c8203a
BLAKE2b-256 checksum
How to use checksums
abd3e8ae87e987e57e9186f955db462f42ee0d1511e6660cb7edbe5b233f65ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / uniscript_rs-1.0.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL uniscript_rs-1.0.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.7 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
453096bb9b950e458a67271e38ca5d31eb9df36197beb9ed0f7326395b69d094
BLAKE2b-256 checksum
How to use checksums
f03c6e41ea333abccd4028213e8297895cdf6284a526c3a45fbccec8a4fb30e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / uniscript_rs-1.0.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL uniscript_rs-1.0.0-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 3.3 MB
Tags CPython 3.9 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4ebaf710f94ee80aee45282596866240baa31e43a7ce4e98ae2b0d58d1c09f01
BLAKE2b-256 checksum
How to use checksums
ff13231dcc5716ae41c4fe6e1b7b105acce6df85a874a3f287d238a3b9b6d99e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

1.0.0 This release

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page