Skip to main content

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


Download files

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

Source Distribution

app_server-0.9.2.tar.gz (49.0 kB view details)

Uploaded Source

Built Distribution

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

app_server-0.9.2-py3-none-any.whl (54.1 kB view details)

Uploaded Python 3

File details

Details for the file app_server-0.9.2.tar.gz.

File metadata

  • Download URL: app_server-0.9.2.tar.gz
  • Upload date:
  • Size: 49.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for app_server-0.9.2.tar.gz
Algorithm Hash digest
SHA256 1611bc50ab1364307ec5ee21ac8c4a135449a2a362fe709cbb47473ada30102f
MD5 02148f82746cd36593905b70dc607f4b
BLAKE2b-256 973fe573bd052ad5f5b4a629269a863dfc8a30360949ba120622cb48282aaeca

See more details on using hashes here.

File details

Details for the file app_server-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: app_server-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 54.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for app_server-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1059092b42e8e8092872211462ea54c442700756ae65f4245a04f105e5be1fbc
MD5 cce3101df0a07506b2458cfd496c4cfa
BLAKE2b-256 2b9bb88bb7ce38c932a1eec73b1072ab392ae80d35c5f5a455f9c634a8c011f3

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