Eric Roby
Eric Roby
  • 250
  • 767 502
SQLAlchemy vs. SQLModel: Which Python ORM is BEST?
SQLAlchemy and SQLModel are going head to head to see which one is the BEST.
Want FREE code repositories? www.codingwithroby.com/freebies
🎓 Courses can be found:
FastAPI Beginner & Advanced: www.udemy.com/course/fastapi-the-complete-course/?referralCode=4F4A35C1A243D23A1A59
Learn Chatbot Development: www.udemy.com/course/the-complete-chatbot-bootcamp/?referralCode=2654798EE9F9998023B9
🎥 React + FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html
🎥 AWS Lambda + FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html
🎥 MongoDB + FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-deo.html
🎥 MySQL + FastAPI: ua-cam.com/video/zzOwU41UjTM/v-deo.html
🎥 PostgreSQL + FastAPI: ua-cam.com/video/398DuQbQJq0/v-deo.html
👨‍💻 Hi, I am Eric!👨‍💻
Hey! I’m a seasoned developer and Cloud enthusiast. I love sharing my knowledge and helping others to discover the exciting world of programming and cloud technologies. For more tutorials, tips, and tech magic, don’t forget to hit that subscribe button and ring the bell for notifications!
🙏 Support The Channel 🙏
If you found this tutorial helpful, please give it a thumbs up 👍, comment, and share it with your network 🌍
#python #sqlalchemy #sqlmodel
Переглядів: 1 318

Відео

