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

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.1
File Size Uploaded Provenance Actions
hue_ui-0.0.1.tar.gz 421.4 kB Without provenance Details for hue_ui-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 926.8 kB

Release files / hue_ui-0.0.1.tar.gz

Download URL hue_ui-0.0.1.tar.gz
Size 421.4 kB
Tags Source
SHA-256 checksum
How to use checksums
44c4a635c8a9fe7d2d38a5ef3bfa4ca7c80d6d423c55f427023d0295767570a4
BLAKE2b-256 checksum
How to use checksums
7e302cbf006fb04874a4d79032e8c95261af445404f28e2803bb0ee1d05ed13a
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.1-py3-none-any.whl

Download URL hue_ui-0.0.1-py3-none-any.whl
Size 505.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac21a1eb3919fa95346c9ade01a350badfb08c348aa4db1171fbad6488bc2f01
BLAKE2b-256 checksum
How to use checksums
951d0020e0002ba54f86842b06d5a764d3960555e57e936985830326c439d77b
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.1

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