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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| plastron_web-4.8.1.tar.gz | 10.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|
Security for plastron-web 4.8.1
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.