I Stopped Using Everything Else Once I Found Pydantic
Переглядів 3 тис.День тому
Pydantic is a MUST have for Python data validation. Stop wasting your time! Want FREE code repositories? www.codingwithroby.com/freebies 🎓 Courses can be found: FastAPI Beginner & Advanced: www.udemy.com/course/fastapi-the-complete-course/?referralCode=4F4A35C1A243D23A1A59 Learn Chatbot Development: www.udemy.com/course/the-complete-chatbot-bootcamp/?referralCode=2654798EE9F9998023B9 🎥 React Fa...
This New Python Tool Makes Dependencies 10x FASTER! (uv tutorial)
Переглядів 1,3 тис.14 днів тому
uv python is the best Python dependency management tool on the market. Get this repository: www.codingwithroby.io/get-repo/uv Want MORE free repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-deo.html 🎥 MySQL FastAPI: ua-cam.com/vide...
Supabase Tutorial: Build Full Stack FastAPI Apps 10x Faster (step-by-step)
Переглядів 1,8 тис.21 день тому
Supabase with FastAPI will allow you to develop fullstack apps 10x faster. Learn Supabase to ship Python code fast! Get this repository: www.codingwithroby.io/get-repo/Supabase Want MORE free repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.com/video/QkGq...
Python is NOW the MOST Popular Programming Language!
Переглядів 1,1 тис.21 день тому
Python surpasses JavaScript as the most popular programming language on GitHub! Learn why Python takes the throne in this video. Want FREE repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-deo.html 🎥 MySQL FastAPI: ua-cam.com/video/...
OpenTelemetry FastAPI Tutorial: Get GREAT App Performance NOW!
Переглядів 821Місяць тому
OpenTelemetry along with Python and FastAPI is the best way to easily track, trace, and monitor your python app’s performance. 💻 Repository: www.codingwithroby.io/get-repo/opentelemetry Want to learn FastAPI? Go here: www.udemy.com/course/fastapi-the-complete-course/?referralCode=4F4A35C1A243D23A1A59 Join a member community of Python Developers: www.youtube.com/@codingwithroby/join Want to see ...
FastAPI vs Flask: Which is BEST for you?
Переглядів 4,8 тис.Місяць тому
FastAPI and Flask battle it out to see which Python API framework is best! Want free repositories? www.codingwithroby.com/freebies Want to learn FastAPI? Go here: www.udemy.com/course/fastapi-the-complete-course/?referralCode=4F4A35C1A243D23A1A59 Join a community of Python Developers: www.youtube.com/@codingwithroby/join Checkout all courses: www.codingwithroby.com/courses Checkout these videos...
Stop Wasting Hours - Every Python Dev NEEDS to Master Poetry
Переглядів 6 тис.Місяць тому
Python Poetry is a dependency management tool that is used in almost all enterprise python projects. Learn Poetry Python if you do not want to waste time! Get this repository: www.codingwithroby.io/get-repo/poetry Want MORE free repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 M...
FastHTML Tutorial: Build Modern Web Applications with Pure Python
Переглядів 8 тис.Місяць тому
FastHTML is a new way to build modern web applications using only Python. Get this repository: www.codingwithroby.io/get-repo/fasthtml Want MORE free repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-deo.html 🎥 MySQL FastAPI: ua-cam...
Cursor AI Makes Coding EASY Even for Beginners!
Переглядів 2,9 тис.Місяць тому
Cursor AI is a unique take on AI app development. In this video we will be using Cursor AI to try and create a social media backend. Get this repository: www.codingwithroby.io/get-repo/cursor-ai Want free repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.c...
Build an Entire App with a Single API: GraphQL Python Tutorial
Переглядів 3,1 тис.2 місяці тому
In this Python Strawberry GraphQL video we will build an entire project with a single API. We will go over why GraphQL was created by Facebook as well. Want free repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-deo.html 🎥 MySQL Fas...
Dependency Injection Explained Like You’re 5 (with FastAPI Examples)
Переглядів 4,5 тис.2 місяці тому
Learning dependency injection can be hard. In this simple FastAPI tutorial we will go over dependency injection and that Depends Keyword. 💻 Repository: www.codingwithroby.io/get-repo/dependencyinjection Want more free repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB Fast...
SQLModel: The Python Library You Didn’t Know You Needed
Переглядів 7 тис.2 місяці тому
SQLModel is coming for the throne of Python ORMs.This video covers everything you need to know about SQLModel and how to get it started within your personal Python project. 💻 Repository: www.codingwithroby.io/get-repo/sqlmodel Want free repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo....
SQLAlchemy Makes Using Python Databases EASY
Переглядів 5 тис.2 місяці тому
SQLAlchemy has been the GOAT of Python ORMs for over a decade. This video covers everything you need to know about SQLAlchemy and how to get it started within your personal Python project. 💻 Repository: www.codingwithroby.io/get-repo/sqlalchemy Want free repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/...
FastAPI vs. Django REST Framework: Which One Should You Choose?
Переглядів 7 тис.3 місяці тому
FastAPI and Django Rest Framework, DRF, are two major Python frameworks for building your Python API products. But the big question remains: which one should you choose? Want free repositories? www.codingwithroby.com/freebies 🎥 React FastAPI: ua-cam.com/video/0zb2kohYZIM/v-deo.html 🎥 AWS Lambda FastAPI: ua-cam.com/video/7-CvGFJNE_o/v-deo.html 🎥 MongoDB FastAPI: ua-cam.com/video/QkGqjPFIGCA/v-de...
Connect Amazon RDS to FastAPI [Complete Cloud Guide]
Переглядів 1,1 тис.3 місяці тому
Connect Amazon RDS to FastAPI [Complete Cloud Guide]
How to build a NextJS + FastAPI application (step-by-step tutorial)
Переглядів 15 тис.4 місяці тому
How to build a NextJS FastAPI application (step-by-step tutorial)
FastAPI vs Django - The Ultimate Showdown! (Detailed Comparison)
Переглядів 13 тис.5 місяців тому
FastAPI vs Django - The Ultimate Showdown! (Detailed Comparison)
How to build a Vue + FastAPI application (with JWT authentication)
Переглядів 5 тис.6 місяців тому
How to build a Vue FastAPI application (with JWT authentication)
Deploy FastAPI on Vercel | Quick and Easy Tutorial
Переглядів 12 тис.6 місяців тому
Deploy FastAPI on Vercel | Quick and Easy Tutorial
Why You Should Learn FastAPI Today
Переглядів 13 тис.7 місяців тому
Why You Should Learn FastAPI Today
JWT Authentication for React and FastAPI (easy with code)
Переглядів 13 тис.7 місяців тому
JWT Authentication for React and FastAPI (easy with code)
Learn Docker to Make Deployment Easy (step-by-step)
Переглядів 3,5 тис.7 місяців тому
Learn Docker to Make Deployment Easy (step-by-step)
Learn Middleware by Building a REAL Project (fastapi rate limiting)
Переглядів 7 тис.7 місяців тому
Learn Middleware by Building a REAL Project (fastapi rate limiting)
Design Scalable Apps with CQRS and FastAPI (easy)
Переглядів 3,1 тис.7 місяців тому
Design Scalable Apps with CQRS and FastAPI (easy)
Staying Motivated While Learning Software Engineering
Переглядів 2068 місяців тому
Staying Motivated While Learning Software Engineering
These 7 Software Engineering Skills Give An Unfair Advantage
Переглядів 7029 місяців тому
These 7 Software Engineering Skills Give An Unfair Advantage
9 Software Engineering Myths Wasting Your Time
Переглядів 1,9 тис.10 місяців тому
9 Software Engineering Myths Wasting Your Time
7 Actionable Tips to Become Great at Software Engineering
Переглядів 43811 місяців тому
7 Actionable Tips to Become Great at Software Engineering
How I Would Learn Software Engineering Fast (from Zero Experience)
Переглядів 1,5 тис.11 місяців тому
How I Would Learn Software Engineering Fast (from Zero Experience)

