Lightweight HTTP file server with a modern web UI. No third-party dependencies.
Project description
py-file-server
Lightweight HTTP file server with a modern web UI. Python 3.10+, no third-party dependencies.
Install
pip install py-file-server
Run
set ADMIN_PASSWORD=yourpassword
py-file-server
Options
py-file-server --port 9000 --dir D:\MyFiles
| Option | Default | Description |
|---|---|---|
--port |
8113 |
TCP port |
--dir |
./share |
Root folder exposed in the browser |
Environment
| Variable | Default | Description |
|---|---|---|
ADMIN_PASSWORD |
admin123 |
Admin login password — set this in production |
Upload settings live in config.json inside the shared folder. The file is created automatically on first run if missing (default: 100 MB max upload, .sh blocked).
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 py_file_server-1.0.1.tar.gz.
File metadata
- Download URL: py_file_server-1.0.1.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a179ff4ec33540dc693ef4899516e9ef5872706d388365c6920e2fa41158cee
|
|
| MD5 |
6d69962754ffdbd377a15b5dec88bda0
|
|
| BLAKE2b-256 |
c0ae7b2637fad1106b413a147756fbe786d656bb5c6c5d773da1419288bf4acb
|
File details
Details for the file py_file_server-1.0.1-py3-none-any.whl.
File metadata
- Download URL: py_file_server-1.0.1-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe74735a1d1d8df2a289613c6f9df5e01211423a651300c22ea82016988280b0
|
|
| MD5 |
988b3526ab2b841d617f79bfbcd9ad82
|
|
| BLAKE2b-256 |
3a4580a43cc1c89512672ebbee2983473542dc5eb39af7457d5fb894d91fe358
|