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.9.tar.gz
(73.4 kB
view hashes)
Built Distributions
Close
Hashes for mrhttp-0.9-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 716c7d6b1e5847fc3ccd6ecedd253fd42d37d3d9d34223570a7a8b6ad99047d9 |
|
MD5 | 80521f6c0c81369167dbc9828b9d2334 |
|
BLAKE2b-256 | f93d860d784dcb08a381536a624a51939860e50968a3ae24abbb1f241c7dc656 |
Close
Hashes for mrhttp-0.9-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aebd892dcb94050ffbf35ba3b71769d6d332b254fc104a5d286f0056a01f8ba7 |
|
MD5 | 591a2bfda4462fc311e8d20d7ac5b6bf |
|
BLAKE2b-256 | ecf304326f88f51220e07f38acaa2ecaef3ec75d85a20462950fbf830e551805 |
Close
Hashes for mrhttp-0.9-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7de653aa9b5a63ebc98a310e5e07002a44647d99ef5bb5a78f25ba1294665798 |
|
MD5 | 2f008cb4cb642dd42afa41249c81b498 |
|
BLAKE2b-256 | e1100976660cb0c55778ca9897610e079da4b4623c776021841bf4f6648ca8e4 |
Close
Hashes for mrhttp-0.9-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8747220889435c4c08b16dbbb719ad9f6c4aa0b7e4cc13ff176a5816fdf101d |
|
MD5 | 9eef0d2e7d7ab841ff14857061d9308e |
|
BLAKE2b-256 | f56c43f1826048ef89650178edef839a772112f857aef07bb357c3123a45a362 |
Close
Hashes for mrhttp-0.9-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29d8dc9aacf38b949deba5c0b745e9ce2ddf6dbd16c8478e5bf09a96784d5d8e |
|
MD5 | dd9bc793e0d43cbdee6dcee64e071996 |
|
BLAKE2b-256 | 197d01e2a2485b2f992dc4a6681e0cd936bc0738b578f93050a7ea1e26839e55 |
Close
Hashes for mrhttp-0.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 005c05c9ebe0c618985c2e4cb69ba4d17159669bf35e274c3305e336c3cf0a80 |
|
MD5 | db8fbb943bbab3fee94a89830a12d1f1 |
|
BLAKE2b-256 | b2c36f553fad379b3d8856456017fc2fd9eb871717da2daf925fa37e9e834d56 |
Close
Hashes for mrhttp-0.9-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9790badc0a7a0b4318ff2cd266802fd5b0e86b32971a715a3eb20f40094c910 |
|
MD5 | fadc299b4988e0b766303f4f61d65ea3 |
|
BLAKE2b-256 | fc7e4fd046ac2d5ba03b45c86c72101fa5eb1967b9b6cdb7a57ad4d7f9daa516 |
Close
Hashes for mrhttp-0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 637efd24e4dcb85ae3407adf2bff14af615c702b9d9ecb025b150aa2dc1a5595 |
|
MD5 | 1c8dcc0add428aaed5a261e25e44dfc2 |
|
BLAKE2b-256 | d0c04eec55baed1fd9f848b65a05f379b305a5082acadbeb1405463cc4489b9e |
Close
Hashes for mrhttp-0.9-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d7dd07216c93556627c317be23f06e3db544989aa2dfddd40b7638500bf22f |
|
MD5 | f433143c79cd7d32af87552723d71d12 |
|
BLAKE2b-256 | 0038f76554dd52632f3602f77115b99501de6e177a5306e845448ef9a2730ff9 |
Close
Hashes for mrhttp-0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b7ac9512ff285253de11d9c9bd626e3b2e66329b85777d2ecb06be321ee7426 |
|
MD5 | 69eb5a8a28ffbd6e9b5f6409a16d5961 |
|
BLAKE2b-256 | 6a25c4a24f11808d44d05f19d1951a9ae66631f76644c7d10697bcf69247327e |
Close
Hashes for mrhttp-0.9-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15806a04de078419bc2aab56fb6d3bcdd882970ca2a3e0988f1db5f7f7cad2a2 |
|
MD5 | 9c481734d902af7734d98ab8e1a1a0b1 |
|
BLAKE2b-256 | d261734ce7dda7fdcf47581813c13c6a1a9991a93d3924c5ad02e340f4567423 |
Close
Hashes for mrhttp-0.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9762a3a3efb0fa909f68e23fc4302ff2b59e1023252840582f6bb93d3b6de346 |
|
MD5 | f7ade73106cc2a365c2a938310619d77 |
|
BLAKE2b-256 | fa6301fb5509a28d7442615add42b4f88b4c432213b1a62fb3fad44c01f5891c |
Close
Hashes for mrhttp-0.9-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b34af4f44a651b97dc777697818cd6f735c5a688b690358fbcb7f9dc9bf93daf |
|
MD5 | 69aa34810633eb053487a1c43fd4dcb8 |
|
BLAKE2b-256 | b00fde0da18d2e345618743a531ade9ba4188bb7e29a08602efeb01d9e82dc0b |
Close
Hashes for mrhttp-0.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1de1f96ec57fc2a6bfed03c0a9eb0f92c2803f420debbb2e5fe2a040abaaadf2 |
|
MD5 | 58ecce72f701f8943a6ac0f92e04bf83 |
|
BLAKE2b-256 | 87ac5ba66ad6bb0c8300132fe5a3156109353cccf86cfe3962eb36308047d611 |
Close
Hashes for mrhttp-0.9-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af08d0816c8a07f9eb0d11a95d4bb4e24a70666f81cdc6da317a31b48970b9ed |
|
MD5 | bdaa8e0106e1c28becc26856570b9219 |
|
BLAKE2b-256 | 56cb1a5ee3c9aeee32537fb69e44347cabba445031e18df6a3fbd3b3f09d7265 |
Close
Hashes for mrhttp-0.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a58f43725a3d0ab6a53adfb3ccf036f184e4a30677244c4791463c1289078a2 |
|
MD5 | 73333f1d343717da6312de5391a7158e |
|
BLAKE2b-256 | 83d2eeac06a2117fdb7ac11b7adae7b3eed9e9d6eaeadd5d526cdc01a89a64eb |
Close
Hashes for mrhttp-0.9-cp36-cp36m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b64c065a0fd91678b820bd0aa346342b559a26c4bd26de4261b467fefb6160f3 |
|
MD5 | e292134d98902cdf7a891a761c1f0022 |
|
BLAKE2b-256 | 88a703eda9d288988a2fe4adb368410b1ca7740bab5655317f4bd918cd795e20 |
Close
Hashes for mrhttp-0.9-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b35dd8eac040467e295ee16bf7963f8a43e7e20dade18603ff72482198e4f41 |
|
MD5 | 6a4a7b1173793b3921b95605b25b87bf |
|
BLAKE2b-256 | 41c642b79b8972d18d63c21573c06fcbce9f945aef6f068748967680de5c07e6 |