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)

>>> with hip.Server(app) as server:
...     print(server.url)
...     server.until_interrupt()

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.3

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.3
File Size Uploaded Provenance Actions
hip-0.3.tar.gz 30.2 kB With provenance Details for hip-0.3.tar.gz

Built distribution (wheel)

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

Total release size: 68.3 kB

Release files / hip-0.3.tar.gz

Download URL hip-0.3.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8ccb7e2ae7684209e7bd918bcb506fd19b4bad5f446aee524ee9cc74154926ba
BLAKE2b-256 checksum
How to use checksums
f896292985750aebbf10515c8ea57d928f61cb7bfc3e1a8b288fa9fd58ceb9c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

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

Download URL hip-0.3-py3-none-any.whl
Size 38.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3bb2989fcc8d53413272c1d9f92778c05bc9c3f4e71b63e0a2bf30745eae37e8
BLAKE2b-256 checksum
How to use checksums
78afe7af703ed847745736312f9049c963da7de1ba7d17920d25f892fbabb407
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Security for hip 0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hip-0.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files Full provenance

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