hedron-core
hedron-core is the framework-neutral HTML renderer. It has no FastAPI, Flask, or Django
dependency.
The stable boundary is deliberately limited to the public API documented for the 1.x line; undocumented internals and Beta package surfaces are not covered by that compatibility promise.
Building an app? Install hedron instead. Use this
package if you are writing a host adapter or rendering components outside a web
framework.
Package maturity: Stable · Package line: 1.0.x · Application pin:
hedron-core>=1.0.0,<2.0
Typing: BasedPyright all mode. Commit and release CI fail on type errors and reject explicit
or inferred Any in shipped source trees.
complete hedron_core source tree.
Install
pip install "hedron-core>=1.0.0,<2.0"
# or
uv add "hedron-core>=1.0.0,<2.0"
Requires Python 3.11–3.14.
Quick start
from hedron_core import Page, RenderContext, RenderMode, Text, render
result = render(
Page(Text("Hello, Hedron"), title="Demo"),
context=RenderContext.standalone(locale="en"),
mode=RenderMode.PAGE,
)
print(result.html)
What this package includes
Model,Props,FormModel,EventPayload, andField- Trust boundary types:
Secret,TrustedHtml,SafeUrl,UrlPurpose - Component protocol, registry, diagnostics (JSON/SARIF), and deterministic identity
- Context-aware HTML serializer,
render(...) -> RenderResult, andRenderSession - Scoped CSS, themes, assets, and component discovery helpers
- Built-ins for pages, forms, layout, landmarks, and content
- Framework-neutral plugin metadata and Explorer panel registration helpers
- Portable adapter contracts (
AuthSignal, capability matrix, URL reverse request)
What it does not include
- HTTP routing or FastAPI / Flask / Django adapters
- HTMX request handling and CSRF middleware (host packages)
- CLI, Component Explorer UI, charts, or data grids
Prefer hedron for application work on FastAPI.
Links
License
MIT. See the repository license.
Metadata
Release files for hedron-core 1.2.0
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_core-1.2.0.tar.gz | 595.2 kB | Without provenance | Details for hedron_core-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hedron_core-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for hedron_core-1.2.0-py3-none-any.whl |
Total release size: 1.3 MB
Release files / hedron_core-1.2.0.tar.gz
| Download URL | hedron_core-1.2.0.tar.gz |
|---|---|
| Size | 595.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69b6dfd57c0b8f96b90ea44d0e50afa1223a90adb15b4ad8aab61e70d5627b57
|
|
BLAKE2b-256 checksum How to use checksums |
d736daac9382dd64999e3c1f4d4a801940b8cabc503e2320818e4ec7828ea498
|
| 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_core-1.2.0-py3-none-any.whl
| Download URL | hedron_core-1.2.0-py3-none-any.whl |
|---|---|
| Size | 714.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a4a42c1321019c210443d12a90ae2a9dad51daf994d733ae180e1a379417c5d
|
|
BLAKE2b-256 checksum How to use checksums |
f200922adad7e53c7cf17d015662769b014363f9f1b1c08ed4b733985d48bbb7
|
| 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-core 1.2.0
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.