Top 18 Most Useful Python Modules

Tech With Tim · Beginner ·🧬 Deep Learning ·6y ago

Key Takeaways

The video discusses the top 18 most useful Python modules for web development, machine learning, data science, and graphical user interfaces, including requests, Django, flask, twisted, Beautiful Soup, Selenium, NumPy, Pandas, TensorFlow, Keras, PyTorch, and Scikit-learn.

Full Transcript

hello everybody and welcome back so in this video I'm going to be sharing with you 18 Python modules you need to know now I've split these modules up into four different categories to make things a little bit easier for us and those categories are web development data science machine learning and AI and graphical user interfaces near the end of the video I also share my personal favorite Python module so make sure you stay tuned to see what that is also make sure to share with me in the comments down below your favorite Python module and we'll get into the content in just a second after a word from our sponsor I need to thank simply line for sponsoring this video and introduce you to their machine learning certification course in this course you will explore the necessary skills and techniques to become a machine learning engineer and unlock the power of this emerging field through 58 hours of online and instructor-led training you'll work on four industry based course projects and develop your skills through interactive coding activities and labs and Jupiter notebooks a few of the topics you'll learn include supervised and unsupervised machine learning time series modeling linear and logistic regression decision trees random forests classifiers deep learning and many other topics this course comes with a hundred percent money-back guarantee and you can get started today by hitting the link in the description the first category of modules that I'd like to discuss is those that deal with web development and HTTP requests now Python is heavily known for back-end web development and therefore you could assume that there's a lot of different modules available to make enterprise level websites in Python now the first module I want to talk about is actually the requests module now the request module is used to send HTTP requests with ease it's very simple it's easy to use and is the most downloaded Python package today pulling in around 14 million downloads a week and according to github it's actually dependent upon by about three hundred and sixty seven thousand repositories now this next one that I'm going to talk about is actually more of a framework than it is a module although you do install it and that is called Django now Django is a web framework for Python it's very heavy weights and it's actually used by companies like Instagram and tinder or originally was used by them to make their websites so Django is a completely Python back-end web framework you can use other languages with it you can connect it with other framework and it comes with a whole ton of tools and complex developer features that allow you to make well enterprise-level websites now the next module that I want to talk about is flask now flask is kind of a competitor of Django they're both web frameworks although they do have some fundamental differences so Django and flask work similarly for basic web sites although flask is much easier and faster to get set up it's a much lighter weight web framework and it doesn't come with all of the tools and crazy things that come with Django so if you want to know which one to pick if you're using Django or flask for web development if you were trying to make a very serious website do everything properly have serious authentication and things like that you probably use Django but if you're doing more of a side project or something a little bit smaller then you would likely want to pick flask is that's a much easier module to get running and working with now the next module I want to talk about is twisted now I don't know too much about this one but I did want to throw it on my list because this is actually used for doing online game development now you can do other things with it as well but essentially this allows communication between clients and servers very easily and it'll just make your life a lot easier than having to program out your own socket server so check that out if you're trying to do any kind of online interaction or you know real-time games or something like that with Python now the next module on our list is beautiful soup for now I believe there's some other versions of this as well you know there's likely three two and one but beautiful soup is a great module for scraping the web so if you're doing web scraping you're trying to grab HTML data beautiful soup can do that for you and it's pretty easy to get that working and the last module on my list for web development is selenium now selenium is used to do automation on websites so essentially allowing you to either test your websites or to make some kind of bot that will interact with other websites so you could do things like access HTML fields you can move your mouse cursor around you can click you can access buttons that's what a selenium allows you to do cool module I haven't played with it too much although definitely something worth mentioning on this web development list so the next category to dive into here is data science now python is very popular for data science and one of the reasons for that is all of the different modules that are available that make a data scientist life much easier for example the first module on my list is not hi now numpy is an amazing module for doing any kind of mathematical operations in Python so essentially what it allows you to do is work with array like objects of multiple dimensions so like matrices for example and do all kind of complicated three dimension four dimension five dimensional math very fast and one of the reasons it's so fast actually is because a lot of the operations are implemented in C which means using numpy will actually make your program a lot faster than if you were to say not use that module and implement those operations in standard Python now the next module to discuss in this data science category is pandas now pandas is great for reading and working with data frames and just data in general makes it very easy to manipulate data work with data clean data get rid of columns and everything that you pretty much would want to do with data now the next module that works with these two very nicely is a map plot lip now matplotlib is used for doing data visualizations so it's really good for visualizing your data making plots making charts and it's also really good for working with machine learning models and visualizing things like say a loss function or the amount of accuracy that your machine learning model is getting over a certain amount of epochs per se so now we move on to the last two modules in my list the first of which is NLT k now NLT K stands for natural language toolkit and it's used for doing any kind of data processing or text processing so if you have textual data and you want to remove things like punctuation or spaces or tokenize your data for example natural language toolkit can help you do that as a ton of tools for working with text-based data and well natural language processing and for the last module on our list we have open CV now open CV is an extremely powerful module that's used for many different things wherever its main focus is on image and video data processing so we can do things like feature detection and description it actually does object recognition and detection as well and as some machine learning models built into the module that you can use to manipulate data work with images you can draw things on images it's just an extremely powerful module for really doing anything with image or video data now this transitions us nicely into the next category which is machine learning an AI and the first module I have in this case Gauri is tensorflow now tensorflow is by far the most powerful module in this section it's maintained and supported by Google and you can do some extremely powerful things with it without really having a great understanding of how all the math works and that's the benefit of tensorflow is it allows you to do very powerful things like you can do neural networks you can run standard machine learning algorithms you can create convolutional neural networks you can do things like neuro style transfers and there's all kinds of tutorials and guides on that tensorflow website that can help you get started learning how to use this module now this transitions are sent to Kara's so caris is a module as well in Python that is actually a higher-level API for tensorflow so you can do some pretty cool things with tensorflow it is maintained and supported by Google and that means that there's some great technologies and some innovations that have been done and used in tensorflow but for some of us that are more beginners we'd probably want to be working with Kara's now what Kara's allows us to do is access some of these tensorflow features in an easier way you can almost think of it as like a wrapper for tensorflow where it just makes it much easier to make models and do things quickly and that's kind of when we would use Kara's then that leads us into PI torch now I don't know much about PI torch so I'll refrain from talking about it a ton although I do know that it is another leading module in terms of machine learning and AI in Python I believe it's a little bit behind tensorflow but definitely something worth checking out and finally we conclude with scikit-learn now scikit-learn is another great module in Python this one is definitely not as powerful as the previous mentioned modules but that's okay it's a little bit lighter weight and allows us to work with some things like clustering algorithms linear regressions support vector machines and some simpler things that yes you could do in tensorflow but maybe you don't want to use a module that massive you'd rather use something like scikit-learn the next modules that I'd like to discuss but those that are aimed towards building graphical user interfaces in Python so the first option here is Kibby now queue is a great module for actually building applications that will scale to all different platforms so any Kibby op that you build will work on Linux it will work on Mac it will work on Windows it'll work on iOS and it should work on Android now it's a little bit harder than that to actually get those applications on the device but the idea is that Kibby is pretty simple it's pretty easy to use and that anything you make will work for all different devices now the next framework or the next option on our list is PI QT 5 now PI QT 5 in my opinion is the best graphical user interface builder for Python it has the most options and flexibility in terms of what you can actually do with it you can even use CSS styling - well style your application and in fact an example of something that's built in PI QT 5 is actually the Spyder IDE so I believe most of that if not all of that is actually built using purely PI QT 5 with an entire Python back-end so that should prove to you that if you want to make a more complex desktop application with Python this should be the module that you pick it's a little bit more capable than the next one on my list which is tkinter so tkinter is an older module it is also used for building graphical user interfaces it's fairly similar to PI QT 5 in terms of how the interfaces look although it's definitely not as capable but I would say it's a little bit easier for beginners and people that are just looking to get something whipped up pretty fast and pretty easily now before I wrap up the video I want to tell you about my favorite module and python that hasn't fit any of the categories mentioned before and that is Pi game now Pi game is the first Python module that I ever learned and it's what really got me into Python programming and why I recommend it to any beginners or people that maybe aren't as motivated to program to use it's not very practical in terms of building actual large games but if you want to build some simple 2d games or just work on your skills and build something fun then you can definitely do that in PI game and if you want some inspiration for some things that you can work with in PI game I should be flashing some on the screen right now but I've made all kinds of tutorial series on how to make things like Tetris how to make snake how to make other random platformer games and if you know what you're doing with PI game you can make some pretty powerful and impressive things so that has been it for the 18 python modules you need to know now do you think I forgot any modules definitely let me know in the comments down below and as always if you liked the video make sure to leave a like subscribe to the channel and hopefully I will see you again in another youtube video

