Skip to main content

Exporter HTTP service driver

Project description

HTTP driver

jumpstarter-driver-http provides functionality for HTTP communication.

Installation

:substitutions:
$ pip3 install --extra-index-url {{index_url}} jumpstarter-driver-http

Configuration

Example configuration:

export:
  http:
    type: jumpstarter_driver_http.driver.HttpServer
    config:
      root_dir: "/var/www"
      host: "0.0.0.0"
      port: 8080
      timeout: 600
      remove_created_on_close: true  # Clean up temporary files on close

Config parameters

Parameter Description Type Required Default
root_dir Root directory for serving files str no "/var/www"
host IP address to bind the server to str no None (auto-detect)
port Port number to listen on int no 8080
timeout Request timeout in seconds int no 600
remove_created_on_close Automatically remove created files/directories when driver closes bool no true

File Management

The internal HTTP server driver automatically tracks files and directories created during the session. When remove_created_on_close is enabled (default), all tracked resources are cleaned up when the driver closes.

API Reference

Add API documentation here.

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

jumpstarter_driver_http-0.7.3.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jumpstarter_driver_http-0.7.3-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file jumpstarter_driver_http-0.7.3.tar.gz.

File metadata

File hashes

Hashes for jumpstarter_driver_http-0.7.3.tar.gz
Algorithm Hash digest
SHA256 95c27a9720bea0659294fe00da6aefffa8b614ab1e86876dd18ab560c6281806
MD5 c958dcf963903ff2e66ab5d800fd8a93
BLAKE2b-256 7950e9232585cc325aaec2ae40e5197f0d046d0ab90e40632a9a4d81720ea813

See more details on using hashes here.

File details

Details for the file jumpstarter_driver_http-0.7.3-py3-none-any.whl.

File metadata

File hashes

Hashes for jumpstarter_driver_http-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3c0ee5dd06fe62e852b410b7572f7ca74232cd4a63c38740cbed825b6d26914a
MD5 af579de3d2cc10f0fcb8528ae92f3a40
BLAKE2b-256 03b8057b87c79e424e9e582f8f5d035196d7591698fa128e9c984a3e2eb5f3c7

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