hedron-native
Optional Rust acceleration for Hedron bulk HTML escaping.
Pure Python remains the semantic reference and Supported fallback. Absence of
the extension never changes public rendering semantics — hedron-core uses these
helpers when the package is installed and falls back otherwise.
Also available as the flagship extra hedron[native].
Package maturity: Beta (0.1.x) · pin >=0.1.3,<0.2 and expect churn
Install
pip install "hedron-native>=0.1.3,<0.2"
# or
uv add "hedron-native>=0.1.3,<0.2"
# via flagship extra:
pip install "hedron[native]>=1.0.0,<1.1"
Requires Python 3.10–3.14. Prebuilt wheels for the Supported matrix are built by native-wheels.yml (confirm Supported tags on PyPI);
if a wheel is unavailable, pip may build from the Rust source (requires a Rust
toolchain) or you can rely on the pure-Python path without this package.
Quick start
from hedron_native import (
escape_attr,
escape_attr_python,
escape_text,
escape_text_python,
native_available,
)
assert escape_text("<x>") == "<x>"
assert escape_attr('"') == """
# Always available, even when the extension did not load:
assert escape_text_python("<x>") == "<x>"
assert escape_attr_python('"') == """
print("native extension loaded:", native_available())
Public API
| Symbol | Role |
|---|---|
escape_text / escape_attr |
Prefer native when loaded; else Python |
escape_text_python / escape_attr_python |
Pure-Python reference |
native_available |
True when the Rust extension loaded |
__version__ |
Package version string |
Links
License
MIT. See the repository license.
Metadata
Release files for hedron-native 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hedron_native-0.1.3.tar.gz | 8.0 kB | Without provenance | Details for hedron_native-0.1.3.tar.gz |
Built distributions (wheels)
Total release size: 3.0 MB
Release files / hedron_native-0.1.3.tar.gz
| Download URL | hedron_native-0.1.3.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70df814208aa0997a117ecfbae82524b348d2e74307853a67c1a5f36c16fe562
|
|
BLAKE2b-256 checksum How to use checksums |
66c5e66eed9aa34e6f613d838a46af27adb4642ce500c86d3ab9156e905f348f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp313-cp313-win_amd64.whl
| Download URL | hedron_native-0.1.3-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 99.8 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f9b54455afe9caaa8f6ff67ae4c7429bb5c2d813d68c228bdae508287779355f
|
|
BLAKE2b-256 checksum How to use checksums |
b7be935afca87ad3166861362798fed423236dbb8af6b4408592f97d2f408ea9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hedron_native-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 229.3 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
52045f3ae56508512679e4d859fafa8a0d6862f639f09df89364ac8bdc87655f
|
|
BLAKE2b-256 checksum How to use checksums |
f7623d0ff77601c135aa941af31165386d4472fe15a0b13d0c90ef5dcb7e6783
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | hedron_native-0.1.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 220.7 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
4fb819ef3e63577d79c64b0de7f81900dc642ddc20eb239aa5f7797676f8641f
|
|
BLAKE2b-256 checksum How to use checksums |
45ffd476728b727227a3ee1288e6e19e2c49338b060b6343a57c3f253227ec6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | hedron_native-0.1.3-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 196.0 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e49d5699584b4582e593b4acc609f011e0ad3b34a9a04711b52b7c91d4460fcb
|
|
BLAKE2b-256 checksum How to use checksums |
e40a8b6356c75621a76b28fc708f795bbf87d8cd4e660902100a5c46327db512
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp312-cp312-win_amd64.whl
| Download URL | hedron_native-0.1.3-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 99.9 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
fc7fdde87d92718c65472989f22f3241abfc2d52433a7faa644832c1f8aa17d7
|
|
BLAKE2b-256 checksum How to use checksums |
35268584b83251132c7f85c81142c26ce2d48b12b8edef1ac73ef07e6dde2a12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hedron_native-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 229.2 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b2b2cc93195e9fea8e050f3cca22469487e56d08bf99c93eb2f8b0ab562d5a5e
|
|
BLAKE2b-256 checksum How to use checksums |
0ee4e7810a5eb1102d85a1ae549d5fc4cec067d211b4e59676336271856d49cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | hedron_native-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 220.7 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
2cc6413af4937354fbd6deccd879aa338cd856ee3177a1033e6852cafbb11f11
|
|
BLAKE2b-256 checksum How to use checksums |
e2bf124fb66c55e89560c6f82cd9bb04e061d6a1eea5a10e45c62f6991d92d28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | hedron_native-0.1.3-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 195.8 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ccf9a4845f18fc3764be33b8a1c67e7a3877fa76e7a99aa246ba0debbdaeca2e
|
|
BLAKE2b-256 checksum How to use checksums |
7210fb3109e0a0f3e68fa45bb5da84cc1ef05ea4a4aa75bfbde722e8245385c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp311-cp311-win_amd64.whl
| Download URL | hedron_native-0.1.3-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 100.8 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
75f7a1401993c604ffa9d38ac35cd9de0fc296228a2fd5ac607feeb9893dff76
|
|
BLAKE2b-256 checksum How to use checksums |
574812e64b341a36622fd1c43f8721f992e456407d54e72c8286edef069b00ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hedron_native-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 231.2 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
32d025ce420dc26418c10a05f5e1fc7e3e3da35837a98a1ec296318d7ea9566d
|
|
BLAKE2b-256 checksum How to use checksums |
119fecd856ebbf81efe679f05dd26520284056852098af51fe69c4576972533f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | hedron_native-0.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 222.1 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
4cc6bd889c67560e08cea86c1f11ad34177fdef8170c4719d44ef29bcffcd122
|
|
BLAKE2b-256 checksum How to use checksums |
26b0eb6f5b57cfe4d0607d0a02d02f45fde69e7dad8670465b7c93655105ee29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | hedron_native-0.1.3-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 196.9 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d96492f1a8b3af43cb01a2d9bd837c7cfcdbdceeaa122398c626824837ff8bf8
|
|
BLAKE2b-256 checksum How to use checksums |
4f15019eb7005be4446e0c61296cb44b19036dbca9b3164a8efd2786b0e0912d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp310-cp310-win_amd64.whl
| Download URL | hedron_native-0.1.3-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 100.8 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
afe97ce880ec015504a47ae9fc99b38bcbc08b4f46a1531d98109b118275fecc
|
|
BLAKE2b-256 checksum How to use checksums |
db737d8ffc09d9d1c2fc0e7e2ecd6cbb6e8c700a5455e2ea264005eca7d8db45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | hedron_native-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 231.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
2057c8d928d4ab28ff3a6a7c6df5a2cce1e9ae4e2143342bf0e7d09a098586dd
|
|
BLAKE2b-256 checksum How to use checksums |
d6457a0d0bb23aea194dba87aa9f85fa4421a567eec3e0cb5cfd0f691e64bfe5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | hedron_native-0.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 222.2 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
395ef28448deaa28bced09532da4fa0d0a29449d248b068e762485ae8ce7a33b
|
|
BLAKE2b-256 checksum How to use checksums |
123b44672c5aabff54b33a2c28f6841ee83233166ea13eb47175abd47abb88dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_native-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | hedron_native-0.1.3-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 197.3 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
57c76cb4c1bc5eabdf8b2deef55be15e13b8ed17c0989a2fe2e88b05570a4735
|
|
BLAKE2b-256 checksum How to use checksums |
7f739c0782d6b241e29a6087ae852292d92564d0ec0c5943938122e3e8043555
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for hedron-native 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.