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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jumpstarter_driver_http-0.8.1.tar.gz
Algorithm Hash digest
SHA256 4c9b2212683419d2a66675ae392e7052b1a6fe3f7df6a196b70723e3baa8a5d6
MD5 2dea097cb04e17491be514fd2547b1f0
BLAKE2b-256 9a49e1339d31bfd5848e50c102486038df5cdd0d4f28d63eb43cda72a25f577a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jumpstarter_driver_http-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cecad07f3c6c397756459724a6813667bc40639723de145611575307b603d377
MD5 c4cbcd51ed49be00a38bb4f2a75a315d
BLAKE2b-256 00c0a20138c84bad59f48d7d85abf88a8413dc3d278debb788461b98d0450203

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