File: README

package info (click to toggle)
flask-autoindex 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 296 kB
  • sloc: python: 756; makefile: 8
file content (19 lines) | stat: -rw-r--r-- 286 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Flask-AutoIndex

A mod_autoindex for Flask. Under development.

### Usage

```
import os.path
from flask import Flask

import flask_silk
from flask_autoindex import AutoIndex

app = Flask(__name__)
AutoIndex(app, browse_root=os.path.curdir)

if __name__ == '__main__':
    app.run()
```