Robyn

Robyn is a Super Fast Async Python Web Framework with a Rust runtime.

BSD-2-CLAUSE License

Downloads
114.2K
Stars
3.5K
Committers
69

Bot releases are hidden (Show)

Robyn - v0.42.0 - add `request.json()` with startup performance improvements

Published by sansyrox about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/sparckles/Robyn/compare/v0.41.1...v0.42.0

Robyn - v0.41.1 - Improved logging and adding a --version flag

Published by sansyrox about 1 year ago

What's Changed

Full Changelog: https://github.com/sparckles/robyn/compare/v0.41.0...v0.41.1

Robyn - v0.41.0 - Replace body with description parameter and reduce wheel size

Published by sansyrox about 1 year ago

What's Changed

Full Changelog: https://github.com/sparckles/robyn/compare/v0.40.0...v0.41.0

Robyn - v0.40.0 - allow adding routes without using decorator

Published by sansyrox about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/sparckles/robyn/compare/v0.39.0...v0.40.0

What's Changed

Full Changelog: https://github.com/sparckles/robyn/compare/v0.38.0...v0.39.0

Robyn - v0.38.0 - An improved CLI for create-robyn-app

Published by sansyrox about 1 year ago

What's Changed

https://github.com/sparckles/robyn/assets/29942790/afcfb08e-1f43-43d1-879c-b23e876527df

Full Changelog: https://github.com/sparckles/robyn/compare/v0.37.0...v0.38.0

What's Changed

New Contributors

Full Changelog: https://github.com/sparckles/robyn/compare/v0.36.2...v0.37.0

Robyn - v0.36.0 - Add authentication Support

Published by sansyrox over 1 year ago

What's Changed

Full Changelog: https://github.com/sparckles/robyn/compare/v0.35.1...v0.36.0

Robyn - v0.35.1 - make returning text from websocket messages optional

Published by sansyrox over 1 year ago

What's Changed

Full Changelog: https://github.com/sansyrox/robyn/compare/v0.35.0...v0.35.1

What's Changed

Full Changelog: https://github.com/sansyrox/robyn/compare/v0.34.0...v0.35.0

What's Changed

Full Changelog: https://github.com/sansyrox/robyn/compare/v0.33.0...v0.34.0

What's Changed

New Contributors

Full Changelog: https://github.com/sansyrox/robyn/compare/v0.32.0...v0.33.0

Robyn - v0.32.0 - Implement SubRouters

Published by sansyrox over 1 year ago

We're proud to announce the addition of SubRouters to Robyn. This feature allows developers to create subrouters, providing a convenient way to group routes together.

The functionality of SubRouters extends to both normal routes and web sockets, acting as a smaller-scale replica of the main router. SubRouters can be utilized in exactly the same way as the main router, with the minor prerequisite of adding the SubRouter to the main router.

We hope you enjoy the increased flexibility this feature brings to your routing capabilities in Robyn! As always, we look forward to your feedback.

What's Changed

New Contributors

Sample Usage

SubRouters

You can create subrouters in Robyn. This is useful when you want to group routes together.

Subrouters can be used for both normal routes and web sockets. They are basically a mini version of the main router and can be used in the same way.

The only caveat is that you need to add the subrouter to the main router.

from robyn import Robyn, SubRouter

app = Robyn(__file__)

sub_router = SubRouter("/sub_router")

@sub_router.get("/hello")
def hello():
    return "Hello, world"

web_socket = SubRouter("/web_socket")

@web_socket.message()
async def hello():
    return "Hello, world"

app.add_sub_router(sub_router)

Full Changelog: https://github.com/sansyrox/robyn/compare/v0.31.0...v0.32.0

Robyn - v0.31.0 - Add a global exception handler decorator

Published by sansyrox over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/sansyrox/robyn/compare/v0.30.0...v0.31.0

Robyn - v0.30.0 - BIRTHDAY RELEASE 🎂 - Add Global Middlewares

Published by sansyrox over 1 year ago

What's Changed

Full Changelog: https://github.com/sansyrox/robyn/compare/v0.29.0...v0.30.0

Robyn - v0.29.0 - Add docker support in create robyn app

Published by sansyrox over 1 year ago

What's Changed

Full Changelog: https://github.com/sansyrox/robyn/compare/v0.28.4...v0.29.0

What's Changed

New Contributors

Full Changelog: https://github.com/sansyrox/robyn/compare/v0.28.3...v0.28.4

Robyn - v0.28.3 - implement --docs flag for Robyn cli

Published by sansyrox over 1 year ago

What's Changed

Full Changelog: https://github.com/sansyrox/robyn/compare/v0.28.2...v0.28.3

Robyn - v0.28.2 - Fixes crashing on incorrect PAYLOAD Environment variable

Published by sansyrox over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/sansyrox/robyn/compare/v0.28.1...v0.28.2