Skip to main content

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.

License Python

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

  1. Install the library:

    pip install fastview
    
  2. 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}"}
    
  3. Run your application (normally):

    uvicorn main:app --reload
    
  4. Open the UI: Navigate to http://localhost:8000/fastview in your browser.

Screenshots

alt text

Architecture

  • Backend: Python (FastAPI, Uvicorn)
  • Frontend: Vanilla JS, HTML5, CSS3 (No build steps required)

Conclusion

Built by Mehtab Singh

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

fastview-0.1.1.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastview-0.1.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file fastview-0.1.1.tar.gz.

File metadata

  • Download URL: fastview-0.1.1.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for fastview-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2062113221519fe098fc4b0bf768d210487ef681a446e0dff698756f0b0731ee
MD5 cf5d68d5fc1433fee6206e4a7fe14140
BLAKE2b-256 1c2bb910946a4191ddd2f968a75466b0b2819d1a98276384b09791cdc07c7b3a

See more details on using hashes here.

File details

Details for the file fastview-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: fastview-0.1.1-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

Hashes for fastview-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ed217049f7391e5ba1af31235890ea7913783dad287776c95ee9d2d7145a87d1
MD5 52ab93c6ac2e44d0f81db05a22464daf
BLAKE2b-256 4a7b64064c90631522392f2bb3f48c628908ce85ca3edf5de727357ea2fca146

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page