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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jumpstarter_driver_http-0.7.4.tar.gz
Algorithm Hash digest
SHA256 83a5b122025678ce4e176aafa7835aaa3e271579e7e65688c21aa6ef4b52840e
MD5 c59636620c55750586ddbd770b3dc4fa
BLAKE2b-256 d762853ad04d2c7b5f72c8a5d578a1b530ec7f5a5d52f7707a42198aadb5f8c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jumpstarter_driver_http-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b7d3d3d24d352e629a8e34f2bbbc0034677d5ed6ba6765403c5376ad8fda03ca
MD5 fd069c0c28f5e455192daaedfe7f4969
BLAKE2b-256 2ddcedff618aebb7cd225819e3f4b37415759712ee59229405198daa0cc8e1be

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