Skip to main content

http-simple-cli

A simple CLI to make HTTP requests using the stdlib http.client module.

The main goal is to make it possible to make simple http requests from inside containers, for example for health checks, without having to install any OS dependencies (and having to deal with security alerts for those OS dependencies).

Usage

http-simple-cli [-h] [-X REQUEST] [-H HEADER] [-d DATA] [-v] [-o OUTPUT] [-k] [-t TIMEOUT] url

Barebones utility to make HTTP requests using the standard library http.client

positional arguments:
  url                   URL to make the request to

options:
  -h, --help            show this help message and exit
  -X REQUEST, --request REQUEST
                        HTTP method to use (default: GET)
  -H HEADER, --header HEADER
                        HTTP header to include in the request (can be specified multiple times)
  -d DATA, --data DATA  Data to include in the request body (for POST, PUT, etc.)
  -v, --verbose         Print verbose output (request and response headers)
  -o OUTPUT, --output OUTPUT
                        File to write the response body to (default: stdout)
  -k, --insecure        Allow insecure server connections when using SSL (ignore certificate verification)
  -t TIMEOUT, --timeout TIMEOUT
                        Timeout for the request in seconds (default: 60)

Metadata

Release files for http-simple-cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for http-simple-cli 0.1.1
File Size Uploaded
http_simple_cli-0.1.1.tar.gz 19.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for http-simple-cli 0.1.1
File Interpreter ABI Platform
http_simple_cli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 22.5 kB

Release files / http_simple_cli-0.1.1.tar.gz

Download URL http_simple_cli-0.1.1.tar.gz
Size 19.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a78a2602d41c75f1c6a6bff4a3cea9759346c8cdf281f3dde7525eff18e75c9c
BLAKE2b-256 checksum
How to use checksums
03077b79cb166131b7acffeceb79da31914f840415e9f70f3e3e4596dbf2e3ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / http_simple_cli-0.1.1-py3-none-any.whl

Download URL http_simple_cli-0.1.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f95444c54bbb5fcf0e9d7503e67394963009fd39840421ab3fb9c7c382e1943
BLAKE2b-256 checksum
How to use checksums
c885f63850f414ac7d1d29111145a69f94ba4144a2d88d3d70f63c35a864b2d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page