Skip to main content

Mrhttp

Async Python 3.5+ web server written in C

Benchmarks

  Pipelined
    Hello (cached)  8,534,332 Requests/second
    Hello           6,834,994 Requests/second
    More hdrs       6,193,307 Requests/second
    Sessions        4,396,364 Requests/second
    File Upload     3,510,289 Requests/second
    mrpacker        2,052,674 Requests/second
    Form            1,182,228 Requests/second

  One by one
    Hello           707,667 Requests/second
    Hello hdrs      728,639 Requests/second
    Cookies         588,212 Requests/second
    many args       691,910 Requests/second
    404 natural     763,643 Requests/second
    404             580,424 Requests/second
    Form parsing    338,553 Requests/second
    mrpacker        533,242 Requests/second
    Sessions        325,354 Requests/second
    File Upload     292,331 Requests/second
    get ip          503,454 Requests/second
    

Versus sanic a pure python async server

Hello World       22,366 Requests/second
Cookies           20,867 Requests/second
404                8,256 Requests/second
forms             11,104 Requests/second
sessions           4,053 Requests/second
File upload        1,457 Requests/second

Hello World Example

import mrhttp

app = mrhttp.Application()

@app.route('/')
def hello(r):
  return 'Hello World!'

app.run(cores=2)

Installation

sudo apt install python3-dev -y
pip3 install mrhttp

Building from source

pip install .

Metadata

Release files for mrhttp 0.13

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

Source distribution (sdist)

Source distribution for mrhttp 0.13
File Size Uploaded Provenance Actions
mrhttp-0.13.tar.gz 78.0 kB Without provenance Details for mrhttp-0.13.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for mrhttp 0.13
File Actions
mrhttp-0.13-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.10 PyPy 3.10 7.3 Linux glibc 2.17+ x86-64 Details for mrhttp-0.13-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mrhttp-0.13-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.9 PyPy 3.9 7.3 Linux glibc 2.17+ x86-64 Details for mrhttp-0.13-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mrhttp-0.13-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.8 PyPy 3.8 7.3 Linux glibc 2.17+ x86-64 Details for mrhttp-0.13-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mrhttp-0.13-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.7 PyPy 3.7 7.3 Linux glibc 2.17+ x86-64 Details for mrhttp-0.13-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mrhttp-0.13-cp312-cp312-musllinux_1_1_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.1+ x86-64 Details for mrhttp-0.13-cp312-cp312-musllinux_1_1_x86_64.whl
mrhttp-0.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for mrhttp-0.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mrhttp-0.13-cp311-cp311-musllinux_1_1_x86_64.whl CPython 3.11 CPython 3.11 Linux musl 1.1+ x86-64 Details for mrhttp-0.13-cp311-cp311-musllinux_1_1_x86_64.whl
mrhttp-0.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for mrhttp-0.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mrhttp-0.13-cp310-cp310-musllinux_1_1_x86_64.whl CPython 3.10 CPython 3.10 Linux musl 1.1+ x86-64 Details for mrhttp-0.13-cp310-cp310-musllinux_1_1_x86_64.whl
mrhttp-0.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for mrhttp-0.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mrhttp-0.13-cp39-cp39-musllinux_1_1_x86_64.whl CPython 3.9 CPython 3.9 Linux musl 1.1+ x86-64 Details for mrhttp-0.13-cp39-cp39-musllinux_1_1_x86_64.whl
mrhttp-0.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details for mrhttp-0.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mrhttp-0.13-cp38-cp38-musllinux_1_1_x86_64.whl CPython 3.8 CPython 3.8 Linux musl 1.1+ x86-64 Details for mrhttp-0.13-cp38-cp38-musllinux_1_1_x86_64.whl
mrhttp-0.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.17+ x86-64 Details for mrhttp-0.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mrhttp-0.13-cp37-cp37m-musllinux_1_1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux musl 1.1+ x86-64 Details for mrhttp-0.13-cp37-cp37m-musllinux_1_1_x86_64.whl
mrhttp-0.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 Details for mrhttp-0.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mrhttp-0.13-cp36-cp36m-musllinux_1_1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux musl 1.1+ x86-64 Details for mrhttp-0.13-cp36-cp36m-musllinux_1_1_x86_64.whl
mrhttp-0.13-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64 Details for mrhttp-0.13-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Total release size: 3.8 MB

