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 details)
Built Distribution
Unit-0.2.2-py3-none-any.whl
(26.3 kB
view details)
File details
Details for the file Unit-0.2.2.tar.gz
.
File metadata
- Download URL: Unit-0.2.2.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5fa2306c3d7483cf513c421fc9a64b520d11674b450aa9645aebdd5f8ef76d3 |
|
MD5 | edf50034b867504ce4d20935ca56ea9e |
|
BLAKE2b-256 | 244438f25717a71df9992d5bd065fa3e7f85a2673af2ccee56caedf60386de5e |
File details
Details for the file Unit-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: Unit-0.2.2-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4dae36c7013e7d69b1c89826aa5543d24088720f81bdc01ba0627e98edc3b86 |
|
MD5 | 83b57a8e77a5fcee411618f26f74fdc3 |
|
BLAKE2b-256 | cf43977e6d6f0d59449e77407bf4fa01b4d97c59136cdc615663256e78e9af74 |