Skip to main content

Authfly widgets — Jinja2 (UI8Kit 3)

Primitives from npx ui8kit@3 (CLI 3.2.1, registry 3.2.0):

npx ui8kit@3 init --yes --framework jinja2 --runtime jinja2 --dir . --registry-version 3.2.0
npx ui8kit@3 add --all --runtime jinja2 --registry-version 3.2.0
pip install "Jinja2>=3.1,<4"

Installed from PyPI (pip install authfly-jinja2), the templates ship inside the wheel as authfly_jinja2_templates and environment() finds them; in a checkout it uses this folder. Build: python -m build && twine check dist/*.

ui/ (templates) and ui8kit_jinja/ (runtime) are CLI-owned — never edit; npx ui8kit@3 check. Authfly layer: authfly_jinja/ (environment(), skin.py, lucide_icons.py), authfly/components.html.j2 (macros: card, stack, group, form, hidden, title, alert, badge, icon_badge, field, icon, head, messages), blocks/authfly-*.html.j2 (same p props as the React widgets).

from authfly_jinja import environment
html = environment().get_template("blocks/authfly-sign-in.html.j2").render(p=props)

Text is passed via props and autoescaped; children Markup is only built by the macros. Tests: python3 -m unittest discover -s tests; parity HTML: python3 tools/render.py ../react/tests/states.json /tmp/out.

Metadata

Release files for authfly-jinja2 0.4.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 authfly-jinja2 0.4.0
File Size Uploaded Provenance Actions
authfly_jinja2-0.4.0.tar.gz 35.3 kB Without provenance Details for authfly_jinja2-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for authfly-jinja2 0.4.0
File Interpreter ABI Platform Actions
authfly_jinja2-0.4.0-py3-none-any.whl Python 3 none any Details for authfly_jinja2-0.4.0-py3-none-any.whl

Total release size: 85.4 kB

Release files / authfly_jinja2-0.4.0.tar.gz

Download URL authfly_jinja2-0.4.0.tar.gz
Size 35.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7b4e35d7069088016ce068589999e8b21de244efc7618304e218d04bc2fc22c2
BLAKE2b-256 checksum
How to use checksums
e733bd581c41ad27b2e543ce5f0424a4046a26b2e569ddc02d53115876e3f5ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / authfly_jinja2-0.4.0-py3-none-any.whl

Download URL authfly_jinja2-0.4.0-py3-none-any.whl
Size 50.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef7fdad33ca3dc7af5c8977611cfc383ec87f1cde197d0fa448b2a69be3a42e5
BLAKE2b-256 checksum
How to use checksums
3d80b01f3eef0ed6c5818f919437b21416baf9ba1baa2f7cc3fd41bb89071d02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for authfly-jinja2 0.4.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.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files No provenance

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