https://github.com/struckchure/fletora
Build frontend applications in Python. Yeah, i know, it sounds CRAZY!
https://github.com/struckchure/fletora
fastapi html python tailwindcss
Last synced: about 1 year ago
JSON representation
Build frontend applications in Python. Yeah, i know, it sounds CRAZY!
- Host: GitHub
- URL: https://github.com/struckchure/fletora
- Owner: struckchure
- License: mit
- Created: 2025-01-29T17:22:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-06T06:57:30.000Z (over 1 year ago)
- Last Synced: 2025-03-06T07:46:39.541Z (over 1 year ago)
- Topics: fastapi, html, python, tailwindcss
- Language: Python
- Homepage: https://pypi.org/project/fletora/
- Size: 51.8 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Fletora
Build frontend applications in Python. Yeah, I know, it sounds CRAZY!
## Name Origin
A sleek, futuristic name that feels fresh and unique.
> _DeepSeek AI_
---
## Installation
```
pip install fletora
```
or using uv
```
uv add fletora
```
## UV Setup Instructions
### 1. Install `uv` (if not already installed)
```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
```
### 2. Create and activate a virtual environment
```bash
uv venv
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows
```
### 3. Install dependencies
```bash
uv sync
```
---
## Pip Setup Instructions
### 1. Create and activate a virtual environment
```bash
python -m venv .venv
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows
```
### 2. Install dependencies
```bash
pip install -r requirements.txt
```
---
## Running the Application Server
### Using FastAPI CLI
```bash
fastapi dev samples/main.py
```
### Using Uvicorn
```bash
python samples/main.py
```
The application will be available at `http://localhost:8000`.
---
## Development
To enable hot reloading during development, the server automatically watches for file changes and refreshes the browser.
## Resources
- [PyScript GitHub](https://github.com/pyscript/pyscript)