DaisyUI/Tailwind/Motion components for FastHTML projects
Project description
DaisyFT
Overview
DaisyFT is a toolkit for building beautiful web interfaces with FastHTML, Tailwind CSS, and DaisyUI. It provides a streamlined workflow for creating modern, responsive web applications in Python.
Documentation
Visit our comprehensive documentation at daisyft.com for guides, examples, and API reference.
Features
- 🚀 Quick Setup: Initialize a FastHTML project with Tailwind CSS and DaisyUI in seconds
- 🔄 Live Reload: Develop with instant feedback using the built-in dev server
- 🛠️ Build System: Optimize your CSS for production with a single command
- 🔌 Sync Command: Keep your Tailwind binary and configuration up to date
Installation
pip install daisyft
Quick Start
# Initialize a new project
daisyft init
# Start the development server
daisyft dev
# Build for production
daisyft build
# Build your css and run your app
daisyft run
Commands
daisyft init: Create a new project with minimal setupdaisyft init --advanced: More configuration optionsdaisyft dev: Start the development serverdaisyft build: Build CSS for productiondaisyft run: Run the FastHTML applicationdaisyft sync: Update Tailwind binary and configuration
Configuration
DaisyFT uses a daisyft.toml file for configuration. This file is created automatically when you run daisyft init and used to customize the cli.
[project]
style = "daisy" # Options: "daisy", "tailwind"
theme = "dark" # Options: "dark", "light"
Opinionated Project Structure
Here's the structure new projects default to, which can be customized:
my-project/
├── main.py # Main FastHTML application
├── daisyft.toml # DaisyFT configuration
├── static/ # Static assets
│ ├── css/ # CSS files
│ │ ├── input.css # Tailwind/DaisyUI input
│ │ └── output.css # Generated CSS
│ └── js/ # JavaScript files
└── components/ # FastHTML components
Roadmap
- Documentation: ✅ Available at daisyft.com
- Component System: A library of reusable UI components (coming soon)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file daisyft-0.1.5.tar.gz.
File metadata
- Download URL: daisyft-0.1.5.tar.gz
- Upload date:
- Size: 63.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a6001065de195b1a85ce2e00740b2fdc3f7cdfa017758f530b41b0396078a6b
|
|
| MD5 |
a5abae286adf4b7f6665946eab06fdc6
|
|
| BLAKE2b-256 |
94fc766f210dd71318219458b68b5459b35900141c172b69f8fc66e8010d57c0
|
Provenance
The following attestation bundles were made for daisyft-0.1.5.tar.gz:
Publisher:
publish.yml on banditburai/daisyft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
daisyft-0.1.5.tar.gz -
Subject digest:
8a6001065de195b1a85ce2e00740b2fdc3f7cdfa017758f530b41b0396078a6b - Sigstore transparency entry: 175235279
- Sigstore integration time:
-
Permalink:
banditburai/daisyft@d3cbb761075e3312844e2b3bebe3a40ee2b69ff0 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/banditburai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d3cbb761075e3312844e2b3bebe3a40ee2b69ff0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file daisyft-0.1.5-py3-none-any.whl.
File metadata
- Download URL: daisyft-0.1.5-py3-none-any.whl
- Upload date:
- Size: 31.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ca65886b6c9484c3170dbb2d6aaffc31d77c2a3dd1579fbc495a1170a28634d
|
|
| MD5 |
ab0e21f0a37476dcf4b4aa64cafcd30f
|
|
| BLAKE2b-256 |
654cfa132c383752debc732d425cb6ac51deecf72606aed2f6fbbcde9abe7e76
|
Provenance
The following attestation bundles were made for daisyft-0.1.5-py3-none-any.whl:
Publisher:
publish.yml on banditburai/daisyft
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
daisyft-0.1.5-py3-none-any.whl -
Subject digest:
5ca65886b6c9484c3170dbb2d6aaffc31d77c2a3dd1579fbc495a1170a28634d - Sigstore transparency entry: 175235280
- Sigstore integration time:
-
Permalink:
banditburai/daisyft@d3cbb761075e3312844e2b3bebe3a40ee2b69ff0 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/banditburai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d3cbb761075e3312844e2b3bebe3a40ee2b69ff0 -
Trigger Event:
release
-
Statement type: