15 Python Libraries You Should Know About

preview_player
Показать описание
In this video, I’ll share 15 Python libraries that are super cool, and you should know. These libraries can make your life easier, your code easier to read, and your projects more fun. 😉

🎓 Courses:

👍 If you enjoyed this content, give this video a like. If you want to watch more of my upcoming videos, consider subscribing to my channel!

Social channels:

👀 Code reviewers:
- Yoriz
- Ryan Laursen
- Dale Hagglund

🔖 Chapters:
0:00 Intro
0:23 Pendulum
1:24 PyPDF
1:52 Icecream
3:09 Loguru
4:12 Rich
4:44 Argparse
5:12 Tqdm
5:52 Xarray
6:42 Polars
7:08 Seaborn
8:10 Result
10:24 Pydantic
10:48 FastAPI
12:05 Sqlmodel
13:12 Httpx
13:43 BONUS
14:30 Outro

#arjancodes #softwaredesign #python

DISCLAIMER - The links in this description might be affiliate links. If you purchase a product or service through one of those links, I may receive a small commission. There is no additional charge to you. Thanks for supporting my channel so I can continue to provide you with free content each week!
Рекомендации по теме
Комментарии
Автор

The naming of the ICECREAM module is a clever play on the abbreviation "IC", which phonetically mirrors "I See" in English. This choice is fitting for a Python debugging tool, as it elegantly underscores its purpose: to illuminate the inner mechanisms of your code, much like peering through a transparent layer in a typically opaque Python environment.

frckfuq
Автор

really nice list, thanks for sharing Arjan! i started using argparse recently in a data engineering context, to set up a main job executor and pass ETL jobs and params as arguments. between that and config libraries like omegaconf and hydra, it's completely changed my application design for the better.

yubeeee
Автор

A deep dive video on SQLModel would be great. I like it. On my first pass at learning it, the foreign key constraints were a little confusing and I ended up refactoring some code once I fully understood it. But seeing a video might be a great way to know if there is a better way to define them. I was doing a light project with a SQLite-based database, but ultimately want to get to a project that uses PostgreSQL with geocoding.

If you did a video like that I would find it very interesting.

alansnyder
Автор

A CLI app is always a good idea when automating boring tasks at work like building reports or extracting data to manipulate. Its quick to develop and fast to execute.

DanielRodriguez-luuu
Автор

Your very informative and nicely composed videos helped me get a job in this tough market. Thank you very much, and keep up the good work!

OngakuAikoka
Автор

Love to learn about new libraries, you always find something new and exciting. Thank you Arjan!

MedievalChips
Автор

Thanks Arjan ! A full video on SQLModel will be very appreciated..

byryepez
Автор

Since I've started to learn rust I found the Result type (railway oriented programming) an incredible programming mindset.
The basic idea is that many of the exceptions we throw are not really exceptions, but just different paths that our program can take, so we shouldn't treat them differently. If that idea is well integrated into the language, is very powerful and allows to prevent issues.

AndreaDragotta
Автор

Smashing video. Some of these I have never heard about before and will now take a look. Thanks.

mrc
Автор

Not a library, but I wanted to mention this: Python Poetry saved me so many headaches at work the past 2 months. I have been been a single dev working on some new infrastructure as code stacks with TerraforCDK and was having a rough time with dependency management. It simplifies virtual envs, dependencies and packaing. Def worth checking it out!

JRMZ
Автор

I write quite a lot of CLI applications, and personally I find the docopt library really neat.

almquistjohan
Автор

We add CLI to almost all of our projects for a couple reasons: 1) it's a quick and easy way to test out what is the proper interface/API to your applications before you invest into a more complex API tooling and 2) our applications are mostly pipelines (orchestrated ML lifecycles), not always-up applications. CLI is just a very robust and controllable entrypoint for that type of applications.

benjaminbertincourt
Автор

"I scream" (bad) -> "Ice cream" (nice). Debugging becomes nice.

brulsmurf
Автор

Awesome collection. Please create a complete video about SQL Model + FastAPI . Thanks

the-shadow-brokers
Автор

This is super helpful, especially pydantic and icecream. Thank you so much!

barbaraulitsky
Автор

Great video, thanks!
Here is a new entry: Ray is a nice framework with a Python API that facilitates code parallelization, whether it is on a single machine or within a designated cluster.

Side note for people who might be interested: while Ray offers a user friendly experience, there is a certain degree of syntax overhead, making it challenging to run code in a serial manner without code modifications. To that end, I have build and published a wrapping library (still a work in progress), “ray-ease”, that allows to switch from parallel to serial without requiring code modifications.

arthurelskens
Автор

I adore icecream. Being able to run unit tests and get every variable in colour and very visible on the terminal with just a two letter function when debugging.

demolazer
Автор

Thanks for the informative video... A video on SQLModel would be nice!

What about a video about integrating between a REST API and a SOAP API using Zeep (Getting the data from both APIs, manipulating and comparing the data between the two to check if you should make a post, update or delete request to the REST API)? I think it should be interesting...

It can probably just be 2 REST APIs as well...

francoisschoeman
Автор

One of my go-to libraries for adding 12-factor structured logging to my code is structlog. Works equally well as a replacement or enhancement of the standard logging library, and extremely flexible and extensible.

nralbers
Автор

Great list, thank you Arjan! It would be great to see comparison of SQL Model and Django ORM though.

davorbokun