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

Metadata

Release files for plastron-web 4.8.2

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.2
File Size Uploaded Provenance Actions
plastron_web-4.8.2.tar.gz 10.3 kB Without provenance Details for plastron_web-4.8.2.tar.gz

Built distribution (wheel)

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

Total release size: 18.5 kB

Release files / plastron_web-4.8.2.tar.gz

Download URL plastron_web-4.8.2.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e3518ea240af756bf4b80f835402b349e0c7d47b7292ccdc0f715ae0d3bb3678
BLAKE2b-256 checksum
How to use checksums
d1909c110d8bd60467277c675d747f9d005494cc795a8aecbcbecc46024ccce6
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.2-py3-none-any.whl

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

Security for plastron-web 4.8.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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