An asynchronous web framework written in Python.
Project description
Installation
Unit requires Python 3.5 and is available on PyPI. Use pip to install it:
$ pip install unit
“Hello, World!” Example
import unit
app = unit.Application(__name__)
@app.route('/')
def hello(request):
return 'Hello, World!'
if __name__ == '__main__':
app.run()
License
Unit is developed and distributed under the Apache 2.0 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Unit-0.2.2.tar.gz
(23.3 kB
view hashes)
Built Distribution
Unit-0.2.2-py3-none-any.whl
(26.3 kB
view hashes)