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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jumpstarter_driver_http-0.7.2.tar.gz
Algorithm Hash digest
SHA256 b16d666f676e1d0ef9ac564d891a9fc917dbf38ef1d6214d2618e0e886493aff
MD5 01b33426557c359a30016002b40cccd2
BLAKE2b-256 d39ac4b16a896e0a4385b4737fdec4f8e038946edc510243c4e531c2cffa4664

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jumpstarter_driver_http-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0c14f54cce23f0a129a79848c0167c96979b34fb4934e5d15d065e2f0c4291b5
MD5 509f70196d60b0559352b8b9d3e6bc42
BLAKE2b-256 d67af0d7121d472b3fc391fdc1512c86a9bcee04116adb0a2e09e31f58a1e13d

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