Skip to main content

hue

A component library for Python that renders HTML. You build pages from Python objects in a chainable style, and hue renders them with htmy. The styling is Tailwind and the interactivity is Alpine.js with Alpine AJAX. The stylesheet and scripts ship inside the package, so there is no Node or Tailwind build step in your project.

from hue.ui import Button, Stack, Text

Stack().horizontal().content(
    Text("Delete this project?"),
    Button().variant("danger").content(Text("Delete")),
)

Install

The package is called hue-ui, and you import it as hue. Most projects install a framework integration, which pulls in hue-ui and serves its assets:

uv add hue-django   # Django
uv add hue-fastapi  # FastAPI

All three packages release together under the same version number.

Source, docs and issues: https://github.com/danielkjellid/hue

Metadata

Release files for hue-ui 0.0.2

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

Source distribution (sdist)

Source distribution for hue-ui 0.0.2
File Size Uploaded Provenance Actions
hue_ui-0.0.2.tar.gz 432.7 kB Without provenance Details for hue_ui-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hue-ui 0.0.2
File Interpreter ABI Platform Actions
hue_ui-0.0.2-py3-none-any.whl Python 3 none any Details for hue_ui-0.0.2-py3-none-any.whl

Total release size: 950.2 kB

Release files / hue_ui-0.0.2.tar.gz

Download URL hue_ui-0.0.2.tar.gz
Size 432.7 kB
Tags Source
SHA-256 checksum
How to use checksums
89684e3f21ae7a44f977225f5aeeaee6ef91a34f2343c3225a59df9e4dbe5ed1
BLAKE2b-256 checksum
How to use checksums
4f1f7303d2da2be0eb1a68ee5f8261954ec087f7745eb3159ffa8589a51a23cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / hue_ui-0.0.2-py3-none-any.whl

Download URL hue_ui-0.0.2-py3-none-any.whl
Size 517.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f3742cc9cda87186bf88bf2197c943e858b3e9f52e7654c6ece56023c682aae
BLAKE2b-256 checksum
How to use checksums
84c299d9610c194c16145f7384f455571d6198705de841d3988d99e78c1e8a39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for hue-ui 0.0.2

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.0.2 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