What's So Special About this Python Framework?!

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025

Комментарии • 49

  • @sanskarjethi
    @sanskarjethi Год назад +21

    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  Год назад +1

      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 Год назад +2

      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.

  • @ma3lomatnet
    @ma3lomatnet 2 года назад +3

    Thanks! I like such videos, trending libraries and frameworks thanks so much! and best of luck

  • @higiniofuentes2551
    @higiniofuentes2551 2 года назад +2

    Thank you for this video! Is good to be aware of new stuff!

  • @TheJFMR
    @TheJFMR 2 года назад +3

    Thanks John for sharing your amazing discoveries with us

  • @carlos-ferreira
    @carlos-ferreira 2 года назад +4

    Thank you for releasing constantly great and helpful content.

  • @Blubberland
    @Blubberland Год назад +2

    4:32 subtle and classy. very nice
    therefor 👍

  • @alexandrodisla6285
    @alexandrodisla6285 9 месяцев назад +1

    I miss the swaggerui out of the box. And the dependency injection of fastapi.
    And the harmony with pydantic is missing.

  • @aminehadjmeliani72
    @aminehadjmeliani72 2 года назад +1

    Thanks for the enlightenment John!!

  • @valuetraveler2026
    @valuetraveler2026 Год назад +2

    Great stuff. I have been waiting for the dethroning of Pandas and I am excited about building a career based on Rust

  • @igorstojanoski9948
    @igorstojanoski9948 2 года назад +1

    Thank you for this useful information!

  • @fmictsang8874
    @fmictsang8874 2 года назад +1

    Thanks for sharing.

  • @selim3291
    @selim3291 2 года назад +1

    Thanks to inform us

  • @s6yx
    @s6yx 2 года назад +1

    would be great if theres a way to make a swagger url like fastapi does

    • @JohnWatsonRooney
      @JohnWatsonRooney  2 года назад

      I think you can you just have to set it up yourself, I’ll have to look into it

  • @baz9862
    @baz9862 Год назад +1

    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  Год назад +3

      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

  • @heshamabdellatif196
    @heshamabdellatif196 2 года назад +1

    What does "hey" command do ??

    • @JohnWatsonRooney
      @JohnWatsonRooney  2 года назад

      “Hey” is a terminal app for benchmarking and testing web apps and APIs

  • @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 🙏

  • @ReddSpark
    @ReddSpark Год назад +1

    How does it compare to Django Ninja i wonder

    • @JohnWatsonRooney
      @JohnWatsonRooney  Год назад

      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

  • @hipertracker
    @hipertracker Год назад +7

    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.

  • @movieblast1259
    @movieblast1259 2 года назад +1

    Again a good video

  • @graczew
    @graczew 2 года назад +1

    Will watch later. Like and comment to feed algorithms 😉👍

  • @whatsnext2286
    @whatsnext2286 Год назад +1

    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!

  • @PunchlineClips
    @PunchlineClips Год назад

    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.

  • @bakasenpaidesu
    @bakasenpaidesu 2 года назад +2

    It looks interesting...

    • @JohnWatsonRooney
      @JohnWatsonRooney  2 года назад +1

      I think it is. Not production ready I don’t think but good for side projects or personal stuff

    • @bakasenpaidesu
      @bakasenpaidesu 2 года назад +1

      @@JohnWatsonRooney YES!!!

  • @evalinor
    @evalinor 2 года назад +4

    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 Год назад +2

      They are becoming like a node module devs.

  • @altairbueno5637
    @altairbueno5637 2 года назад +1

    Bro didnt disable log output….

  • @jeanchindeko5477
    @jeanchindeko5477 2 года назад +1

    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  2 года назад

      Yeah I have actually heard of it until recently but it seems to be very good

    • @jeanchindeko5477
      @jeanchindeko5477 2 года назад

      @@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 2 года назад +1

    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...!

  • @mauisam1
    @mauisam1 2 года назад +1

    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  2 года назад

      Yes it’s still a young project but I like the idea and what it might mean going forward

  • @ondskabenselv
    @ondskabenselv 2 года назад

    I will watch it, but the clickbaity title makes me sad 😢