A python web framework written in C
Project description
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
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.12.tar.gz
(78.0 kB
view hashes)
Built Distributions
Close
Hashes for mrhttp-0.12-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 607c8acabd86733a1e5c71bddd59b4c2f8dc5e254eb749e65b7f2e23efff49d4 |
|
MD5 | 8b5a763145f706ed2c9c8358fbea2599 |
|
BLAKE2b-256 | 89b5bbd590166eec1f0a33a31367a6baad60bf32f7f4a92703e28a9d54203a7e |
Close
Hashes for mrhttp-0.12-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 748217cd28e7d77913b56a85073fbdd198ee32b353edcbea0d1ff64f22c8b9ee |
|
MD5 | 5848e145da13b4847effb20e87ad8e8e |
|
BLAKE2b-256 | e5e6e7ef32772b9f3ad2a7bf2f4901cb362f415b4dbef28cbfd0bb814ea10b49 |
Close
Hashes for mrhttp-0.12-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 232bb5e5880bd5fb7f2c99beeb83393e824a90025556d06aaf1739a84901a813 |
|
MD5 | 5810e2d4ff067808bcea8bb086f4c432 |
|
BLAKE2b-256 | 9e4730dde5e7ee3e70e77c1ebeef7f6d28082555fbe9aeed06731804f650e735 |
Close
Hashes for mrhttp-0.12-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74b86a7937b2d4703a4b974c11821ffc117e3a565b11363e648173ae2277dd78 |
|
MD5 | 3828107ef82d53c3ebf6aa1139e260b6 |
|
BLAKE2b-256 | 623e88a461807c8c8fe7c7c79c75964aae769cc016d1a24194bddd281902b552 |
Close
Hashes for mrhttp-0.12-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac6f8bb2042250eaf171f8ab2ff00b9918dab7f42e57c8b436eccc58798be476 |
|
MD5 | b69296015bcf06f97aedbb625e4c802b |
|
BLAKE2b-256 | f8632a2fac7ac0c41b51b997f75ceef21704d0ba51251a899c3ed40e96ab3a1f |
Close
Hashes for mrhttp-0.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c2d345143ba8f6c001fa00daffd9481309bcb6857820e9e745d994c45d3098b |
|
MD5 | 76d0fc6ec48e5b467103a50c47038aef |
|
BLAKE2b-256 | d95e71dd81561e0566e0b5178fcc838696dd6f94a7b46fd346698a14548d7140 |
Close
Hashes for mrhttp-0.12-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cce3307c07962f7abd5d4aba4ca328a4b58a904e76e227e7800a32a9c946278 |
|
MD5 | a51e707edc1018d6d885c8743bc5ab68 |
|
BLAKE2b-256 | 3acf857494ed3945c4b797fa4650feea7c5181a6dd7d9350ba62a6dc4e6fed6f |
Close
Hashes for mrhttp-0.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc2927f59e5e92e9ef138ab7436fd6c249da33021b53bff37f7b471584b555b2 |
|
MD5 | 1fff4354a00215d4cff08980d72714fe |
|
BLAKE2b-256 | 3e51fdc66dabc917d3e66a38480e4487a5e1b475d73f88db5165bea33e2cd5e0 |
Close
Hashes for mrhttp-0.12-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 787ce46ede15c6e29ec445092340f174021af6a2f585408d407c42bcaead3a89 |
|
MD5 | 72c22dcd17b097f318a3dfde9889b756 |
|
BLAKE2b-256 | 12c749b447da03345429588bd8b5cd0261916d1331d5d021824117c496c65b9c |
Close
Hashes for mrhttp-0.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbbe278475fcc50df3f1031d170ba8b5533be52141f20afc2900d48d5c2b99b2 |
|
MD5 | 7235993a4a10cecc4756d7ccfe2d9a09 |
|
BLAKE2b-256 | 115af2ce4cbce88d1fcefd69f30fbe45974a75a7086da3e090002423a865dade |
Close
Hashes for mrhttp-0.12-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dc11cacdd63acc458d1f1c80494a6148fe621d12ee2cde80ca8979b4251b91b |
|
MD5 | b0d01e7db9225f20784f07a7137db39b |
|
BLAKE2b-256 | a1ad4c2e8749d7abb9dc03b2120f53cec0c546770315b1560574f2786e51c1e3 |
Close
Hashes for mrhttp-0.12-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 403309119f71571c17825adc1c952925ab03e01b3aedcede7e254dfa222f0abf |
|
MD5 | 1a4853f443c41df29a4a6a8d77bf1332 |
|
BLAKE2b-256 | baf3b204583a24ffdef3301c997aa3819fb7e9d8f2698394df89534a5fb57230 |
Close
Hashes for mrhttp-0.12-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42ca434ca615efd1e713db53036c3bb480c38917ef88476252f2b00bf9ce0722 |
|
MD5 | 63304a3ba74af4a5e84ecba2b34f883c |
|
BLAKE2b-256 | 21acc5710ad9f3000126b4e348e827994ed260f83cc19b03923079e2639d36f7 |
Close
Hashes for mrhttp-0.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb20d12155b1d470c108b8ae72e30a5a1a604747a48c02464c1419faf6020aaf |
|
MD5 | f7510028ecfb90fb510f528c098661cb |
|
BLAKE2b-256 | 38f7ea4bb7ab085a9cf131c2e91c4c593cf4c7a8db7a909c01996f259dc8f817 |
Close
Hashes for mrhttp-0.12-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e6cbbcfd99fe35af02e8ee823bedfc8431bb31201f328a596dd40d6d80a0e7e |
|
MD5 | 9e598c01dd85b126cb9c6279bd1284bd |
|
BLAKE2b-256 | cd05768c9d56ef43ab2510bd0378f7e62aa2c77c171c14040a1fca24c55529a8 |
Close
Hashes for mrhttp-0.12-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ea2803cfdf992173c9e509b817e9dda62cd22fd97fee2bd832ae8a65a0ebd0d |
|
MD5 | ee1f91263d007aac4b832dcd2855f16b |
|
BLAKE2b-256 | 1885c09f81ac9f7e61ced3afdb2913f93c06098343b0697431770bf5525b3e73 |
Close
Hashes for mrhttp-0.12-cp36-cp36m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2d4b5cbf20b5e9f3d74cef512fb51a41da556132f99f6bf8261302d8ec5a6e5 |
|
MD5 | 5538f3eb608376514c984767220467ae |
|
BLAKE2b-256 | 4ec2240ea40c592f83fca1142877e402f66d2c7ad18084aad27c787e666b15ef |
Close
Hashes for mrhttp-0.12-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8028e73a0b6ce8495d1bd41abb2181d8edfc75344d1e5112e60b8bb41a824be |
|
MD5 | 93451280a86fcc8e00a7bca72ae22ba8 |
|
BLAKE2b-256 | 2b8fa0de912349c231aee62f26d1e6dd881ef80737aad21c8fc7f90b6c171a36 |