Engineered for simplicity, hip provides a complete Python web suite…
- Supports both client and server functionality.
- Presents a clear, simple, and tightly constrained API.
- A minimal, easily readable implementation.
...we're currently in early stages design, and would love for you to get involved.
Install the package from PyPI…
$ uv add hip --devSending HTTP requests…
>>> import hip
>>> cli = hip.Client()
>>> r = cli.get('https://www.example.com/')
>>> r
<Response [200 OK]>Creating web apps…
>>> import hip
>>> def app(request):
... content = hip.HTML('<html><body>¡Hola, mundo!</body></html>')
... return hip.Response(200, content=content)
>>> with hip.Server(app) as server:
... print(server.url)
... server.until_interrupt()A clean modern design, with a focused API and an exceptionally light installation footprint.
For comparison, see hip vs requests…
$ uv add hip
$ uv tree --show-sizes --package hip
hip v0.2 (33.5KiB)
└── truststore v0.10.0 (17.8KiB)$ uv add requests
$ uv tree --show-sizes --package requests
requests v2.33.1 (63.4KiB)
├── certifi v2026.2.25 (150.1KiB)
├── charset-normalizer v3.4.7 (302.4KiB)
├── idna v3.11 (69.3KiB)
└── urllib3 v2.6.3 (128.5KiB)See Contributing to get involved.
MIT Licensed.
Designed & Built with Love.
— 💖 —
