Skip to main content

hip

hip

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.

Installation

Install the package from PyPI…

$ uv add hip --dev

Client

Sending HTTP requests…

>>> import hip

>>> cli = hip.Client()
>>> r = cli.get('https://www.example.com/')
>>> r
<Response [200 OK]>

Server

Creating web apps…

>>> import hip

>>> def app(request):
...     content = hip.HTML('<html><body>¡Hola, mundo!</body></html>')
...     return hip.Response(200, content=content)

>>> s = hip.Server(app)
>>> s.serve()

Motivation

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)

Contribution

The hip redesign is currently in early development.

We are currently seeking sponsorship, and looking to expand our team.

If you'd like to discuss getting involved, please book in some time.


MIT Licensed.
Designed & Built with Love.

— 💖 —

Metadata

Release files for hip 0.2

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

Source distribution (sdist)

Source distribution for hip 0.2
File Size Uploaded
hip-0.2.tar.gz 30.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hip 0.2
File Interpreter ABI Platform
hip-0.2-py3-none-any.whl Python 3 none any Details

Total release size: 67.9 kB

Release files / hip-0.2.tar.gz

Download URL hip-0.2.tar.gz
Size 30.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3327b069ee48e275b3bf5adc0cad79d7f66465ac32634268175afba3e4cca81a
BLAKE2b-256 checksum
How to use checksums
b6ef8a2a3d994a5bd5013e4871a3c9a6d518804beccf570112b80a203449b540
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / hip-0.2-py3-none-any.whl

Download URL hip-0.2-py3-none-any.whl
Size 37.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1c472b4f96db28ebd11edaa22dd524bf99ea32a0b721063a81c8b585f73604c
BLAKE2b-256 checksum
How to use checksums
8e8fbb60cacf3b6567501b971e086c946a15a97414c9e1df4ce5761209e71c20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

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