Release files / mrhttp-0.13.tar.gz

Download URL mrhttp-0.13.tar.gz
Size 78.0 kB
Tags Source
SHA-256 checksum
How to use checksums
13a46755ae24665190994e26db1665b8e981ffedccf0d196c8054f08f499ba6b
BLAKE2b-256 checksum
How to use checksums
36ba48e687cfc6138f9bf2f8b7fdc556f78e1e7ae3ccb19fbf9818dc29e8113c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mrhttp-0.13-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 60.4 kB
Tags Linux glibc 2.17+ x86-64 PyPy 3.10 PyPy 3.10 7.3
SHA-256 checksum
How to use checksums
fd3b7c5797b6ad005cd547706543d84a52a96efec7086af5e9c49727b7e50435
BLAKE2b-256 checksum
How to use checksums
06bed5b9eafd67973111923f2302b33d0d39cb05e59ddc3a6bbfe677bb7197de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mrhttp-0.13-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 60.4 kB
Tags Linux glibc 2.17+ x86-64 PyPy 3.9 PyPy 3.9 7.3
SHA-256 checksum
How to use checksums
dff1967d39a107a1a76d117ad1e87dd362a47c02eee9fa3082bcd3efd2ef63e4
BLAKE2b-256 checksum
How to use checksums
1e599224ab1d7ec9a6014ed664033f98ae5e9d6390f9384a34a5eb72e241d832
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mrhttp-0.13-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 60.4 kB
Tags Linux glibc 2.17+ x86-64 PyPy 3.8 PyPy 3.8 7.3
SHA-256 checksum
How to use checksums
b89e69ced2a8766d15058cebe55ee40886733c37c73b0faa2bd40c6962939173
BLAKE2b-256 checksum
How to use checksums
a345efd1c9bf20d7e77ddc11c2908999af62c6de6aed4678705e133932adde8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mrhttp-0.13-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 61.4 kB
Tags Linux glibc 2.17+ x86-64 PyPy 3.7 PyPy 3.7 7.3
SHA-256 checksum
How to use checksums
9d2971b5234aa6588244850c04a0dbdbc4bfe0d0cdca73b9cc7a8c949ad17b8e
BLAKE2b-256 checksum
How to use checksums
811947c4080bde51c395cdc3d7190b72cae5350c3e7f95b8ccf0e10099d50a59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp312-cp312-musllinux_1_1_x86_64.whl

Download URL mrhttp-0.13-cp312-cp312-musllinux_1_1_x86_64.whl
Size 267.0 kB
Tags CPython 3.12 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
444795231664aa8b4cb3366c30672100f4cc28d115ec18ef74f35efa58401689
BLAKE2b-256 checksum
How to use checksums
eada3f7ad3aa28f93c04d498ba68b12675c7cd1bdc54b362343ee77b22f71212
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mrhttp-0.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 252.7 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
82d69b13b211198493134b0379be61826596b2bec46c47814dcd2d07722d97fb
BLAKE2b-256 checksum
How to use checksums
87030fc4e2f23dfc8ea9dc06e667033426a24a49178dcf18ec8cb19c4decd900
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp311-cp311-musllinux_1_1_x86_64.whl

Download URL mrhttp-0.13-cp311-cp311-musllinux_1_1_x86_64.whl
Size 269.9 kB
Tags CPython 3.11 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
8a5bff49d48314854a2d4d68cf6a9d851e5fff09556a0cd54372cd47e362d36a
BLAKE2b-256 checksum
How to use checksums
f93e607ead2e44511d2133f647dabd0e54179d956d1959a8c3f60ac37c57aaa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mrhttp-0.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 245.3 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d2d728f7d4a85a387533bdae96cbce23fd3012e36faffc7e5d13db426e38bc75
BLAKE2b-256 checksum
How to use checksums
815faf7d528bab718f8a99b1a856219c3b05786ed3c027953965126d816fbe4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp310-cp310-musllinux_1_1_x86_64.whl

