httpp
A lightweight HTTP client + server library for C++ and Python — install
with pip, no system dependencies (no apt/choco/brew required), works
as both a Python package and a C++ library via CMake.
Install
pip install httpp
Quick start
Python
from httpp import Client, Server
# client
res = Client.fetch("http://example.com/")
print(res.status, res.body)
# server — like `python -m http.server`, but embeddable in your own app
srv = Server()
srv.serve_directory("/", "./public")
srv.listen("0.0.0.0", 8000)
CLI
httpp server . # serve the current directory, like python -m http.server
httpp download http://example.com/
C++
#include <httpp.h>
auto res = httpp::client::fetch("http://example.com/");
httpp::server srv;
srv.serve_directory("/", "./public");
srv.listen("0.0.0.0", 8000);
find_package(httpp CONFIG REQUIRED)
target_link_libraries(app PRIVATE httpp::httpp)
Status
- Client — GET requests,
Client.fetch(url)from a full URL - Server — route handlers, static directory serving
- CLI —
httpp server,httpp download - HTTPS
- Route handlers from Python (directory serving works today)
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file httpp-0.1.0.tar.gz.
File metadata
- Download URL: httpp-0.1.0.tar.gz
- Upload date:
- Size: 223.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbc316128ec67649802e1e1102c73a439a96cba7273452fb7c152bdb731d6874
|
|
| MD5 |
4bb1c7083ab740a7228cb9ff4c36c248
|
|
| BLAKE2b-256 |
2af0a67a1acdfb27c5fb5b4c720e2a74cdc239b8ef8f36bb1f40657f564c547d
|
File details
Details for the file httpp-0.1.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: httpp-0.1.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 671.2 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba680a6bb161e795067475f61498d0d469e063a2a7d90584bb86c7507b49cf0f
|
|
| MD5 |
0c779f7d6ae03877d47c25d58ce0f083
|
|
| BLAKE2b-256 |
130bebb3176ae00a316a50f5205f0dfff4a83986d6fe381c9742daeccdfa9f00
|
File details
Details for the file httpp-0.1.0-cp312-cp312-win32.whl.
File metadata
- Download URL: httpp-0.1.0-cp312-cp312-win32.whl
- Upload date:
- Size: 595.1 kB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b05e9b86fcf94d1c441fd35db499eb6298023b087274afec7f61a7d014e46bb4
|
|
| MD5 |
8f61567c43ec427877c5b797cdb51d88
|
|
| BLAKE2b-256 |
37958f6b72211a6f58a894409c406019d1a1c8b619a8f90e7b09455a886e5848
|
File details
Details for the file httpp-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: httpp-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57c8492182ae0cc84b5faedba333d9bf7873cfeeb231d04a76719998f7a46056
|
|
| MD5 |
219c7bbb15365223a43d69897d407d64
|
|
| BLAKE2b-256 |
1fccc10ddbb99ee0eb0cc5f00923db0567031186491633b3902ccc191454b4a3
|
File details
Details for the file httpp-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: httpp-0.1.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 580.6 kB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
869174bad35056f5f1bb3ed91631912ab20eedcf24805063a66660d1fa9a6802
|
|
| MD5 |
f980f545e48e0cc0c89b0318b785bc9d
|
|
| BLAKE2b-256 |
849b6d1232cd0dcc1c2c38cd933aa10c479ebc93f99a6126fba16bd24d0e03d9
|
File details
Details for the file httpp-0.1.0-cp312-cp312-macosx_10_13_universal2.whl.
File metadata
- Download URL: httpp-0.1.0-cp312-cp312-macosx_10_13_universal2.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.12, macOS 10.13+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eeed1e67c4a0c5bc41995f5f4a7f75dd59de03669b69e4591bae4525b1403349
|
|
| MD5 |
a9e04442f3dadcd0f2069c7b7f849fc4
|
|
| BLAKE2b-256 |
11ab0ad382c8f99cd532fcfe9a4e582f197782f6f9d9519dbffab4b0622965a7
|
File details
Details for the file httpp-0.1.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: httpp-0.1.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 671.0 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c152d7b2aad83979f3af3c059faaafb5db839f46f7a839248277de5cb369bd4
|
|
| MD5 |
4dd64acaa66d51ae9472e3f4af0a5a23
|
|
| BLAKE2b-256 |
3eb71c25ec1e11d6dbf035bc473e6cab24d83c758a84ca81d80530f080f88bdb
|
File details
Details for the file httpp-0.1.0-cp311-cp311-win32.whl.
File metadata
- Download URL: httpp-0.1.0-cp311-cp311-win32.whl
- Upload date:
- Size: 594.6 kB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c406b3d731402827d8eda85fec7b8724bd8aa9fa0d9d045951634c29d63fbba
|
|
| MD5 |
b04681ce2414fca535b9f1761ba95f5b
|
|
| BLAKE2b-256 |
c7666d8492a2ccedbf440dc488893da9f382370e6de00a55a9b16512e47f5234
|
File details
Details for the file httpp-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: httpp-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1f15105103f0d216f4bda3117262692ede85a047d4906eb9185cf9c49403fae
|
|
| MD5 |
906ff096f43b6e2c4381077259a72dde
|
|
| BLAKE2b-256 |
f62eb7f0803c1b80fd7adc740c2a4372d6c407db5092cba4b22b43de03cc9e55
|
File details
Details for the file httpp-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: httpp-0.1.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 581.5 kB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1e9b09f6c125ed0cc872af2bbd9b464c0450aec936f43ae1d675fb99975c4bf
|
|
| MD5 |
10fb79d2b18d2068eaacc5dbe8666920
|
|
| BLAKE2b-256 |
ff6c50614a3527a61a543ee884896561bff86360272ff56f7e14690921acbb72
|
File details
Details for the file httpp-0.1.0-cp311-cp311-macosx_10_13_universal2.whl.
File metadata
- Download URL: httpp-0.1.0-cp311-cp311-macosx_10_13_universal2.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11, macOS 10.13+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d64b43ad04219f398db48fb9d61fc3e0440115502d2a32aa3a4e0366e33ec28
|
|
| MD5 |
f95227e86b4708cfb3e5aac0d3433a2d
|
|
| BLAKE2b-256 |
fd1c72de0825cac136c7256220892f2f50bf1b18ad76bc40cf377603c85c2ce4
|
File details
Details for the file httpp-0.1.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: httpp-0.1.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 671.1 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8103b095663770a4ec3966591a231ab86ea6eb873cb0eb8525b7bd0d2360816
|
|
| MD5 |
13675951fbb6f83a6d115bcc5b307e0a
|
|
| BLAKE2b-256 |
6d9f1fcfaec67ddfd64cc7d1059f0e206be9a8fb0e1a41eb562b9fb74e5c1a3f
|
File details
Details for the file httpp-0.1.0-cp310-cp310-win32.whl.
File metadata
- Download URL: httpp-0.1.0-cp310-cp310-win32.whl
- Upload date:
- Size: 594.8 kB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccae0fbac69e53972aeca82267476a446686fb3a998ecc2a000aff468d4af786
|
|
| MD5 |
233543afba841b18aa633039a8c380a5
|
|
| BLAKE2b-256 |
9c4ef9027760cccb4daad9f0dc936e9021ff7379fa118ee1023bdbf3c57d2807
|
File details
Details for the file httpp-0.1.0-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: httpp-0.1.0-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99929c19e609a72afd2daad3e21bbec11dbd065421d3b3d5d721ba2efcaad802
|
|
| MD5 |
6f22ce5d621502156426a31f848cf453
|
|
| BLAKE2b-256 |
2daaeea7898dd8a57099205c1d1a5b20fe3ae003369f7871cfebb716567768a7
|
File details
Details for the file httpp-0.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: httpp-0.1.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 582.0 kB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6416ae0a9a54dee021502bf3f45eae80028c87fba34956d4c268d32e8c70704d
|
|
| MD5 |
2bb24a231d44ea737cdf77e302ce97b0
|
|
| BLAKE2b-256 |
acdb6289cc80357191afdd425bb0370fac2440970d73106a6d789db5b51a383b
|
File details
Details for the file httpp-0.1.0-cp310-cp310-macosx_10_13_universal2.whl.
File metadata
- Download URL: httpp-0.1.0-cp310-cp310-macosx_10_13_universal2.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10, macOS 10.13+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d92ea820db9f7af7bd6d85b9a01f24fd86125f8b2c9b1e8a168ad16b1977aa4a
|
|
| MD5 |
4736ec4c42e8601b3f59ddd0d5091e61
|
|
| BLAKE2b-256 |
bdd4f6f1eec6468deedbf001e49510e1221340011a273c171e1fda62393ad383
|
File details
Details for the file httpp-0.1.0-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: httpp-0.1.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 671.4 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59c59267d208b2dba39dd90d3d0c6b5abb48d862da13861e0b17d94e05715488
|
|
| MD5 |
0d781451122d29cc720bf165d5b15589
|
|
| BLAKE2b-256 |
83caf5fd7672556120d25f50bd41dd1cc1696755a5651ff12c5cc8683af66f4b
|
File details
Details for the file httpp-0.1.0-cp39-cp39-win32.whl.
File metadata
- Download URL: httpp-0.1.0-cp39-cp39-win32.whl
- Upload date:
- Size: 595.1 kB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37c35edd7401e3bf29e2d9c824cfd76661358ab62dbea9641638a6a6b81dfb38
|
|
| MD5 |
8f0b5a0bfb595931061c665419311f96
|
|
| BLAKE2b-256 |
5d248b9cd5b1cab7268eca5ddffcb5375ef7c1126b76b01954fb7e849242d276
|
File details
Details for the file httpp-0.1.0-cp39-cp39-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: httpp-0.1.0-cp39-cp39-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.6 MB
- Tags: CPython 3.9, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
357ebfdf70d096a4f5a428a885731bab55e7a34624587d48ded6f4378a04fcd9
|
|
| MD5 |
dd1ee36f7340fb209d74e8e9fd0d3a30
|
|
| BLAKE2b-256 |
9c0c9b2d86189fd979dcd7848a67d9427fa25f4df806731c537d5452233704cd
|
File details
Details for the file httpp-0.1.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: httpp-0.1.0-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 582.3 kB
- Tags: CPython 3.9, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91247a5f530276e5b40b8cc0c8dbb92fa963ebc3b4b3d2d26b0b12bbc1a38980
|
|
| MD5 |
db132383f03bf3051bea230105535f94
|
|
| BLAKE2b-256 |
61ca7764ab8c3ab967064ad6bf4fe12ccf7811af434298b3d4e86381239f0cf8
|
File details
Details for the file httpp-0.1.0-cp39-cp39-macosx_10_13_universal2.whl.
File metadata
- Download URL: httpp-0.1.0-cp39-cp39-macosx_10_13_universal2.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.9, macOS 10.13+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4096b79dad3fa150ea5aaa7cbc66d3b8d51a113975f03df251559424c7b8567a
|
|
| MD5 |
ede9531f90e5d4b30fda395729010e5c
|
|
| BLAKE2b-256 |
1429af672eb7293698ff97416f9ea059e71536115987559dbb89595b025ef79a
|