Live Server in Flask.
Project description
flask_liveserver
Quick Start
from flask import Flask
from liveserver import LiveServer
app = Flask(__name__)
ls = LiveServer(app)
@app.route("/")
def index():
return ls.render_template("index.html")
ls.run("0.0.0.0", 8080)
License
MIT Licence
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_liveserver-0.0.4.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for flask_liveserver-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3b52bde3c5c795f49be8c48632de0dcc5232549bb78199267028b242302330e |
|
MD5 | 7bce611f8114ec4d8301f28446b84baa |
|
BLAKE2b-256 | 09c7a82ff6b0fe674b3e7782b69d4e8ad6bba89557ae26285602bd134e382bf7 |