Skip to main content

A web server that is fast!

Project description

Robyn

Gitter Downloads

Robyn is an async Python backend server with a runtime written in Rust, btw.

Python server running on top of of Rust Async RunTime.

Installation

You can simply use Pip for installation.

pip install robyn

Usage

from robyn import Robyn

app = Robyn(__file__)

@app.get("/")
async def h():
    return "Hello, world!"

app.start(port=5000)

Contributor Guidelines

Feel free to open an issue for any clarification or for any suggestions.

If you're feeling curious. You can take a look at a more detailed architecture here.

To Run Locally

  1. Add more routes in the test.py file(if you like). It only supports only get requests at the moment

  2. Run maturin develop

  3. Run python3 test.py

To Run

Without hot reloading

python3 app.py

With hot reloading

python3 app.py --dev=true

Contributors/Supporters

Thanks to all the contributors of the project. Robyn will not be what it is without all your support :heart:.

Special thanks to the PyO3 community and Andrew from PyO3-asyncio for their amazing libraries and their support for my queries. 💖

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for robyn, version 0.7.0
Filename, size File type Python version Upload date Hashes
Filename, size robyn-0.7.0-cp37-cp37m-macosx_10_7_x86_64.whl (1.7 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size robyn-0.7.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.4 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size robyn-0.7.0-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl (2.9 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size robyn-0.7.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.8 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size robyn-0.7.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size robyn-0.7.0-cp37-cp37m-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.7 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size robyn-0.7.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (4.0 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size robyn-0.7.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl (3.3 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size robyn-0.7.0-cp37-none-win32.whl (1.6 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size robyn-0.7.0-cp37-none-win_amd64.whl (1.7 MB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size robyn-0.7.0-cp38-cp38-macosx_10_7_x86_64.whl (1.7 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size robyn-0.7.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.4 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size robyn-0.7.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (2.9 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size robyn-0.7.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.8 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size robyn-0.7.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size robyn-0.7.0-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.7 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size robyn-0.7.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (4.0 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size robyn-0.7.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl (3.3 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size robyn-0.7.0-cp38-none-win32.whl (1.6 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size robyn-0.7.0-cp38-none-win_amd64.whl (1.7 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size robyn-0.7.0-cp39-cp39-macosx_10_7_x86_64.whl (1.7 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size robyn-0.7.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.4 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size robyn-0.7.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl (2.9 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size robyn-0.7.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.8 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size robyn-0.7.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size robyn-0.7.0-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (2.7 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size robyn-0.7.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (4.0 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size robyn-0.7.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl (3.3 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size robyn-0.7.0-cp39-none-win32.whl (1.6 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size robyn-0.7.0-cp39-none-win_amd64.whl (1.7 MB) File type Wheel Python version cp39 Upload date Hashes View
Filename, size robyn-0.7.0.tar.gz (60.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page