Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/general03/flask-autoindex
Generates index page like mod_autoindex
https://github.com/general03/flask-autoindex
Last synced: about 2 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 (about 14 years ago)
- Default Branch: master
- Last Pushed: 2023-12-08T18:56:21.000Z (10 months ago)
- Last Synced: 2024-07-24T21:05:13.535Z (2 months ago)
- Language: Python
- Homepage: https://flask-autoindex.readthedocs.io
- Size: 1.53 MB
- Stars: 112
- Watchers: 13
- Forks: 35
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/general03/flask-autoindex.svg?branch=master)](https://travis-ci.org/general03/flask-autoindex)
[![Maintainability](https://api.codeclimate.com/v1/badges/869c538c7fe4f09a5e72/maintainability)](https://codeclimate.com/github/general03/flask-autoindex/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/869c538c7fe4f09a5e72/test_coverage)](https://codeclimate.com/github/general03/flask-autoindex/test_coverage)[![PyPI version](https://badge.fury.io/py/Flask-AutoIndex.svg)](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`