What's So Special About this Python Framework?!

  Рет қаралды 10,443

John Watson Rooney

John Watson Rooney

Күн бұрын

I really enjoy looking at new frameworks and seeing how things work together.
Robyn is a Python framework written in Rust that is FAST and exciting, I will be watching its development closely!
github.com/sansyrox/robyn
Scraper API www.scrapingbee.com/?fpr=jhnwr
Patreon: / johnwatsonrooney
Donations: www.paypal.com/donate/?hosted...
Proxies: iproyal.club/JWR50
Hosting: Digital Ocean: m.do.co/c/c7c90f161ff6
Gear I use: www.amazon.co.uk/shop/johnwat...
Disclaimer: These are affiliate links and as an Amazon Associate I earn from qualifying purchases
timstamps
00:00 intro
01:14 robyn
03:31 code
04:40 benchmarks*
05:31 fastapi & comparison

Пікірлер: 49
@sanskarjethi
@sanskarjethi Жыл бұрын
Hi John 👋 Sanskar here, the author of Robyn. Firstly, thank you for covering the framework and for the great content. Documentation is one of our top most priorities and will improve substantially over the coming months. ✨ One suggestion, you can pass in the `--workers` flag to allow Robyn to serve a higher throughput. The default 1 worker is for prototyping or development mode. e.g. `python app.py --workers=5`. The number can vary depending on the power of your machine.
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Hey! Thanks for comment! I appreciate the efforts you've put into Robyn and I've enjoyed using it + yes you are right, I missed out the workers part
@stxnw
@stxnw Жыл бұрын
I will not be cheering Robyn on. I was looking through the issues and PRs and saw several red flags that led me to believe that the maintainer is largely incompetent. See issue #145. > I see a project with Rust and I am very excited thinking about type safety, but there is no Python typing in the current functions; have you considered adding them? "I am not a big fan of strongly typed languages(sorry but this is just me xD) BUT I found out that the community loves them. So, this is definitely a high priority issue. But, I don't have much experience with it so any help(either docs, resources or code contributions) would be highly appreciated." His reply has told me three things. 1) Rust is a strongly-typed language which the framework is based on and he hates such languages. This signals to me that the current or future Rust codebase in Robyn will be largely disappointing. 2) As a Python developer, he has no experience with typing in Python, which is arguably a core feature of Python 3 as of now. I can only expect the framework to have poor DX. 3) The maintainer himself is not dedicated to implementing types and the framework will probably see the same fate as Tensorflow, now losing popularity to the more typed PyTorch. Will not be wasting time on this framework. I'll stick with FastAPI until someone who actually cares about both Python and Rust technologies appear.
@TheJFMR
@TheJFMR Жыл бұрын
Thanks John for sharing your amazing discoveries with us
@higiniofuentes2551
@higiniofuentes2551 Жыл бұрын
Thank you for this video! Is good to be aware of new stuff!
@carlos-ferreira
@carlos-ferreira Жыл бұрын
Thank you for releasing constantly great and helpful content.
@Blubberland
@Blubberland Жыл бұрын
4:32 subtle and classy. very nice therefor 👍
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
haha. thanks
@ma3lomatnet
@ma3lomatnet Жыл бұрын
Thanks! I like such videos, trending libraries and frameworks thanks so much! and best of luck
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Thanks i appreciate it
@aminehadjmeliani72
@aminehadjmeliani72 Жыл бұрын
Thanks for the enlightenment John!!
@igorstojanoski9948
@igorstojanoski9948 Жыл бұрын
Thank you for this useful information!
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Thanks for watching
@fmictsang8874
@fmictsang8874 Жыл бұрын
Thanks for sharing.
@selim3291
@selim3291 Жыл бұрын
Thanks to inform us
@valuetraveler2026
@valuetraveler2026 Жыл бұрын
Great stuff. I have been waiting for the dethroning of Pandas and I am excited about building a career based on Rust
@peculiar-coding-endeavours
@peculiar-coding-endeavours 3 ай бұрын
Well, it's pretty much dethroned thanks to Polars ;-)
@alexandrodisla6285
@alexandrodisla6285 3 ай бұрын
I miss the swaggerui out of the box. And the dependency injection of fastapi. And the harmony with pydantic is missing.
@movieblast1259
@movieblast1259 Жыл бұрын
Again a good video
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Thank you
@graczew
@graczew Жыл бұрын
Will watch later. Like and comment to feed algorithms 😉👍
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Thank you!
@baz9862
@baz9862 Жыл бұрын
Hi John. Bit off topic but how would you normally distribute a python web scraping script to a client if they needed it to run once a month etc? Would you convert it to exe and send it to them or perhaps run it in the cloud and have it email them? Cheers
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Hi - I would run it myself on my own server and either give them a simple interface to login and download/see data or email a complete file over each week
@s6yx
@s6yx Жыл бұрын
would be great if theres a way to make a swagger url like fastapi does
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
I think you can you just have to set it up yourself, I’ll have to look into it
@hiajajnherve
@hiajajnherve Жыл бұрын
Thank you very much. I follow you and your videos are very helping. Could you please do a video to scape autosuggestion from any website please. Thank you in advance.
@harshjaiswal3078
@harshjaiswal3078 Жыл бұрын
Hello sir I have watched your scrapy playlist very great content you have made There's a website i am trying to scrape the scrapy is reading only the head of the html code . The body is not getting read. I also tried to do it with splash but it is getting 502 bad gateway Could please help me 🙏
@bakasenpaidesu
@bakasenpaidesu Жыл бұрын
It looks interesting...
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
I think it is. Not production ready I don’t think but good for side projects or personal stuff
@bakasenpaidesu
@bakasenpaidesu Жыл бұрын
@@JohnWatsonRooney YES!!!
@heshamabdellatif196
@heshamabdellatif196 Жыл бұрын
What does "hey" command do ??
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
“Hey” is a terminal app for benchmarking and testing web apps and APIs
@strawberriesandcum
@strawberriesandcum Жыл бұрын
By bye flask/fastapi, looks like I got a new toy :)
@ReddSpark
@ReddSpark 11 ай бұрын
How does it compare to Django Ninja i wonder
@JohnWatsonRooney
@JohnWatsonRooney 11 ай бұрын
I’ve not used django ninja before, only DRF. This is much newer but I was interested as it was built on a rust server for performance
@altairbueno5637
@altairbueno5637 Жыл бұрын
Bro didnt disable log output….
@hipertracker
@hipertracker Жыл бұрын
Is Robyn displaying the log output like the FastAPI version? This is a bottleneck here. Try to suppress log output in FastAPI and then compare.
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Good point thanks
@whatsnext2286
@whatsnext2286 Жыл бұрын
Great video!!🔥 Can you make a video where you use httpx? I have a project where I need to input stuff into a text field and then hit a submit button. How do I interact with a site using httpx? Thanks!
@mauisam1
@mauisam1 Жыл бұрын
Interesting. But it looks to be too a little bit new still to use for production. I think though a wait and see approach. Good to know though, thanks again!
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Yes it’s still a young project but I like the idea and what it might mean going forward
@evalinor
@evalinor Жыл бұрын
So guy who created new framework. - "Hmm, i have fastapi with 100.000 rps/sec, in my project i have 0.02 rps/sec. Its time to create new faster framework" =)
@bakasenpaidesu
@bakasenpaidesu Жыл бұрын
They are becoming like a node module devs.
@jeanchindeko5477
@jeanchindeko5477 Жыл бұрын
0:47 Polars is already there from quite some time and it’s blazing fast compared to our lovely Pandas 🐼. Unfortunately Pandas is the go to library for data manipulation and not enough people talking about Polars
@JohnWatsonRooney
@JohnWatsonRooney Жыл бұрын
Yeah I have actually heard of it until recently but it seems to be very good
@jeanchindeko5477
@jeanchindeko5477 Жыл бұрын
@@JohnWatsonRooney yes, it is if you compared it to Pandas. The API is also simpler, more like PySpark API. And the performance comparison with Pandas is similar to what you've shown when comparing Robyn and FastAPI.
@higiniofuentes2551
@higiniofuentes2551 Жыл бұрын
When I discovered Flask, I was happy because it was far more interesting than Django! And the rest are only variations (improved for sure)! Rust? I'm not interested, imagine thousands of programs to maintain and you are having a mix of API with different languages and more or less documentation? 3 months after the delivery, a modification and you are f...!
@ondskabenselv
@ondskabenselv Жыл бұрын
I will watch it, but the clickbaity title makes me sad 😢
Mesop - Python-based UI framework from Google!
16:20
Harshit Tyagi
Рет қаралды 47 М.
Каха ограбил банк
01:00
К-Media
Рет қаралды 11 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 14 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 10 МЛН
Using Rust to write scalable Python APIs
6:57
Isaac Harris-Holt
Рет қаралды 11 М.
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 155 М.
Best Web Scraping Combo? Use These In Your Projects
20:13
John Watson Rooney
Рет қаралды 42 М.
Why I Switched from Python to Rust for AI Deployment
9:57
Code In a Jiffy
Рет қаралды 19 М.
Robyn: An Async Python Web Framework with Rust Runtime
21:55
Robin Raymond:  Rusty Python - A Case Study
28:47
PyData
Рет қаралды 2 М.
Tide is perhaps my favorite Rust web app framework.
9:14
Dreams of Code
Рет қаралды 94 М.
How To Structure A Programming Project…
19:00
Tech With Tim
Рет қаралды 87 М.
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 317 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 1,6 МЛН
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 2 МЛН