Original Description

This video talks about the 18 best python modules that you should really know! I discuss modules that deal with web development, machine learning, data science and graphical user interfaces. These are the most popular python modules are will make your lives easier. ⭐ Thanks to Simplilearn for sponsoring this video. Check out their Machine Learning Certification Course! https://www.simplilearn.com/big-data-and-analytics/machine-learning-certification-training-course?utm_source=Tim&utm_medium=affiliate-cpm&utm_campaign=product_review_March2020 ⭐ List of Modules and Documentation Web: Requests: https://pypi.org/project/requests/ Django: https://pypi.org/project/Django/ Flask: https://pypi.org/project/Flask/ Twisted: https://twistedmatrix.com/trac/ BeautifulSoup: https://pypi.org/project/beautifulsoup4/ Selenium: https://selenium-python.readthedocs.io/ Data science: Numpy: https://numpy.org/ Pandas: https://pandas.pydata.org/ Matplotlib: https://matplotlib.org/ Nltk: https://www.nltk.org/ Opencv: https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_tutorials.html Machine Learning: Tensorflow: https://www.tensorflow.org/ Keras: https://keras.io/ PyTorch: https://pytorch.org/ Sci-kit Learn: https://scikit-learn.org/stable/ GUI: Kivy: https://kivy.org/#home PyQt5: https://pypi.org/project/PyQt5/ Tkinter: https://wiki.python.org/moin/TkInter Bonus: Pygame: https://www.pygame.org/docs/ ◾◾◾◾◾ 💻 Enroll in The Fundamentals of Programming w/ Python https://tech-with-tim.teachable.com/p/the-fundamentals-of-programming-with-python 📸 Instagram: https://www.instagram.com/tech_with_tim 🌎 Website https://techwithtim.net 📱 Twitter: https://twitter.com/TechWithTimm ⭐ Discord: https://discord.gg/pr2k55t 📝 LinkedIn: https://www.linkedin.com/in/tim-ruscica-82631b179/ 📂 GitHub: https://github.com/techwithtim 🔊 Podcast: https://anchor.fm/tech-with-tim 💵 One-Time Donations: https://www.paypal.com/donate/?token=m_JfrPK7DsK4PLk0CxNnv4VPutjqSldorAmgQIQnMozUw
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Tech With Tim · Tech With Tim · 0 of 60

