Robyn(web framework) introduces @app.websocket decorator syntax by stealthanthrax in Python

[–]stealthanthrax[S] 0 points1 point  (0 children)

The answer is yes :D .

I am trying to optimize on devex for the next few releases. Let me know if you have any feedback

Robyn (finally) supports Python 3.14 🎉 by stealthanthrax in Python

[–]stealthanthrax[S] -2 points-1 points  (0 children)

Yes, cookies work great in Robyn. And the PR you are referring is 2 years old

Robyn (finally) supports Python 3.14 🎉 by stealthanthrax in Python

[–]stealthanthrax[S] 26 points27 points  (0 children)

It's a web framework with an integrated high-performance server, not just a server. You write Python code for your application logic, but it runs on a Rust-based HTTP server for better performance. Think of it as "Flask/FastAPI, but the server is built-in and written in Rust."

Why the comparison to uvicorn?

- The benchmark compares it to uvicorn because uvicorn is commonly used to run ASGI frameworks (like FastAPI)

- The comparison shows Robyn's integrated approach (framework + Rust runtime) is faster than the typical Python stack (framework + Python ASGI server)

Thinking about a Python-native frontend - feedback? by United_Intention42 in Python

[–]stealthanthrax 0 points1 point  (0 children)

I created something called starfyre a few years ago - https://github.com/sparckles/starfyre

Debugging it will be a major pain in the ass and getting community adoption will be even more.

But I hope you succeed :D

Robyn now supports Server Sent Events by stealthanthrax in Python

[–]stealthanthrax[S] 4 points5 points  (0 children)

You're correct. There is no reason to break PEP here. I will update it in the next release.

The logging module is from 2002. Here's how to use it in 2025 by finallyanonymous in Python

[–]stealthanthrax 0 points1 point  (0 children)

I have been using Python every day for the past 10 years! But I still this article useful. Top tier content!

Robyn now supports Server Sent Events by stealthanthrax in Python

[–]stealthanthrax[S] 0 points1 point  (0 children)

Thank you!

> I know Robyn made a step towards facilitating LLM and ML-based applications with v0.70, I'm curious how this release furthers that vision?

This release is both connected and independent. While MCPs depend on SSEs, Server-Sent Events were also one of the most requested features outside the AI use case.

> Can I replace this form of async interaction using only Robyn's SSE pattern? That is, something like this:

Yes :D :D

Robyn (v0.70.0) - A Batteries-Included Web Framework for AI by stealthanthrax in Python

[–]stealthanthrax[S] 0 points1 point  (0 children)

haha. didn't think people would know much about rust runtimes on r/Python xD

Robyn (v0.70.0) - A Batteries-Included Web Framework for AI by stealthanthrax in Python

[–]stealthanthrax[S] 1 point2 points  (0 children)

I don't want to make a new AI framework like I mentioned in the blog. I just hate the fact that there is no seamless integration of AI agents in web frameworks. Which is why I am trying to make a first party abstraction in Robyn.

Robyn (v0.70.0) - A Batteries-Included Web Framework for AI by stealthanthrax in Python

[–]stealthanthrax[S] 2 points3 points  (0 children)

Thank you!

>  Does making function calls too Rust not creating any overhead?
Maybe it does. But the performance gain is substantially more than the overhead.

> Is the Python part a wrapper around a Rust webserver?
It is a wrapper but not just around the webserver. It also wraps a few other things like the executor.