КОМЕНТАРІ

  • @rajventures3526
    @rajventures3526 2 години тому

    it seems pycharm only supports FastAPI if using Professional Edition which is paid, is there another IDE that I can use that supports FastAPI? This is just for learning and personal project so I dont plan to spend $25 a month for a professional license.

  • @calebmatthias1765
    @calebmatthias1765 17 годин тому

    This is so far the best video I have seen on this subject! Thank you for the post

  • @ayoubbouchedoub9047
    @ayoubbouchedoub9047 18 годин тому

    was i the only one expecting this query: get all books for each author? Thanks that was a good video.

  • @GayuniBas
    @GayuniBas День тому

    Please when you're making tutorials don't just read the lines. We can read ourselves. We'd appreciate it if you could briefly mention why we need each line. But either way, Thank you very much for this tutorial it helped me get a clear overview of how to use FastAPI with PostgreSQL

  • @dpno
    @dpno 2 дні тому

    Thank you

  • @blifferg3964
    @blifferg3964 3 дні тому

    Hi! Could you please make a video explaining how to test a FastAPI application with an asynchronous database setup?

  • @مبشر
    @مبشر 5 днів тому

    Loved all sqlmodel and sqlalchemy videos. Still waiting for sqlmodel listen for row changes to develop a socket io project

    • @chriskeo392
      @chriskeo392 2 дні тому

      What's an example for this? Sounds cool

  • @emmanuelalder9052
    @emmanuelalder9052 5 днів тому

    Another great video. Thank you.

  • @kmahendranath3224
    @kmahendranath3224 5 днів тому

    Just like Albus Dumbledore gave additional points to Gryffindor towards the end of Philospher's stone. You too gave brownie points to SQLModel :D Great Stuff by you as always

  • @CoderBoy2004
    @CoderBoy2004 5 днів тому

    Please make project on fastapi backend and react frontend ❤ I am waiting for you 😢

    • @codingwithroby
      @codingwithroby 5 днів тому

      I already got that man! Check out my other videos

  • @sokchea007
    @sokchea007 5 днів тому

    Async connection comparison is missing. Can you elaborate this part?

    • @codingwithroby
      @codingwithroby 5 днів тому

      Their async connections are the same. Since SQLAlchemy has it, SQLModel automatically gets it.

  • @eboyd53
    @eboyd53 5 днів тому

    I would like to see code comparison videos between the two ORM. I think the idea of data validation being handled by the ORM is interesting and would love to see how these two compare.

    • @codingwithroby
      @codingwithroby 5 днів тому

      The code is fairly similar, slight differences.

  • @codingwithroby
    @codingwithroby 5 днів тому

    Would you rather see more SQLAlchemy or SQLModel in the future videos?

    • @ammarsalahi1369
      @ammarsalahi1369 5 днів тому

      I wanna make clone of instagram and I using sqlmodel, what do you think?? Please give guidance for this🤔

  • @مبشر
    @مبشر 7 днів тому

    Love your lectures, can you please make a video on realtime operations listen in sqlmodel. Such as chatting or any other realtime examples to listen row changes in specific table of database.

  • @jacksonfeng4327
    @jacksonfeng4327 8 днів тому

    Hardcode local host in a client side js script is a problem.

  • @happymeatbeer9925
    @happymeatbeer9925 10 днів тому

    YEAH, I love it very much.

  • @emmanuelalder9052
    @emmanuelalder9052 10 днів тому

    Hi Eric, another great, easy-to-follow, and understand video. I love this channel, super useful content. Would you consider doing another MongoDB video, this time using Beanie as the ODM, as it leverages Pydantic? I would be super grateful. Thank you.

    • @codingwithroby
      @codingwithroby 10 днів тому

      Ohh interesting! I will take a look and add something similar to my backlog

    • @emmanuelalder9052
      @emmanuelalder9052 9 днів тому

      @codingwithroby thank you 😁

  • @kp12345-n
    @kp12345-n 10 днів тому

    I'm disappointed. Users could learn more from the ChatGPT than watching this video. You didn't show Async SQLAlchemy which is a challenging topic. Sync SQLAlchemy is pretty straightforward.

    • @codingwithroby
      @codingwithroby 9 днів тому

      Thanks for the feedback

    • @paulsilas6295
      @paulsilas6295 5 днів тому

      Hey you can find other resources that teaches Async SQLAlchemy, or use the same acclaimed chatGPT to learn async SQLAlchemy so you would never be disappointed in life again.

    • @kp12345-n
      @kp12345-n 3 дні тому

      @@paulsilas6295 Of course I can refer to different resources but I was expecting a better output from Eric.

  • @MrHopp24
    @MrHopp24 10 днів тому

    Pydantic + MongoDB + FastAPI is a killer stack

  • @codetheai4377
    @codetheai4377 10 днів тому

    Zod,yup for python??

  • @RHasanRatul
    @RHasanRatul 10 днів тому

    Still be confused where to use sqlmodel and sqlalchemy. Can we get a elaborated video on the topic with demo : how these differs in use cases! Edit: Also where not to use sqlmodel, where not to use sqlalchrmy...

    • @codingwithroby
      @codingwithroby 10 днів тому

      Yeah - I can do a more in-depth video on this. In general thought SQLModel and SQLAlchemy do the same thing. You only want one or the other in your app. It is what allows you to do CRUD operations to a db.

  • @codingwithroby
    @codingwithroby 10 днів тому

    What would you like to see next?

    • @josfk
      @josfk 10 днів тому

      First, thank you so much for these extraordinary videos!!! ❤ Would you consider making a video about Reflex. I am especially interested on whether or not it can be used just as a frontend, decoupling the backend (ie, using FastAPI, although I think it uses it under the hood). 😊

    • @abhishekkaswan7476
      @abhishekkaswan7476 10 днів тому

      sorry for spamming again, waiting for in depth advanced FastAPI course covering everything FastAPI, SQLModel, real world project(Microservices) , docker, ci/cd, testing, webhook etc... Loved the content as always. Thank You :)

    • @codingwithroby
      @codingwithroby 9 днів тому

      Not spamming at all, thanks for the info!

  • @HimjyotiSarma-s9e
    @HimjyotiSarma-s9e 10 днів тому

    Hi Eric, Your content is always the best. Thank you for the video

  • @teogf
    @teogf 11 днів тому

    Do you have a complete course that combines fastapi+Jinja2+htmx?

    • @codingwithroby
      @codingwithroby 10 днів тому

      I do not, but I do have a video coming in a few weeks on this topic 🙂

    • @teogf
      @teogf 2 дні тому

      @codingwithroby I stay watching. I'm not moving from here. 👀

  • @MovingUp_Lolo
    @MovingUp_Lolo 11 днів тому

    FastAPI update db_user = models.User(**user.dict()) does not work now, the update reduires you to use models_dump() instead. e.g db_user = models.User(**user.model_dump())

  • @CoderBoy2004
    @CoderBoy2004 11 днів тому

    My friend i will try it 😊

    • @codingwithroby
      @codingwithroby 10 днів тому

      I am using it in a lot of upcoming videos 🙂

    • @CoderBoy2004
      @CoderBoy2004 10 днів тому

      @codingwithroby I am creating full stack e commerce app in fastapi and react Can i share my code to you friend?

  • @baohuariley5740
    @baohuariley5740 15 днів тому

    thank you so much for your video. I'll pick up 100 days of challenge again!

  • @ruksharalam173
    @ruksharalam173 16 днів тому

    Can you please make a similar comparison video between Async Django Ninja and FastAPI?

    • @codingwithroby
      @codingwithroby 16 днів тому

      It is on the backlist of content for me to make 🙂

  • @jordiprim2668
    @jordiprim2668 16 днів тому

    Hi, did a little bit more for fun: delete users, get all users etc. Then I make delete with user_dependency, so only users authenticated can delete. And I tried to delete the user validated and worked (I guess till 20 minuts it will work). Nice tutorial!

    • @codingwithroby
      @codingwithroby 16 днів тому

      haha awesome! I appreciate the kind words on the tutorial 🙂

  • @maulikmadhavi
    @maulikmadhavi 17 днів тому

    have you tested pdm, uv, pixi, poetry?

    • @codingwithroby
      @codingwithroby 16 днів тому

      Like have I used them before, or have I done competitive testing for performance, etc?

  • @BritScientist
    @BritScientist 17 днів тому

    Thank You. Why don't you organize you code in `__init__()` in your classes without creating unnecessary functions next to classes? Dependency injection in FastAPI requires callable, so it may be a class, not only function.

    • @codingwithroby
      @codingwithroby 16 днів тому

      I have learned it is easy for beginners to learn by breaking things out like this. But perhaps in the future I should start implementing in the constructor or class like you are suggesting.

  • @AnindyaMitra-c5u
    @AnindyaMitra-c5u 17 днів тому

    I am watching the video midway through...not sure why application programmers are hell-bent on managing data model in programming languages. There are data modelling tools for that. Like I can write every logic in DB stored procedures than Python but that would be a bad solution design. What I would expect from an ORM is to give a semantic layer to define object structure and also option to map object data components with DB tables and columns. So my semantic layer that is used in coding is not impacted even if DB side undergoes changes. Example, my Python name "Questions.id" may be mapped to "T_Question.skey" table+column in DB. ER modelling do not use plural names for tables as it refers to each tuple instance by the name as a set. Where can I do that in this ORM? For me, an ORM is a design platform not programming. But did not get that clarity from the demo. May be I need to check the documentation if such options are there. An ORM with UML/ER modelling like GUI interface where we can simply drag and drop from DB catalog/metadata would be preferred. Also should be able to give impact analysis when DB model is altered.

  • @Mitial
    @Mitial 17 днів тому

    Great video, thanks for sharing! Would you recommend this in monitoring check setups opposed to venv?

    • @codingwithroby
      @codingwithroby 16 днів тому

      From the sound of it, uv is becoming a top contender with dependency management. I'd say use uv or pip/venv, you cannot go wrong with either but uv does have some nice extra features.

  • @efbYouTube
    @efbYouTube 17 днів тому

    txs 4 sharing! excellent resource as always! do u recommend learning rust &/or mojo as well?

    • @codingwithroby
      @codingwithroby 17 днів тому

      Personally, I probably wouldn't spend the time unless you are interested. I am mostly a Python/Java job and everything has worked out great!

  • @codingwithroby
    @codingwithroby 17 днів тому

    uv is now used within FastAPI. And probably what I am going to be using right now moving forward!

  • @CodewithAltech
    @CodewithAltech 17 днів тому

    My mentor mentoring

  • @udaym4204
    @udaym4204 18 днів тому

    never use orm not good for performance

    • @codingwithroby
      @codingwithroby 17 днів тому

      Noooo very bad take! Always use an ORM.

  • @petehall1900
    @petehall1900 18 днів тому

    Please video on how to make a simple game using python for Android mobile?

    • @codingwithroby
      @codingwithroby 17 днів тому

      Very niche topic - Let me add that to my backlog of future videos 🙂

    • @petehall1900
      @petehall1900 17 днів тому

      @codingwithroby thank you