← Previous Next →
1 A* Path Finding Algorithm(Visualization)
A* Path Finding Algorithm(Visualization)
Tech With Tim
2 Python Programming Tutorial #1 - Variables and Data Types
Python Programming Tutorial #1 - Variables and Data Types
Tech With Tim
3 Python Programming Tutorial #2 - Basic Operators and Input
Python Programming Tutorial #2 - Basic Operators and Input
Tech With Tim
4 Python Programming Tutorial #3 - Conditions
Python Programming Tutorial #3 - Conditions
Tech With Tim
5 Python Programming Tutorial #4 - IF/ELIF/ELSE
Python Programming Tutorial #4 - IF/ELIF/ELSE
Tech With Tim
6 Python Programming Tutorial #5 - Chained Conditionals and Nested Statements
Python Programming Tutorial #5 - Chained Conditionals and Nested Statements
Tech With Tim
7 Python Programming Tutorial #6 - For Loops
Python Programming Tutorial #6 - For Loops
Tech With Tim
8 Python Programming Tutorial #7 - While Loops
Python Programming Tutorial #7 - While Loops
Tech With Tim
9 Python Programming Tutorial #8 - Lists and Tuples
Python Programming Tutorial #8 - Lists and Tuples
Tech With Tim
10 Python Programming Tutorial #9 - Iteration by Item (For Loops Continued...)
Python Programming Tutorial #9 - Iteration by Item (For Loops Continued...)
Tech With Tim
11 Python Programming Tutorial #10 - String Methods
Python Programming Tutorial #10 - String Methods
Tech With Tim
12 How to Overclock a NVIDIA GPU
How to Overclock a NVIDIA GPU
Tech With Tim
13 Python Programming Tutorial #11 - Slice Operator
Python Programming Tutorial #11 - Slice Operator
Tech With Tim
14 Python Programming Tutorial #12 - Functions
Python Programming Tutorial #12 - Functions
Tech With Tim
15 Python Programming Tutorial #13 - How to Read a Text File
Python Programming Tutorial #13 - How to Read a Text File
Tech With Tim
16 Python Programming Tutorial #14 - Writing to a Text File
Python Programming Tutorial #14 - Writing to a Text File
Tech With Tim
17 Python Programming Tutorial #15 - Using .count() and .find()
Python Programming Tutorial #15 - Using .count() and .find()
Tech With Tim
18 Python Programming Tutorial #16 - Introduction to Modular Programming
Python Programming Tutorial #16 - Introduction to Modular Programming
Tech With Tim
19 Python Programming Tutorial #17 - Optional Parameters
Python Programming Tutorial #17 - Optional Parameters
Tech With Tim
20 Python Programming Tutorial #18 - Try and Except (Python Error Handling)
Python Programming Tutorial #18 - Try and Except (Python Error Handling)
Tech With Tim
21 Python Programming Tutorial #19 - Global vs Local Variables
Python Programming Tutorial #19 - Global vs Local Variables
Tech With Tim
22 Python Programming Tutorial #20 - Classes and Objects
Python Programming Tutorial #20 - Classes and Objects
Tech With Tim
23 Cool VBS Script to Prank Your Friends!
Cool VBS Script to Prank Your Friends!
Tech With Tim
24 How to Overclock an AMD GPU
How to Overclock an AMD GPU
Tech With Tim
25 Best GPU'S For Mining Ethereum (2018)
Best GPU'S For Mining Ethereum (2018)
Tech With Tim
26 Recursion and Memoization Tutorial Python
Recursion and Memoization Tutorial Python
Tech With Tim
27 Ethereum Mining Rig - Hardware Guide
Ethereum Mining Rig - Hardware Guide
Tech With Tim
28 Pygame Tutorial #1 - Basic Movement and Key Presses
Pygame Tutorial #1 - Basic Movement and Key Presses
Tech With Tim
29 How to Install Pygame (Windows 8/10)
How to Install Pygame (Windows 8/10)
Tech With Tim
30 How to Trade Your Cryptocurrency (Bitcoin, Ethereum etc.) For Cash!
How to Trade Your Cryptocurrency (Bitcoin, Ethereum etc.) For Cash!
Tech With Tim
31 How to Mine Ethereum 2018 - WORKING (Super-Easy)
How to Mine Ethereum 2018 - WORKING (Super-Easy)
Tech With Tim
32 Microphone Comparison - $10 Mic vs $150 Mic (Blue Yeti USB)
Microphone Comparison - $10 Mic vs $150 Mic (Blue Yeti USB)
Tech With Tim
33 Pygame Tutorial #2 - Jumping and Boundaries
Pygame Tutorial #2 - Jumping and Boundaries
Tech With Tim
34 Pygame Tutorial #3 - Character Animation & Sprites
Pygame Tutorial #3 - Character Animation & Sprites
Tech With Tim
35 Pygame Tutorial #4 - Optimization & OOP
Pygame Tutorial #4 - Optimization & OOP
Tech With Tim
36 OBS Studio Tutorial - Best OBS Settings
OBS Studio Tutorial - Best OBS Settings
Tech With Tim
37 Linear Search Algorithm - Python Example and Code
Linear Search Algorithm - Python Example and Code
Tech With Tim
38 Make Any Mic Sound AMAZING! (WITH OBS)
Make Any Mic Sound AMAZING! (WITH OBS)
Tech With Tim
39 Binary Search Algorithm - Python Example & Code
Binary Search Algorithm - Python Example & Code
Tech With Tim
40 Pygame Tutorial #5 - Projectiles
Pygame Tutorial #5 - Projectiles
Tech With Tim
41 Pygame Game - Mini Golf
Pygame Game - Mini Golf
Tech With Tim
42 Pygame Tutorial - Projectile Motion (Part 1)
Pygame Tutorial - Projectile Motion (Part 1)
Tech With Tim
43 Pygame Tutorial - Projectile Motion (Part 2)
Pygame Tutorial - Projectile Motion (Part 2)
Tech With Tim
44 Pygame Tutorial #6 - Enemies
Pygame Tutorial #6 - Enemies
Tech With Tim
45 Pygame Tutorial #7 - Collision and Hit Boxes
Pygame Tutorial #7 - Collision and Hit Boxes
Tech With Tim
46 Pygame Tutorial #8 - Scoring and Health Bars
Pygame Tutorial #8 - Scoring and Health Bars
Tech With Tim
47 Cloud Mining vs. Hardware Mining - 2018
Cloud Mining vs. Hardware Mining - 2018
Tech With Tim
48 How to Install Pygame on Mac OSX (Fast-Simple)
How to Install Pygame on Mac OSX (Fast-Simple)
Tech With Tim
49 Pygame Tutorial #9 - Sound Effects, Music & More Collision
Pygame Tutorial #9 - Sound Effects, Music & More Collision
Tech With Tim
50 Pygame Tutorial #10 - Finishing Touches & Next Steps
Pygame Tutorial #10 - Finishing Touches & Next Steps
Tech With Tim
51 How to Fade Your Screen in Pygame [CODE IN DESCRIPTION]
How to Fade Your Screen in Pygame [CODE IN DESCRIPTION]
Tech With Tim
52 How to Create a Button in Pygame [CODE IN DESCRIPTION]
How to Create a Button in Pygame [CODE IN DESCRIPTION]
Tech With Tim
53 Pygame Side-Scroller Tutorial #1 - Scrolling Background/Character Movement
Pygame Side-Scroller Tutorial #1 - Scrolling Background/Character Movement
Tech With Tim
54 Pygame Side-Scroller Tutorial #2 - Random Object Generation
Pygame Side-Scroller Tutorial #2 - Random Object Generation
Tech With Tim
55 Pygame Side-Scroller Tutorial #3 - Collision
Pygame Side-Scroller Tutorial #3 - Collision
Tech With Tim
56 Pygame Side-Scroller Tutorial #4 - Scoring and End Screen
Pygame Side-Scroller Tutorial #4 - Scoring and End Screen
Tech With Tim
57 How to Create A Message Box in Python - Tkinter
How to Create A Message Box in Python - Tkinter
Tech With Tim
58 Is Ethereum Mining Still Profitable - Is It Worth It (April 2018)
Is Ethereum Mining Still Profitable - Is It Worth It (April 2018)
Tech With Tim
59 How to Run MAC OSX on a WINDOWS PC (Clover Boot-loader)
How to Run MAC OSX on a WINDOWS PC (Clover Boot-loader)
Tech With Tim
60 Programming Problem #1 - Alphabet Soup (Beginner/Novice)
Programming Problem #1 - Alphabet Soup (Beginner/Novice)
Tech With Tim

