A python web framework written in C
Project description
Mrhttp
Async Python 3.5+ web server written in C
Benchmarks
Hello pipelined 4,152,858 Requests/second
Hello 633,097 Requests/second
404 654,053 Requests/second
Cookies 422,728 Requests/second
Form parsing 328,780 Requests/second
Parse JSON 224,872 Requests/second
Templates 257,753 Requests/second
Sessions:
memcached 163,833 Requests/second
mrcache 283,359 Requests/second
MrWorkServer 338,891 Requests/second
File Upload 132,242 Requests/second
Versus sanic a pure python async server
Hello World 64,366 Requests/second
Cookies 50,867 Requests/second
404 9,256 Requests/second
forms 27,104 Requests/second
sessions 4,053 Requests/second
File upload 21,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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mrhttp-0.8.tar.gz
(73.5 kB
view hashes)
Built Distributions
Close
Hashes for mrhttp-0.8-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a77bf029f7c3768ff5a1c942171e03f8dd82c57a1f6edc6aa39e730db898cc82 |
|
MD5 | d64b810743a6a69e7f96f5aa9aab7a8b |
|
BLAKE2b-256 | 4383c1ef99ded8858f20784cd65b586fdd22801b95a1dc7228f6a79010a70915 |
Close
Hashes for mrhttp-0.8-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73c116a71f7b86a0a2dbc25645df7f1a47dcc1afd7ce8161dfe7341caac7820d |
|
MD5 | 15c4cfc95bd2bc057bdea896e63c5ec1 |
|
BLAKE2b-256 | 70edd18c30a80fc5dfb88ccf96c3acaf6f9e4fe79f58086c05f7d8ff94fa9c26 |
Close
Hashes for mrhttp-0.8-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ac977978a0871e8d596e8dbc010b12f63f2fce5844252462bc7c9c2af5e7383 |
|
MD5 | 4f8eb3f7b49dd65a8dc6cd794b7c1b98 |
|
BLAKE2b-256 | 4c2a0af5ab38001b7bd9672d5ed2f55b2d146cf4910ad83e7604e4f30e639cb3 |
Close
Hashes for mrhttp-0.8-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bda78dc09103a4be2c76e9a1746dffb79a9712454cabcc65e9c89c105a76c42 |
|
MD5 | 1d28cd92dac409f60feb5a4a24a4d5a3 |
|
BLAKE2b-256 | 4ee8a2f14db252c884fe91bb327115a29042913c40e6a69cf2e624b692679981 |
Close
Hashes for mrhttp-0.8-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58fea2862454b3884ae387a31504cc7707e378cc011e2546b713eae2de9b3163 |
|
MD5 | 348a9c1d3275da6caf362d8cdc2b6290 |
|
BLAKE2b-256 | a3b7aaeec8c4ea785060c2b9e62a477b4ba85ef4f3db7d5728032f10caed98a7 |
Close
Hashes for mrhttp-0.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6574129cc96473eaabcc0bf8032d68c9fbae7fe7dafa56b72f9548056ff143c8 |
|
MD5 | 2584072f4dc7e5d7ea0e8e8e3acc75c1 |
|
BLAKE2b-256 | aeaf09309fa8ca286a2422a219047c997a3318ea563139775f713085c73baadc |
Close
Hashes for mrhttp-0.8-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a002f6a8844aaae907670acfc773ef75ff77e8084dcfd973d90a409d32f2702e |
|
MD5 | 621cdcb9d0c1f9767c891de65d1afd1d |
|
BLAKE2b-256 | 83f065e343567c4acb9a6eb615244acd65e5feba55a9d67fcca586f58260aed4 |
Close
Hashes for mrhttp-0.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7b32bc9733ef02694b5bd65272e2b4036d89493afa3fd70fce8cb6ce171ad0d |
|
MD5 | 7608c153ed8fdf7e9416a4709a05f0f2 |
|
BLAKE2b-256 | fbfc0ad9c6571717da8d072865101c5483dbd9e92817bdcbb18e8903ec43d834 |
Close
Hashes for mrhttp-0.8-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccbf2c0455dfe55f9c2e32d8dd8fa007824baacb27f86005691d1667e651c64c |
|
MD5 | 35e10e15273a614e63feed75e5734dc3 |
|
BLAKE2b-256 | d48c9c37a09fb3c1c36ad21764280e7b79ef7d76c5300151fceeb558ef5b32ea |
Close
Hashes for mrhttp-0.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2312971d0744be3708becf28055819860b3da44820a13c007818eba9d2053f28 |
|
MD5 | 07db13fceed485bc37ceca865d443d93 |
|
BLAKE2b-256 | b2ce6cad7f99831eab05a2ce537e69d88acb2f5c1a2e034653ba9d5677924f4d |
Close
Hashes for mrhttp-0.8-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecd282a9ea561f21b9ac089bf7d8dd73063badfe8b92a05662e6da5013a0a20d |
|
MD5 | 7c223967b816831940882d094af5818c |
|
BLAKE2b-256 | 14ee2ce8c23bb8182eef206224f51c835b2643262b732aa03f95647581aaa144 |
Close
Hashes for mrhttp-0.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cbd0431ca9a7e6e484a1c39ca314c9a6c908bcaa444bccbe21bec7092c7628d |
|
MD5 | 889653736f8de967010a9823ec5336b0 |
|
BLAKE2b-256 | b64e3339fa77b98b22623dda6b13fcc399fc32ca91575172b716718d11e1b6b9 |
Close
Hashes for mrhttp-0.8-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4a4859de0648334aceac51e9b18644775709ce42a9987b1ef23865a9ce6b991 |
|
MD5 | 3c2535291d67004a72f667e000502625 |
|
BLAKE2b-256 | 3410b982efc1daa25f61e89d580d1474612dfb6c58b2d3ba6b7f2f6337be4297 |
Close
Hashes for mrhttp-0.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 965c15fe70c046f7b7a122828bc9b2732f27db32cca08be3166d0375f35105db |
|
MD5 | 134856088361b47d824347b3f1a3c13b |
|
BLAKE2b-256 | 857b1a31aa36a58a2320776bfad6680164452446736faac2cdf347fa4fdf4a78 |
Close
Hashes for mrhttp-0.8-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2a367fe9cfa1f395931241376939100e6be70efe35a9b3552342118c4b86a80 |
|
MD5 | 998310e9e76a5fc611e5faf17230cc41 |
|
BLAKE2b-256 | 45778a2315661e730adc800dc9fadc538e0b8fc58c7f352e3ada79014f3d0446 |
Close
Hashes for mrhttp-0.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fee1b062712e13b68703dd272e2805e8de475dceda7fb0d873a1c235446af78 |
|
MD5 | 630696c5cf1d180bcadcc49e63f25797 |
|
BLAKE2b-256 | 096646d086dca01773624b076108cbe90a54725c9ed70c78a5e305f6a56efefb |
Close
Hashes for mrhttp-0.8-cp36-cp36m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5eb05a273e4b581d78dcb130d999ebe97d339b6018d6d527327469e1367427f7 |
|
MD5 | 406a69a9ab9ff58e74c7c14d519b2f56 |
|
BLAKE2b-256 | 01caf4aca01338c3cb7ee8b14903c46972fe846c4943aaa0e63c2d25a8a2535b |
Close
Hashes for mrhttp-0.8-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 891fba7dab80924e6056036152f72c3d7edf2356d700d93b8dfb4060c02c95fb |
|
MD5 | c5d338b0ab40f69c9850eaa175b4cbab |
|
BLAKE2b-256 | 12101f648bea7a06b8a557a1cafc83eaf9b7174f08ababec4fb209543c36c680 |