1 Star 0 Fork 0

Gitee 极速下载 / Robyn

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/sansyrox/robyn
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Robyn

Gitter

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()

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

app.start()

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

  4. To measure the performance: ./server_test.sh

Contributors/Supporters

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

Repository Comments ( 0 )

Sign in for post a comment

About

Robyn 是 Rust 编写的异步 Python 后端 Web 服务器,在 Rust 异步运行时之上运行 Python 服务 expand collapse
Python and 3 more languages
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Python
1
https://toscode.gitee.com/mirrors/Robyn.git
git@toscode.gitee.com:mirrors/Robyn.git
mirrors
Robyn
Robyn
asgi-support

Search