Skip to main content

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:

  • --root directory to serve (default: src/flask_directory_listing/apache/share)
  • --host listen address (default: 0.0.0.0)
  • --port listen port (default: 8080)
  • --apache-style enable mixed sorting like Apache (otherwise directories first)
  • --debug enable 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_directory_listing-0.0.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flask_directory_listing-0.0.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

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

Hashes for flask_directory_listing-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9af5d65219315ac149b46ec0ba82a9cb38f6d616ea0c2c265008ec7559301cf1
MD5 769b4f2eb0a269e98c96fb866f8ef9b1
BLAKE2b-256 88540e3557897209884aea65eb4ae619059adf480c1eec26b5238af43c0633ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for flask_directory_listing-0.0.1.tar.gz:

Publisher: publish.yml on phoenixthrush/flask-directory-listing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flask_directory_listing-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for flask_directory_listing-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25103b0ba6b2706be43d7ccb38990b904ac5dda7846a1c40f16f6b2ba8329c21
MD5 fea15920b0e51c62f280e8c551b156a6
BLAKE2b-256 34e9ed66b3e4a0e8ca751c4238ccf44e01f2354c9d7fbe86449b552ea39f77a3

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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