Download URL mrhttp-0.13-cp310-cp310-musllinux_1_1_x86_64.whl
Size 257.4 kB
Tags CPython 3.10 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
38491775d3d8f4d75bc153e696655d0a878beaaf51b4a0324732e5a6dccdb5f5
BLAKE2b-256 checksum
How to use checksums
7ee24a56436487f35bb36defd4d5ed477609c828a6258bc3b652fc09d4d68e9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mrhttp-0.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 244.8 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
7389388c577a8e021315caa3bf80e92f1dbe1d309d465c241a91b3ce5caf8caf
BLAKE2b-256 checksum
How to use checksums
6e47f5b82a96be05d1ada5a9219681d82141a3ac7a99b43c5e9d1ec303beb26c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp39-cp39-musllinux_1_1_x86_64.whl

Download URL mrhttp-0.13-cp39-cp39-musllinux_1_1_x86_64.whl
Size 255.3 kB
Tags CPython 3.9 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
5bd04338efd493508f78918fb69ab439dc6aedd3d82a173089cc834dd810fd21
BLAKE2b-256 checksum
How to use checksums
9ab193c3dc42383dd4d015b02dee57d5edf1a86ae4b988959cf80d83787853e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mrhttp-0.13-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 242.9 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
8e718b4b898fdeb51aa418ede07d9b97e9257116d4c7379fa3526984d359eef3
BLAKE2b-256 checksum
How to use checksums
8409e3d4c65a6a1fc7f60e0294dbdc238b772aec69d1ea12e84c9eebce1549ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp38-cp38-musllinux_1_1_x86_64.whl

Download URL mrhttp-0.13-cp38-cp38-musllinux_1_1_x86_64.whl
Size 264.7 kB
Tags CPython 3.8 Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
835530f052569c2852ac2a9604a337647908914bbcea1d7513b920f4fe411d46
BLAKE2b-256 checksum
How to use checksums
44b727c994b938cbb394bc542ca2bfbf688c010a8b8af0e5a69663a8441512c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mrhttp-0.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 247.5 kB
Tags CPython 3.8 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e78279c5cdd7152c84efebd5bdf62525f360f9d069cc1749b91648bb0a82c707
BLAKE2b-256 checksum
How to use checksums
580e1a15c9d670174d708c8f4a90f3917b732c0d44ca595d477844e2d01fa986
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp37-cp37m-musllinux_1_1_x86_64.whl

Download URL mrhttp-0.13-cp37-cp37m-musllinux_1_1_x86_64.whl
Size 253.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
7d9bebe32e3ed1fc9edb8f21e955262105d45e17ff3801eca796b707d28e9b80
BLAKE2b-256 checksum
How to use checksums
a179c27d0f64923d53263cdd89ee21009f9faef9f6577cbb6176d89410438529
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mrhttp-0.13-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 228.5 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e28a68f8e935698846165e408f524d7af129e046c013e81252931ea31a896d5d
BLAKE2b-256 checksum
How to use checksums
68df3810354efa62067c8ae9b747080ca6b175274e08cf6c036a448e92fa4674
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp36-cp36m-musllinux_1_1_x86_64.whl

Download URL mrhttp-0.13-cp36-cp36m-musllinux_1_1_x86_64.whl
Size 244.5 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux musl 1.1+ x86-64
SHA-256 checksum
How to use checksums
b3d3c93344ff96962377c370a071636a0121e0cfbad30ca0ca79a39520f80822
BLAKE2b-256 checksum
How to use checksums
3030a8f7dc3e4ce169f893cf92abdcbf5d1f8b5d1830a554c6c56a445d6b4db7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / mrhttp-0.13-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mrhttp-0.13-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 228.8 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6b222485ded99a0be8f8bce4e217df90a01638cd2360e6f389d64a080af12584
BLAKE2b-256 checksum
How to use checksums
4cc87d4674eaef6c4d178554393195dbad7d2a19028a37708d1fea1a475e58df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.0 CPython/3.12.4

Security for mrhttp 0.13

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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