Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saghul/uvwsgi
Python WSGI server
https://github.com/saghul/uvwsgi
Last synced: 3 months ago
JSON representation
Python WSGI server
- Host: GitHub
- URL: https://github.com/saghul/uvwsgi
- Owner: saghul
- License: mit
- Created: 2013-08-18T22:35:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-06-18T11:10:51.000Z (over 8 years ago)
- Last Synced: 2024-10-11T01:46:49.695Z (4 months ago)
- Language: Python
- Homepage: https://pypi.python.org/pypi/uvwsgi
- Size: 21.5 KB
- Stars: 37
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - uvwsgi - Python WSGI server (Python)
README
uvwsgi: a Python WSGI server
============================uvwsgi is a Python WSGI server whhich uses *libuv* and *http-parser* libraries
also used in `Node.JS `_ through their Python binding libraries:* `pyuv `_
* `http-parser `_Motivalion
----------There are abunch of great WSGI servers out there, so why create a new one? I've been
playing with Flask and WSGI lately and I wanted to see the guts of it. As you can see
the code is pretty short, I expect to make more changes and more features to it though.Status
------**uvwsgi should not be used in production.** It's still work in progress.
The project is not very actively maintained at the moment, if you'd like to help please
drop me a line!Installtion
-----------uvwsgi can be easily installed with pip::
pip install uvwsgi
Usage
-----Example usage::
from flask import Flask
from uvwsgi import runapp = Flask(__name__)
@app.route('/')
def index():
return 'hello world!'if __name__ == '__main__':
run(app, ('0.0.0.0', 8088))The ``uvwsgi`` command line application can also be used to serve WSGI applications
directly. Assuming the code above this lines is stored in a file called `tst.py`, it can be
served as follows::uvwsgi tst:app --port 8888
NOTE: You need to install the package first in order to have the ``uvwsgi`` command available.
Author
------Saúl Ibarra Corretgé
License
-------Unless stated otherwise on-file uvwsgi uses the MIT license, check LICENSE file.