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.7.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.7.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: plastron_web-4.7.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.7.0.tar.gz
Algorithm Hash digest
SHA256 41dfc2363193a06ea9857cef75a07525cc062e40040bb0126e284e4d1db2af9b
MD5 963e9baadd83f1060488520dcdd4f227
BLAKE2b-256 55d05796052728336063cc5b65831aaa87c807cb96acb8cb67b3fabf22d9b616

See more details on using hashes here.

File details

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

File metadata

  • Download URL: plastron_web-4.7.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.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ad105a259377d52bee4cb97f28e1a68db2d58f807a7a5ad040021979e55e3d5
MD5 217d8375153b8cc11e7aef1080129b29
BLAKE2b-256 65201106347957a18ffb230fbedc861255d534492ed7d0bc2832a214af460db1

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