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.7
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 |
|---|---|---|---|---|
| fhvite-0.0.7.tar.gz | 8.7 kB | Without provenance | Details for fhvite-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fhvite-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for fhvite-0.0.7-py3-none-any.whl |
Total release size: 17.9 kB
Release files / fhvite-0.0.7.tar.gz
| Download URL | fhvite-0.0.7.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea9341354063a4eb4f16a2bb98bb76a130c47bcee89025da5632f11a52d54b80
|
|
BLAKE2b-256 checksum How to use checksums |
01b2784518b7326105c75b0385aac167d4bc8cde9f3f574c37ac81bbc5a66790
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / fhvite-0.0.7-py3-none-any.whl
| Download URL | fhvite-0.0.7-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce2c3222df93a2569a5ac628e1dd98fa382f4b5e44996ebbf80ba8a6e073ef51
|
|
BLAKE2b-256 checksum How to use checksums |
9014550b2a0d1fc66e6fd2476cb69800f40d03fe1be27d306c589db9a310a692
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for fhvite 0.0.7
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.