Flask app that replicates Apache-style directory listings. Supports file uploads and folder downloads as ZIP archives.
Project description
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
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 flask_directory_listing-0.0.1.tar.gz.
File metadata
- Download URL: flask_directory_listing-0.0.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9af5d65219315ac149b46ec0ba82a9cb38f6d616ea0c2c265008ec7559301cf1
|
|
| MD5 |
769b4f2eb0a269e98c96fb866f8ef9b1
|
|
| BLAKE2b-256 |
88540e3557897209884aea65eb4ae619059adf480c1eec26b5238af43c0633ad
|
Provenance
The following attestation bundles were made for flask_directory_listing-0.0.1.tar.gz:
Publisher:
publish.yml on phoenixthrush/flask-directory-listing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flask_directory_listing-0.0.1.tar.gz -
Subject digest:
9af5d65219315ac149b46ec0ba82a9cb38f6d616ea0c2c265008ec7559301cf1 - Sigstore transparency entry: 896129323
- Sigstore integration time:
-
Permalink:
phoenixthrush/flask-directory-listing@51af35dda608748fd0a67d1d5d01f1b93ff83f68 -
Branch / Tag:
refs/tags/v.0.0.1 - Owner: https://github.com/phoenixthrush
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@51af35dda608748fd0a67d1d5d01f1b93ff83f68 -
Trigger Event:
release
-
Statement type:
File details
Details for the file flask_directory_listing-0.0.1-py3-none-any.whl.
File metadata
- Download URL: flask_directory_listing-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25103b0ba6b2706be43d7ccb38990b904ac5dda7846a1c40f16f6b2ba8329c21
|
|
| MD5 |
fea15920b0e51c62f280e8c551b156a6
|
|
| BLAKE2b-256 |
34e9ed66b3e4a0e8ca751c4238ccf44e01f2354c9d7fbe86449b552ea39f77a3
|
Provenance
The following attestation bundles were made for flask_directory_listing-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on phoenixthrush/flask-directory-listing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flask_directory_listing-0.0.1-py3-none-any.whl -
Subject digest:
25103b0ba6b2706be43d7ccb38990b904ac5dda7846a1c40f16f6b2ba8329c21 - Sigstore transparency entry: 896129370
- Sigstore integration time:
-
Permalink:
phoenixthrush/flask-directory-listing@51af35dda608748fd0a67d1d5d01f1b93ff83f68 -
Branch / Tag:
refs/tags/v.0.0.1 - Owner: https://github.com/phoenixthrush
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@51af35dda608748fd0a67d1d5d01f1b93ff83f68 -
Trigger Event:
release
-
Statement type: