A lightweight FastAPI visualization tool
Project description
FastView ⚡
FastView provides an instant, auto-generated web UI for FastAPI applications. Designed for developers who want a clean, beginner-friendly alternative to Swagger UI with zero configuration.
Features
- 🚀 One-Line Integration: Just add
FastView(app). - 🔌 Automatic Server Startup: Detects available ports and starts Uvicorn automatically.
- 🎨 Modern UI: Clean, responsive interface with Dark Mode by default.
- 🛠️ Simplified Inputs: Auto-generated forms for text, numbers, booleans, files, and JSON.
- 📂 No Frontend Code: We handle the HTML/CSS/JS for you.
Installation
pip install fastview
(For development, install from source)
Usage
-
Install the library:
pip install fastview
-
Integrate with your FastAPI app:
from fastapi import FastAPI from fastview import FastView app = FastAPI() # Initialize FastView - it will auto-mount at /fastview FastView(app) @app.get("/hello") def hello(name: str): return {"message": f"Hello {name}"}
-
Run your application (normally):
uvicorn main:app --reload
-
Open the UI: Navigate to
http://localhost:8000/fastviewin your browser.
Screenshots
(Screenshots placeholder)
Architecture
- Backend: Python (FastAPI, Uvicorn)
- Frontend: Vanilla JS, HTML5, CSS3 (No build steps required)
Project details
Release history Release notifications | RSS feed
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 fastview-0.1.0.tar.gz.
File metadata
- Download URL: fastview-0.1.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52488445b9b30666e2c809be57f2818f75ea03ab1da8d53b00c5c6212f100b96
|
|
| MD5 |
84b315b562f818591b74d1e575b37b13
|
|
| BLAKE2b-256 |
5222a176c0f2c2b33afc032b529becf87f0dc87ae47dbdbf5a892396575974e3
|
File details
Details for the file fastview-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fastview-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89695248104afe86ab2af5abd90068db4b3554de0bbcda478e7d6aa96d4d86ca
|
|
| MD5 |
2be7136ab0184e6e5b96220d82ff85b2
|
|
| BLAKE2b-256 |
e1a6384005c83ec38e70deb7cedf71a1ca8cf192d01f2efccf73da919f5f5a0b
|