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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plastron_web-4.6.3.tar.gz.
File metadata
- Download URL: plastron_web-4.6.3.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26eea2f486c9fd55d27ad261e7a2bfb72b6f6b183c2be938ab508561750768eb
|
|
| MD5 |
6971e3492695041a437d0d3aefa723e0
|
|
| BLAKE2b-256 |
ffb394b96e2a4f807e100e826e69a63a27b3dbff00911c44b41b4c91b4998e97
|
File details
Details for the file plastron_web-4.6.3-py3-none-any.whl.
File metadata
- Download URL: plastron_web-4.6.3-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad8a8d035cf819b5598e89fbe76632d99a8bc94621f4de4b0084999338c523ce
|
|
| MD5 |
6d5d8df453a696c153c4e61ef4c19e59
|
|
| BLAKE2b-256 |
1163706e160514a1ae086ca1185d50b40b43e0f200e9bc7c34fbcf2908c655d2
|