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

Uploaded Python 3

File details

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

File metadata

  • Download URL: plastron_web-4.8.1.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.8.1.tar.gz
Algorithm Hash digest
SHA256 cd9f2c6778a98f6744a4746a38c251d08772c46d060f1e89e371461f216f514a
MD5 9eae09248462209de41e67582756f8ed
BLAKE2b-256 b856f573493e5ed90d6ddf10bb962df2d76969d01e58c7b38d8cfc3c47be3c9a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: plastron_web-4.8.1-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.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2a6397012c2e6c3b9365b6e4b8c650a3594619f9ae4b72a08873e2692be8266c
MD5 788a41e1091acff2e7959305f38e0eb0
BLAKE2b-256 c9160e8c526ed9eb9e52d38b16860efd807c4a542efb92274431b2194ebe8d91

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