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.10.tar.gz
(73.5 kB
view hashes)
Built Distributions
Close
Hashes for mrhttp-0.10-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40495967c372463d7b28b8ee3e62b9d1178e72786c0f93220901159972460775 |
|
MD5 | c41bd8a6d93870240f3a4a882bb89043 |
|
BLAKE2b-256 | f4946fe473fb880863af127e2b54b1737542b3f41009c09a89b8a5dfe0c057ad |
Close
Hashes for mrhttp-0.10-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0780589b128650dd73ba4a9111069a5ed1731f4a7201c303c490ebac956e2c0 |
|
MD5 | ef348d8bcb33e1268572458f6a63cfa9 |
|
BLAKE2b-256 | 689ce496c8eb005e450bdbef4987db65fe64049a451257d03de58d24c6e84aec |
Close
Hashes for mrhttp-0.10-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2de02616d40a5727689239c94dbfa429d7c6d4516c83d60c0fee97ad01ce6335 |
|
MD5 | e03e1ab0d7b494f3feb6a0390caeaa88 |
|
BLAKE2b-256 | 2d37e6790685fe4e839ed608e445c309f231ce6b4104fb34bf4bec783fb99b80 |
Close
Hashes for mrhttp-0.10-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c62f9cd5d4083f113ea8efbad3dce949e5286d8dc064db48d2222785b11dad0e |
|
MD5 | 0ed195db31ee4fd6043bca333174b708 |
|
BLAKE2b-256 | 7e028ce94cfb6965bd2cfa15d0c3a42befd7554bc80a999344c9aa3cb0058b76 |
Close
Hashes for mrhttp-0.10-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c3c3b2fc5ccf4e5396344c6c3917555e4114b2b90de2f4c1d580f3a378c6199 |
|
MD5 | e99a0f9a00517400825f5b3a41c3dc6b |
|
BLAKE2b-256 | 44ade91d9bb6d2ca58f17cf4a4756bdc55607c3f0fdd444cd32a8e0b348159a2 |
Close
Hashes for mrhttp-0.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4541e4dc5bc9c5c6a94e74614e6847ba2ecf7fcb3998f7c8b60882987cdb74cf |
|
MD5 | ae7f4d2328ee3d1036c00f504039809b |
|
BLAKE2b-256 | b43b05df7bc6f3cdc92c347dc39f6fbc775e06b13be571e672cfdf9ca54e6e66 |
Close
Hashes for mrhttp-0.10-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30079946d2db554fdf25dff58bcc26cd410318f5f4645f21e68d167ecaa09910 |
|
MD5 | 48258f9e5b91818220e721a8a85a7227 |
|
BLAKE2b-256 | d32dd24bc9123f413be4dc3b35ba1bce574ad1d607147997ed3706f3df62d887 |
Close
Hashes for mrhttp-0.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63dccd56f5898a6c6be3e023124fd6d0a0887599003455f927801eca401a1b4f |
|
MD5 | 4e4a4854cd1d75dd9bd0b484b9477bd2 |
|
BLAKE2b-256 | 7b896b00936cd56e30102e9b59129b8800365d8b11ccd0bb65e46fdd1e299e72 |
Close
Hashes for mrhttp-0.10-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f65b03dd9b284aebd968e2108b8031526f9c61f04ef7da6a34d7de0bea7849c1 |
|
MD5 | ebcf4ca1c4072d1bf99118ceb12c2557 |
|
BLAKE2b-256 | 37e54d83efb4c2bf955941543afb94cde0f10e7aa8072e5de774a602cf091011 |
Close
Hashes for mrhttp-0.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7df951dcf772025d66d0d904014f6506e3c89c86c251c7c3b7d03bbee5c47a7 |
|
MD5 | 44bdc3f3efe9837079c6d69e780c4d78 |
|
BLAKE2b-256 | 5e26567947f61371375f823f7c9b6d14d1b2b7f7e1284ab33b095eee744ac62e |
Close
Hashes for mrhttp-0.10-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d28698e2660b63b858e9225559f63c0450b9f69731a6d194805ef9b921a5b02 |
|
MD5 | 46da336cec0b99aec71120569f9bce6f |
|
BLAKE2b-256 | a26c5313a6188ea5ea4a4b99607b9197ca90238d6313f888ea330016566e2857 |
Close
Hashes for mrhttp-0.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0156da735b2461ae8abc99ee8759c14bfca0de2217a50f26f11e939e6fdd219 |
|
MD5 | 6f918ddc1144a89e5500d24a515f9c23 |
|
BLAKE2b-256 | e0c3c817525c1b91721e0d808a707685896e47b6bec18732da3c3f5154a9ff62 |
Close
Hashes for mrhttp-0.10-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7da8b0775a210ae251a5707d8f9196389ee94463a2ec26538784eadcea816b1 |
|
MD5 | b3ac0d699df5dd5d86ff943c4e10f3c4 |
|
BLAKE2b-256 | 72d4b46e4bd2aa43aac491df7dd71e5f13897316fa27aecfe63f1ae5368e6029 |
Close
Hashes for mrhttp-0.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1efab35d283494030377b438e8b00d9bd9c014b9f8dfc4aa9ea5671d43a38fb1 |
|
MD5 | cbc2c43d416f8ef5fd6f916da216eb93 |
|
BLAKE2b-256 | 5d4624eb05b1521dda11313fb333850a18ac2842e5bd7e656d1874832433196e |
Close
Hashes for mrhttp-0.10-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a28bdc64e42bab4eda73505a358bdd8ffca4a0cdeb844edb1cd85dfc4540d283 |
|
MD5 | 2cba9868016a773d9c5a4127f332175f |
|
BLAKE2b-256 | 451e2528ef5a7f5200f8ef751a60061d8728309b10571e0ddfce2ca527061660 |
Close
Hashes for mrhttp-0.10-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7b1bb6092005ba21b6a1462142006dc3c2cb227476dabf0c8b17a94e58fe39d |
|
MD5 | 4ec6e64907c7ef18aee724e3775bc6d5 |
|
BLAKE2b-256 | 0303685554052a674ccb0f6cfe4ba7c4715572cdf239c07edfb8ece11a2bb693 |
Close
Hashes for mrhttp-0.10-cp36-cp36m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a9132e1635457e69b2031edb2643fbee458dcbb039e43e9b40e7a45c6954fd4 |
|
MD5 | 32822d34b9341b049a3010f1ca7ffa9d |
|
BLAKE2b-256 | 2dc5a2e5c9e42e6a847ca37697b36e40ba7ba0c7287c38ec641eb6102f150d98 |
Close
Hashes for mrhttp-0.10-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71d7fd73fecc23e3119a37cfcbae2d803bcf84abdbc9bbbc4310d6186fa4a386 |
|
MD5 | 57ab65ec8499730d5f22bb5b31a417df |
|
BLAKE2b-256 | b6348450b5fb3a02154f09e91db45c7cc7ea6835d8233beb0f016b7cbfe61c54 |