Skip to main content

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


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)

Uploaded Source

Built Distribution

Unit-0.2.2-py3-none-any.whl (26.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page