a lightweight web application launcher for gunicorn and static files.
Project description
App Server
The App Server project allows to start a gunicorn server to deliver application logic. Which is wrapped by a werkzeug server to deliver staticfiles. Primarily the App Server is used as a lightweight alternative to the dev_appserver for the google appengine build with python. But all gunicorn projects can be started with it. The static paths are stored in an app.yaml as handlers and are therefore compatible to google appengine projects.
Getting Started
Take a look at the example folder. Here you can find a start.sh which starts the App Server on port 8080.
External APIs
App Server allows app code to connect to external APIs, eg Google Cloud Datastore, like normal. To use the local datastore emulator, first start it, then in a separate shell set the appropriate environment variables (notably DATASTORE_EMULATOR_HOST
and DATASTORE_DATASET
) to point your app to it before you run App Server.
Dependencies
The app server dependents on the following packages
Installation
use pip or pipenv to install this package
pip install app-server
License
Distributed under the MIT License. See LICENSE
for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file app_server-0.9.11.tar.gz
.
File metadata
- Download URL: app_server-0.9.11.tar.gz
- Upload date:
- Size: 49.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c580b9211293cc0024129cf4cd59a95319da87e051657a511f70be570294059c |
|
MD5 | 9b6b9ca219c399f08fad29d5a45fb2e1 |
|
BLAKE2b-256 | 4fb762ed19dd665c4b468c9fe71f8a1332dc797a34efffb04105a00c5cafe159 |
File details
Details for the file app_server-0.9.11-py3-none-any.whl
.
File metadata
- Download URL: app_server-0.9.11-py3-none-any.whl
- Upload date:
- Size: 54.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24c757b66bd9a29fd0762aa217dfc38782bd28ec9eeb57661cb1abe41fa57493 |
|
MD5 | 02260ef4afb6f495f031e60faa968edb |
|
BLAKE2b-256 | 3c7a9ca66a7e4cd6c01ae8e3f2034f35d40942fd2ad261aeeeddcfffc5e9fefc |