Skip to main content

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

Release files for plastron-web 4.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plastron-web 4.8.1
File Size Uploaded
plastron_web-4.8.1.tar.gz 10.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plastron-web 4.8.1
File Interpreter ABI Platform
plastron_web-4.8.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.4 kB

Release files / plastron_web-4.8.1.tar.gz

Download URL plastron_web-4.8.1.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cd9f2c6778a98f6744a4746a38c251d08772c46d060f1e89e371461f216f514a
BLAKE2b-256 checksum
How to use checksums
b856f573493e5ed90d6ddf10bb962df2d76969d01e58c7b38d8cfc3c47be3c9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release files / plastron_web-4.8.1-py3-none-any.whl

Download URL plastron_web-4.8.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a6397012c2e6c3b9365b6e4b8c650a3594619f9ae4b72a08873e2692be8266c
BLAKE2b-256 checksum
How to use checksums
c9160e8c526ed9eb9e52d38b16860efd807c4a542efb92274431b2194ebe8d91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

4.8.1 This release

2 release files

4.8.0

2 release files

4.7.0

2 release files

4.6.3

2 release files

4.6.2

2 release files

4.6.0

2 release files

4.5.1

2 release files

4.5.0

2 release files

4.4.0

2 release files

4.3.3

2 release files

4.3.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page