Skip to main content

fhvite

Usage

Installation

Install the latest version from pypi:

pip install fhvite

How to use

Import into an existing FastHTML application and add the following:

from fasthtml.common import *

# Add this import
from fhvite.core import add_vite

app = FastHTML()

# Add this line
add_vite(app)

At app startup, add_vite creates missing setup files, runs pybun install, builds assets with pybun run build and adds the entry-point scripts and stylesheets to the app header. Installation follows the project’s lockfile.

For a prebuilt deployment, use add_vite(app, run_build=False). It reads the existing manifest without creating setup files, installing dependencies or building. Both modes serve content-hashed build assets through FastHTML’s StaticImmutable.

Metadata

Release files for fhvite 0.0.6

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

Source distribution (sdist)

Source distribution for fhvite 0.0.6
File Size Uploaded Provenance Actions
fhvite-0.0.6.tar.gz 8.7 kB Without provenance Details for fhvite-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fhvite 0.0.6
File Interpreter ABI Platform Actions
fhvite-0.0.6-py3-none-any.whl Python 3 none any Details for fhvite-0.0.6-py3-none-any.whl

Total release size: 17.9 kB

Release files / fhvite-0.0.6.tar.gz

Download URL fhvite-0.0.6.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fad9e31a8b9150500c3b5ecc3c3b88408935e5fc357f21c4381b631e2c624ebe
BLAKE2b-256 checksum
How to use checksums
b4640e90aed0c69d3007c2f57acd392df0df42effba012dcbf40a24c11d61593
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / fhvite-0.0.6-py3-none-any.whl

Download URL fhvite-0.0.6-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c335662c8d65ae36dec0d6ba89e7167e8af4b476f04be43027379ec4308b2371
BLAKE2b-256 checksum
How to use checksums
05c82720a8db08873a9609ca8265e3f0a0c958da5b005101eafd5a9f74dfac0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Security for fhvite 0.0.6

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.

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