This video teaches you about the top 18 most useful Python modules for various tasks, including web development, machine learning, and data science. You will learn how to use these modules to build web scrapers, create machine learning models, and develop graphical user interfaces. By the end of this video, you will have a solid understanding of the most popular Python modules and how to use them to make your life easier as a developer.

Key Takeaways
  1. Use the requests module to send HTTP requests
  2. Install and use Django for web development
  3. Install and use flask for web development
  4. Use twisted for online game development
  5. Use Beautiful Soup for web scraping
  6. Use Selenium for automation on websites
  7. Use NumPy for mathematical operations
  8. Use Pandas for data manipulation and analysis
  9. Use TensorFlow for machine learning tasks
  10. Use Keras for building machine learning models
💡 The video highlights the importance of using the right Python modules for specific tasks, and how they can make a developer's life easier. It also shows how these modules can be used together to build complex applications.

Related AI Lessons

Want to get started with deep learning
Get started with deep learning by leveraging resources like Andrew Karpathy's playlist and frameworks such as TensorFlow or PyTorch
Reddit r/deeplearning
Building a Deepfake Detector From Scratch — What Nobody Tells You
Learn to build a deepfake detector from scratch and understand the challenges involved in detecting AI-generated fake media
Medium · Deep Learning
Unfolding the Meandering Path: High-Dimensional Invariance and the Flat 2D Plane of Neural…
Learn about high-dimensional invariance and its relation to the flat 2D plane of neural networks, and how to apply these concepts to improve model performance
Medium · Deep Learning
Implementing Neural Style Transfer from Scratch: The Project That Started It All
Learn to implement Neural Style Transfer from scratch and understand its significance in deep learning
Medium · Deep Learning
Up next
Image Classification with ml5.js
The Coding Train
Watch →