A simple FastAPI HTTP server with directory listing
Project description
local-server
A simple FastAPI-based HTTP server that serves static files and directory listings.
🌟 Features
- Serves files from the current directory.
- Automatically displays
index.htmlif present. - Lists files and directories if
index.htmlis not available. - Clickable links for navigating directories and viewing file content.
🛠 Installation
Make sure you have Python 3.7 or higher installed.
Using pip
pip install local-server
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
local_server-0.1.1.tar.gz
(2.9 kB
view details)
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 local_server-0.1.1.tar.gz.
File metadata
- Download URL: local_server-0.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc0e72cb1c1f58634fd2d08a35b97c5cd4cf33333314a44909151fc85063d4c5
|
|
| MD5 |
616f16a42e6a06b066409eed6e772b95
|
|
| BLAKE2b-256 |
b68cb258b6746c14b9039fbd5458968bc26e4749b40dea625cfbeb25d157cb23
|
File details
Details for the file local_server-0.1.1-py3-none-any.whl.
File metadata
- Download URL: local_server-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c12bdc59edc238cc1156eb7ec15cb9d0891a9d5f574f05f5cecd3b0406cba4c3
|
|
| MD5 |
6d880a25ac9f361996f0d7e1884e183d
|
|
| BLAKE2b-256 |
40575313c37782e28b4a907441322f6dd8632f1c69eeb00ac2cdaa0f1cf9c0bd
|