Skip to main content

simple web server with Flask

Project description

Module flaskserver

simple static web server

Installation

pip install flaskserver

Or

git clone https://github.com/fraoustin/flaskserver.git
cd flaskserver
python setup.py install

Usage

flask

use personnal flask.conf

import os

INDEX = True
CORS = True
COLOR = True
DIRECTORY_INDEX = 'index.html'
PORT = 5001
HOST = '0.0.0.0'
PATH_HTML = os.getcwd()

FEATURE

change dirs.html

0.1.1

correction of main

0.1.0

refactoring

0.0.4

manage conf by flask.conf

add color in console

add Flask-Cors

0.0.3

correction of conf

0.0.1

init

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flaskserver, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size flaskserver-0.1.1.tar.gz (14.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page