Skip to main content

Flask extension that serves static file handlers in Google App Engine app.yaml files

Project description

flask-gae-static unit tests badge

Flask extension for Google App Engine that serves static file handlers from app.yaml files.

Inspired by Andreas H. Kelch's app_server project.

License: This project is placed in the public domain. You may also use it under the CC0 public domain dedication.

Usage

Install with pip install flask-gae-static. Use with eg:

from flask import Flask
import flask_gae_static

app = Flask(...)
flask_gae_static.init_app(app)
...

Development

After cloning the repository, set up a local virtualenv with:

python3 -m venv local
source local/bin/activate
pip install -e .

Run tests with:

python -m unittest discover

Changelog

0.1 - 2021-12-30

Initial release.

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-gae-static-0.1.tar.gz (2.5 kB view hashes)

Uploaded Source

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