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

(Screenshots placeholder)

Architecture

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

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.0.tar.gz (15.1 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.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

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

Hashes for fastview-0.1.0.tar.gz
Algorithm Hash digest
SHA256 52488445b9b30666e2c809be57f2818f75ea03ab1da8d53b00c5c6212f100b96
MD5 84b315b562f818591b74d1e575b37b13
BLAKE2b-256 5222a176c0f2c2b33afc032b529becf87f0dc87ae47dbdbf5a892396575974e3

See more details on using hashes here.

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

Hashes for fastview-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89695248104afe86ab2af5abd90068db4b3554de0bbcda478e7d6aa96d4d86ca
MD5 2be7136ab0184e6e5b96220d82ff85b2
BLAKE2b-256 e1a6384005c83ec38e70deb7cedf71a1ca8cf192d01f2efccf73da919f5f5a0b

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