Skip to main content

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 details)

Uploaded Source

Built Distribution

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

flask_liveserver-0.0.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file flask_liveserver-0.0.4.tar.gz.

File metadata

  • Download URL: flask_liveserver-0.0.4.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for flask_liveserver-0.0.4.tar.gz
Algorithm Hash digest
SHA256 6b1ad4d19720232d22a211bf76b94868cdf631f9ad7659d604441a1c1cf7b2a2
MD5 8588f0d817f4844f9d42157b47169a74
BLAKE2b-256 e87650b9a73175d62f695b0fff20653e4d35c2da0e03bb615b134c22d726be65

See more details on using hashes here.

File details

Details for the file flask_liveserver-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: flask_liveserver-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for flask_liveserver-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c3b52bde3c5c795f49be8c48632de0dcc5232549bb78199267028b242302330e
MD5 7bce611f8114ec4d8301f28446b84baa
BLAKE2b-256 09c7a82ff6b0fe674b3e7782b69d4e8ad6bba89557ae26285602bd134e382bf7

See more details on using hashes here.

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