mirror of
https://github.com/jamesroberts/fastwsgi.git
synced 2025-12-20 13:49:31 -06:00
dfad57ade41d9dabebea760dba2c8260028ef786
Fast WSGI
Note: Fast WSGI is still under development...
Fast WSGI is an ultra fast WSGI server for Python 3.
It is mostly written in C. It makes use of libuv and llhttp under the hood for blazing fast performance.
Example usage with Flask
See example.py for more details.
import fast_wsgi
from flask import Flask
app = Flask(__name__)
@app.get("/")
def hello_world():
return "Hello, World!", 200
if __name__ == "__main__":
fast_wsgi.run(wsgi_app=app, host="0.0.0.0", port=5000)
TODO
- Test integration with other frameworks (uWSGI, Django, etc)
- Comprehensive error handling
- Complete HTTP/1.1 compliance
- Test on multiple platforms (Windows/MacOS)
- Unit Tests
Description
Languages
C
78.5%
Python
18.7%
Shell
2.4%
Makefile
0.3%
Batchfile
0.1%