Skip to main content

Like SimpleHTTPServer, only worse

Project description

A slightly nicer, probably less secure version of python -m SimpleHTTPServer.

Installation

pip install showcase

Usage

Not for production use, etc. To browse the current folder with Showcase, run:

FLASK_APP=showcase.app flask run

or, using gunicorn:

gunicorn showcase:app -b 127.0.0.1:5000

Once it’s running, head to http://127.0.0.1:5000 and enjoy.

To browse somewhere other than where you run it from, set the SHOWCASE_DIR environment variable:

SHOWCASE_DIR=/path/to/somewhere/else gunicorn showcase:app -b 127.0.0.1:5000

Developing

To run the tests: python setup.py test.

License

See LICENSE.txt.

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

Showcase-0.3.4.tar.gz (25.7 kB view hashes)

Uploaded Source

Built Distribution

Showcase-0.3.4-py2.py3-none-any.whl (12.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page