Top 10 Python Modules 2022

pixegami · Beginner ·🔧 Backend Engineering ·4y ago
Skills: CV Basics80%

Key Takeaways

The video discusses the top 10 Python modules for 2022, including FastAPI, Django, TensorFlow, Pandas, and OpenCV, with a focus on computer vision and machine learning.

Full Transcript

hi everyone welcome to this video where i'll be going through the top 10 python modules that i think you should learn or at least know about in 2022. this list is going to be unranked so the ordering doesn't really mean anything but the goal for me with this list is to try to cover as wide range of a field as possible all the way from machine learning to web development and as a result of that i won't include two modules from the same category if they are too similar because i want to limit this list to just 10 items which i feel is already a lot to have on your plate i'm also focused on larger modules and frameworks which will help you deliver a complete project from end to end so this list won't include modules like numpy or pi test which although they are very good and very important packages in themselves uh they usually i feel they play more of a supporting role in a project so with that out of the way let's get started the first module is fast api this is a framework for building python web apis this means turning your python functions into a restful http endpoint apis like these are extensively used across all type of tech stacks whether it's web development enterprise software machine learning finance or game development to use fast api all you have to do is write your function then annotate it with a decorator now when you run this python program you can use an http endpoint to call a function and if you want to publish it for production use you can either deploy to a server using pretty much any cloud provider or you can even host it as a serverless function like on aws lambda the next framework on this list is django now if you need a web framework that can do more than fast api then django is the heavyweight option it pretty much offers an entire tech stack rolled into one framework allowing you to build a production grade web application from start to finish competitors in other languages include frameworks like ruby on rails or laravel and like those other examples it's a traditional back-end web framework in that the actual html pages are generated and transmitted to the user from the server side this unfortunately also means that django does require a server to run so unlike with fast api there is no serverless way to architect a django project which consequently means it's harder to scale horizontally it's also not as widely adopted or dominant as some other web frameworks in different languages such as react or asp.net but despite all of these setbacks django is still an excellent choice for python users its key strength being in that it allows you to develop an end-to-end product very quickly just from this one framework alone well-known platforms that were built on django or at least at some point in their history include instagram spotify and youtube number three is tensorflow as a runtime python dominates the machine learning and ai space and there are many high quality frameworks within this category but the most popular one is tensorflow which is developed and maintained by google other notable frameworks include keras and pytorch which is my personal favorite but from what i understand these frameworks all tend to have similar capabilities in that they give you tools and functions to one build a neural network model two feed it with data this process is usually called training or fitting and three use the trained model on new input or also known as inference the frameworks themselves aren't difficult to use the functions and modules are pretty straightforward the real barrier in machine learning however is actually understanding all the concepts and math behind your neural network so knowing what things like layers features and activation functions are and how to apply them applications of tensorflow include things like google translate text-to-speech generation and ai for self-driving cars the fourth module on this list is pandas if you want to do anything with data you won't get far without running to pandas this module gives you an extremely powerful set of tools to work with tabular data like csvs and spreadsheets or time series data like weather records or financial market data you can use it to visualize the data do bulk operations on it modify rows and columns and much more pandas is used extensively in any data-heavy field like machine learning statistics finance and enterprise software number five matplotlib if you want to visualize data on a graph then matplotlib is currently the most popular solution you can turn your data think lists dictionaries or matrices into line graphs bar charts heat maps and pretty much anything else you can think of what i really especially like about matpot lib is that it is super easy to pick up you can probably generate your first graph in less than 10 minutes but underneath the surface it packs a ton of functionality for how you can visualize and present your data this module is also extremely popular in any data heavy field including machine learning and ai where it is commonly used to visualize a neural network's training progress number six pillow python imaging library also known as pillow or pil is a framework that lets you work with images so that means loading images creating images modifying color channels saving images that kind of thing if images are a core component of your project then pillow is a great module to learn for example you can use it to pre-process image data for machine learning use it as an api to generate thumbnails from text input or automate tasks like resizing and cropping images uploaded to your application number seven is opencv opencv is the dominant module for computer vision in python as you can probably guess that's what the letters cv stand for like pillow it is a module designed around working with images but unlike pillow which focuses on image manipulation and editing opencv focuses on understanding the meaning of an image unsurprisingly its applications are closely related to machine learning for example things like face detection object tracking and image classification number eight is pygame pygame is a game development framework with a graphical user interface and although it's not really powerful enough to make commercial games it is still an excellent framework for prototyping and for learning there's actually not a lot of python frameworks that let you render an interactive real-time graphical interface so pygame stands out to me because it lets you work with a lot of those type of concepts without having to go as far as learning something like unity or unreal engine number nine is pi qt pi qt is also a graphical user interface framework its focus though is in building cross-platform desktop applications the library gives you widgets and tools to construct an entire ui with things like buttons lists text boxes and so on and since it is cross-platform you can expect your application to work on linux windows and mac os notable examples of pi qt applications include spyder which is a python ide and early iterations of dropbox and last but not least number 10 is selenium selenium is a web automation tool or a web driver it is a virtual browser that you can use to interact with regular websites for example filling in forms moving the mouse and clicking buttons and gathering data from the website the main use case for selenium is actually for writing automated tests for your front end but you can also use it to write bots or tools that automate the interaction with a real website and that's it for the top 10 python modules that i recommend you learning for building your next project in 2022. just in case you're interested some other modules i've considered for this list include flask beautiful soup kievy and ursina and a couple of others as well if you have experience with any of these frameworks or if there's other good frameworks you know that you think deserve to be on this list then please share your thoughts in the comments below otherwise that's pretty much it thank you for watching and hopefully i'll catch you in the next one [Music] you

