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.7.3.tar.gz (5.8 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.7.3-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: app_server-0.7.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for app_server-0.7.3.tar.gz
Algorithm Hash digest
SHA256 738bd15dd335c833ac65c23f09f29b7c4c82b5006234fbe75a1d858251fe5243
MD5 79c8271514873cad796f838bccbb5b02
BLAKE2b-256 92fe4f9ba9757e329118105d781a48b343a0b7607128027217500e0b5e96e6b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: app_server-0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for app_server-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2293cf943885d9fedb1ca7f1db9a2a2e201cc4678784691d2d93641e5ddce6b8
MD5 46197af09048227c610478c371198f06
BLAKE2b-256 bc17a71c17c3f57901518dbb2ca87e6f71d4abc3e517a07de13fe2a461d5ab36

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