flask-directory-listing
Flask app that replicates Apache-style directory listings. Supports file uploads and folder downloads as ZIP archives.
Installation
pip install flask-directory-listing
Usage
flask-directory-listing \
--root /path/to/serve \
--host 0.0.0.0 \
--port 8080 \
--apache-style \
--debug
Flags:
--rootdirectory to serve (default:src/flask_directory_listing/apache/share)--hostlisten address (default:0.0.0.0)--portlisten port (default:8080)--apache-styleenable mixed sorting like Apache (otherwise directories first)--debugenable Flask debug mode
Alternate invocation:
flask_directory_listing [flags]
Features:
- Apache-like index table with sorting links and icons
- Directory download as ZIP (
?download=<folder>) links beside folders - Drag-and-drop uploads, including nested folders
- Hidden files are ignored; path traversal is blocked
Metadata
Release files for flask-directory-listing 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flask_directory_listing-0.0.1.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_directory_listing-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.4 kB
Release files / flask_directory_listing-0.0.1.tar.gz
| Download URL | flask_directory_listing-0.0.1.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9af5d65219315ac149b46ec0ba82a9cb38f6d616ea0c2c265008ec7559301cf1
|
|
BLAKE2b-256 checksum How to use checksums |
88540e3557897209884aea65eb4ae619059adf480c1eec26b5238af43c0633ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 1, 2026.
Transparency logRelease files / flask_directory_listing-0.0.1-py3-none-any.whl
| Download URL | flask_directory_listing-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25103b0ba6b2706be43d7ccb38990b904ac5dda7846a1c40f16f6b2ba8329c21
|
|
BLAKE2b-256 checksum How to use checksums |
34e9ed66b3e4a0e8ca751c4238ccf44e01f2354c9d7fbe86449b552ea39f77a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 1, 2026.
Transparency log