Original Description

In this video, I'll be going through what I think are the top 10 Python modules to learn in 2022 --- with an emphasis on larger modules and frameworks that help you deliver a complete end-to-end project. 📚 Chapters 00:00 Introduction 00:51 #1 FastAPI (api backend) 01:35 #2 Django (web development) 02:45 #3 Tensorflow (machine learning) 03:50 #4 Pandas (working with data) 04:22 #5 Matplotlib (data visualization) 05:05 #6 Pillow (image processing) 05:39 #7 OpenCV (computer vision) 06:10 #8 PyGame (game development) 06:40 #9 PyQT (desktop GUI) 07:13 #10 Selenium (browser automation) 07:39 Wrap up
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from pixegami · pixegami · 10 of 60

1 How to Build an AWS Lambda Function in Python in Just 7 Minutes!
How to Build an AWS Lambda Function in Python in Just 7 Minutes!
pixegami
2 AWS CDK Tutorial: Deploy a Python Lambda Function using AWS
AWS CDK Tutorial: Deploy a Python Lambda Function using AWS
pixegami
3 I used GPT-3 to Write Poetry • Is AI the Future of Creative Writing?
I used GPT-3 to Write Poetry • Is AI the Future of Creative Writing?
pixegami
4 Create NFT Generative Art with Python! (Full Tutorial)
Create NFT Generative Art with Python! (Full Tutorial)
pixegami
5 Build an AI-driven SaaS Application: FULLSTACK Tutorial with Python, React, and AWS
Build an AI-driven SaaS Application: FULLSTACK Tutorial with Python, React, and AWS
pixegami
6 NextJS and TailwindCSS: How to Build a Portfolio Site from Scratch
NextJS and TailwindCSS: How to Build a Portfolio Site from Scratch
pixegami
7 Python Web Scraping Tutorial • Step by Step Beginner's Guide
Python Web Scraping Tutorial • Step by Step Beginner's Guide
pixegami
8 Build Wordle in Python • Word Game Python Project for Beginners
Build Wordle in Python • Word Game Python Project for Beginners
pixegami
9 How to create 1000+ unique NFT-style images (like Cryptopunk) | Python Tutorial
How to create 1000+ unique NFT-style images (like Cryptopunk) | Python Tutorial
pixegami
Top 10 Python Modules 2022
Top 10 Python Modules 2022
pixegami
11 How to Send SMS Text Messages with Python & Twilio - Quick and Simple!
How to Send SMS Text Messages with Python & Twilio - Quick and Simple!
pixegami
12 How To Write Unit Tests in Python • Pytest Tutorial
How To Write Unit Tests in Python • Pytest Tutorial
pixegami
13 How to Style Your React Landing Page with Tailwind CSS
How to Style Your React Landing Page with Tailwind CSS
pixegami
14 FastAPI Python Tutorial - Learn How to Build a REST API
FastAPI Python Tutorial - Learn How to Build a REST API
pixegami
15 How to Deploy FastAPI on AWS EC2: Quick and Easy Steps!
How to Deploy FastAPI on AWS EC2: Quick and Easy Steps!
pixegami
16 PyScript • How to run Python in a browser
PyScript • How to run Python in a browser
pixegami
17 My Custom Ubuntu Linux Terminal with Themes and Plug-ins 💻
My Custom Ubuntu Linux Terminal with Themes and Plug-ins 💻
pixegami
18 Deploy FastAPI on AWS Lambda ⚡ Serverless hosting!
Deploy FastAPI on AWS Lambda ⚡ Serverless hosting!
pixegami
19 NextJS Firebase Auth Tutorial • How to Authenticate Users for Your App
NextJS Firebase Auth Tutorial • How to Authenticate Users for Your App
pixegami
20 AWS Lambda Python functions with a database (DynamoDB)
AWS Lambda Python functions with a database (DynamoDB)
pixegami
21 How To Build a CRUD (TO-DO) App on AWS using FastAPI and Python
How To Build a CRUD (TO-DO) App on AWS using FastAPI and Python
pixegami
22 How to Make a Discord Bot with Python
How to Make a Discord Bot with Python
pixegami
23 How To Use GitHub Copilot (with Python Examples)
How To Use GitHub Copilot (with Python Examples)
pixegami
24 PyTest • REST API Integration Testing with Python
PyTest • REST API Integration Testing with Python
pixegami
25 Python Beginner Project: Build a Caesar Cipher Encryption App
Python Beginner Project: Build a Caesar Cipher Encryption App
pixegami
26 Decorators in Python: How to Write Your Own Custom Decorators
Decorators in Python: How to Write Your Own Custom Decorators
pixegami
27 NextJS 13 Tutorial: Create a Static Blog from Markdown Files
NextJS 13 Tutorial: Create a Static Blog from Markdown Files
pixegami
28 Exploring ChatGPT for Coding and Business ✨ 8 Real Examples!
Exploring ChatGPT for Coding and Business ✨ 8 Real Examples!
pixegami
29 How I Would Learn Python (if I had to start over) • A Roadmap for 2023
How I Would Learn Python (if I had to start over) • A Roadmap for 2023
pixegami
30 Build an AI Pokemon Generator with Python and Midjourney
Build an AI Pokemon Generator with Python and Midjourney
pixegami
31 Why You Should Learn Python in 2023 (as your first programming language)
Why You Should Learn Python in 2023 (as your first programming language)
pixegami
32 ChatGPI API in Python ✨ How to Build a Custom AI Chat App
ChatGPI API in Python ✨ How to Build a Custom AI Chat App
pixegami
33 Learn Python • #1 Installation and Setup • Get Started With Python!
Learn Python • #1 Installation and Setup • Get Started With Python!
pixegami
34 Learn Python • #2 Variables and Data Types • Python's Building Blocks
Learn Python • #2 Variables and Data Types • Python's Building Blocks
pixegami
35 Learn Python • #3 Operators • Add, Subtract and More...
Learn Python • #3 Operators • Add, Subtract and More...
pixegami
36 Learn Python • #4 Conditions • If / Else Statements
Learn Python • #4 Conditions • If / Else Statements
pixegami
37 Learn Python • #5 Lists • Storing Collections of Data
Learn Python • #5 Lists • Storing Collections of Data
pixegami
38 Learn Python • #6 Loops • How to Repeat Code Execution
Learn Python • #6 Loops • How to Repeat Code Execution
pixegami
39 Learn Python • #7 Dictionaries • The Most Useful Data Structure?
Learn Python • #7 Dictionaries • The Most Useful Data Structure?
pixegami
40 Learn Python • #8 Tuples and Sets • More Ways To Store Data!
Learn Python • #8 Tuples and Sets • More Ways To Store Data!
pixegami
41 Learn Python • #9 Functions • Python's Most Important Concept?
Learn Python • #9 Functions • Python's Most Important Concept?
pixegami
42 Learn Python • #10 User Input • 4 Ways To Get Input From Your User
Learn Python • #10 User Input • 4 Ways To Get Input From Your User
pixegami
43 Learn Python • #11 Classes • Create and Use Classes in Python
Learn Python • #11 Classes • Create and Use Classes in Python
pixegami
44 Learn Python • #12 Final Project • Build an Expense Tracking App!
Learn Python • #12 Final Project • Build an Expense Tracking App!
pixegami
45 Stripe & Firebase Tutorial • Add Payments To Your NextJS App
Stripe & Firebase Tutorial • Add Payments To Your NextJS App
pixegami
46 How To Use GitHub Actions • Automate Your AWS Deployments
How To Use GitHub Actions • Automate Your AWS Deployments
pixegami
47 How to Run a Python Docker Image on AWS Lambda
How to Run a Python Docker Image on AWS Lambda
pixegami
48 My MacOS Terminal Setup for HIGH Productivity
My MacOS Terminal Setup for HIGH Productivity
pixegami
49 Host a Python Discord Bot on AWS Lambda (Free and Easy)
Host a Python Discord Bot on AWS Lambda (Free and Easy)
pixegami
50 Python FastAPI Tutorial: Build a REST API in 15 Minutes
Python FastAPI Tutorial: Build a REST API in 15 Minutes
pixegami
51 Pydantic Tutorial • Solving Python's Biggest Problem
Pydantic Tutorial • Solving Python's Biggest Problem
pixegami
52 How to Get Started with AWS • Crash Course
How to Get Started with AWS • Crash Course
pixegami
53 Python Requests Tutorial: HTTP Requests and Web Scraping
Python Requests Tutorial: HTTP Requests and Web Scraping
pixegami
54 Amazon Bedrock Tutorial: Generative AI on AWS
Amazon Bedrock Tutorial: Generative AI on AWS
pixegami
55 How to Publish a Python Package to PyPI (pip)
How to Publish a Python Package to PyPI (pip)
pixegami
56 Langchain: The BEST Library For Building AI Apps In Python?
Langchain: The BEST Library For Building AI Apps In Python?
pixegami
57 RAG + Langchain Python Project: Easy AI/Chat For Your Docs
RAG + Langchain Python Project: Easy AI/Chat For Your Docs
pixegami
58 Python Dataclasses: Here's 7 Ways It Will Improve Your Code
Python Dataclasses: Here's 7 Ways It Will Improve Your Code
pixegami
59 Build a Custom AI RPG Game with OpenAI GPTs
Build a Custom AI RPG Game with OpenAI GPTs
pixegami
60 Create a Custom AI Assistant + API in 10 Mins
Create a Custom AI Assistant + API in 10 Mins
pixegami

This video teaches the top 10 Python modules for 2022, with a focus on computer vision and machine learning, and provides an overview of each module's capabilities and applications.

Key Takeaways
  1. Install FastAPI and Django for web development
  2. Use TensorFlow for machine learning and AI tasks
  3. Utilize Pandas for data manipulation and analysis
  4. Apply OpenCV for computer vision projects
  5. Visualize data with matplotlib
  6. Work with images using Pillow
💡 OpenCV is the dominant module for computer vision in Python, and can be used for a variety of applications, including image and video processing.

Related AI Lessons

Chapters (12)

Introduction
0:51 #1 FastAPI (api backend)
1:35 #2 Django (web development)
2:45 #3 Tensorflow (machine learning)
3:50 #4 Pandas (working with data)
4:22 #5 Matplotlib (data visualization)
5:05 #6 Pillow (image processing)
5:39 #7 OpenCV (computer vision)
6:10 #8 PyGame (game development)
6:40 #9 PyQT (desktop GUI)
7:13 #10 Selenium (browser automation)
7:39 Wrap up
Up next
This Cop Was Held Accountable For His Brutality! #police #lawyer
Hampton Law
Watch →