Web & Protocols · zero-dependency · MIT

larzhttp

A requests-style HTTP client.

The ergonomics of requests — GET/POST, JSON helpers, custom headers, retries with backoff, and a session with a base URL and a real cookie jar — built on curl. A zero-dependency drop-in for everyday HTTP.

larzscript pkg install http
View on GitHub →Learn the stack

What you get

Try it

import "http" as http
print(http.status("https://example.com"))
let body = http.get("https://example.com")
print(body.contains("Example Domain"))
Output
200
true

Why it's in the Larz Stack

larzhttp is a real Larzscript package (larzscript pkg install http) - money-native, zero dependencies, the same language as the rest of the estate, not a separate Python runtime. It composes with the rest of the Larz Stack and the Larz framework.