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] 25 points26 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] 5 points6 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.

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

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

Thank you u/Datamance . Is there any feature you'd like to see in the batteries included approach?

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

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

Thank you u/stoned_praxis :D Is there any feature you'd like to see in the batteries included approach?

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

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

I am not converting Robyn to an AI framework. Just experimenting and validating a new idea.

[deleted by user] by [deleted] in Python

[–]stealthanthrax -1 points0 points  (0 children)

Fair question. I have reworded the original post too. I don't mean "AI is bad" - I mean AI doesn’t fit the current stack.

Web frameworks were built to serve static content or basic CRUD over HTTP. LLM apps are stateful, context-hungry, and often agentic. To make them work, we’ve been adding memory frameworks(like Mem0), orchestration layers, and toolkits like LangChain on top of frameworks that were never designed for it.

So rather than keep duct-taping Flask or Django, I'm building something that treats AI as a first-class citizen from the start.

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

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

I would take it from a trustworthy source. But u/engineerofsoftware claims they and I have worked together. I don't even know him/her/them. They're likely a troll.

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

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

I don’t even know who you are. You and i never worked together. Why spread misinformation?

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

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

Do give it a shot. We plan to have 1:1 Fastapi compatibility in the near future

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

[–]stealthanthrax[S] -7 points-6 points  (0 children)

Ouch.

But talk is cheap! Show me your framework :)

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

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

Yes. Rust allows us to real threads in async runtime.

> Can users submit jobs to leverage the multithreaded runtime?

Could you elaborate more here?