Skip to main content

Plastron HTTP web app

Project description

plastron-web

HTTP server for synchronous remote operations

Running with Python

As a Flask application:

flask --app plastron.web:create_app("/path/to/docker-plastron.yml") run

To enable debugging, for hot code reloading, set FLASK_DEBUG=1 either on the command line or in a .env file:

FLASK_DEBUG=1 flask --app plastron.web:create_app("/path/to/docker-plastron.yml") run

Using the console script entrypoint, which runs the application with the Waitress WSGI server:

plastrond-http

Docker Image

The plastron-stomp package contains a Dockerfile for building the plastrond-http Docker image.

Building

Important: This image MUST be built from the main plastron project directory, in order to include the other plastron packages in the build context.

docker build -t docker.lib.umd.edu/plastrond-http:latest \
    -f plastron-web/Dockerfile .

Configuration

The application is configured through environment variables.

Name Value Default
JOBS_DIR Root directory for storing job information jobs

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

plastron_web-4.8.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

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

plastron_web-4.8.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file plastron_web-4.8.0.tar.gz.

File metadata

  • Download URL: plastron_web-4.8.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for plastron_web-4.8.0.tar.gz
Algorithm Hash digest
SHA256 066e5fa79d83820de66baa590a137f14885d97a69f86f1d49f0e74705b3e9195
MD5 2720ff1c6ec44fbac90a0887bb60baf3
BLAKE2b-256 1a8bfe1ad264651fe76b3afc638c61382c6f493f92838a9f81b06f6359840c9e

See more details on using hashes here.

File details

Details for the file plastron_web-4.8.0-py3-none-any.whl.

File metadata

  • Download URL: plastron_web-4.8.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for plastron_web-4.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b4eece1742acf7ab3d39e1d57b9ab8102514cdab30a409c1da49ac174b6842c6
MD5 dfb90d68b267da286822985fa95f8210
BLAKE2b-256 d9696175cf8ed2c13352e2ab5a2ab8ad3b42e28e499119ddfe9a969b34692206

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