https://github.com/general03/flask-autoindex
Generates index page like mod_autoindex
https://github.com/general03/flask-autoindex
Last synced: 4 months ago
JSON representation
Generates index page like mod_autoindex
- Host: GitHub
- URL: https://github.com/general03/flask-autoindex
- Owner: general03
- License: mit
- Created: 2010-08-30T06:29:56.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2023-12-08T18:56:21.000Z (over 1 year ago)
- Last Synced: 2025-03-07T09:18:26.018Z (4 months ago)
- Language: Python
- Homepage: https://flask-autoindex.readthedocs.io
- Size: 1.53 MB
- Stars: 113
- Watchers: 12
- Forks: 34
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://travis-ci.org/general03/flask-autoindex)
[](https://codeclimate.com/github/general03/flask-autoindex/maintainability)
[](https://codeclimate.com/github/general03/flask-autoindex/test_coverage)[](https://badge.fury.io/py/Flask-AutoIndex)
A mod_autoindex for Flask
## Requirements
* Flask
* Python >= 3.6## Install
```
pip install Flask-AutoIndex
```## Usage
```
import os.path
from flask import Flask
from flask_autoindex import AutoIndexapp = Flask(__name__)
AutoIndex(app, browse_root=os.path.curdir)if __name__ == '__main__':
app.run()
````flask run`
## Test
`python setup.py test`