Top 18 Most Useful Python Modules

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

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

  • @TechWithTim
    @TechWithTim  4 года назад +296

    What is your favorite python module?!

    • @thegodofnewbies4829
      @thegodofnewbies4829 4 года назад +13

      Am I the First?

    • @parvinderbaidwan2685
      @parvinderbaidwan2685 4 года назад +47

      hey bro whenever i use this line
      if event.type == pygame.QUIT:
      run = False
      error: pygame has no QUIT memeber

    • @TechWithTim
      @TechWithTim  4 года назад +78

      @@parvinderbaidwan2685 make sure you dont name your file pygame or have one names pygame in that directory

    • @WugFairly
      @WugFairly 4 года назад +5

      When I use the pygame sprite collide, the collide works, but sinks through like it collides via the center rather than the outer rect. If you can't use the group collide, how do you use the rect collide via a group?

    • @Joshua-dl3ns
      @Joshua-dl3ns 4 года назад +10

      definitely pandas since they make CSV data preprocessing easier

  • @bcgamer2
    @bcgamer2 3 года назад +306

    For everyone to see the entire list, I manually wrote down the names of the modules:
    I Web Development:
    1. Requests
    2. Django
    3. Flask
    4. Twisted
    5. BeautifulSoup
    6. Selenium
    II Data Science:
    7. Numpy
    8. Pandas
    9. Matplotlib
    10. Nltk (natural language toolkit)
    11. opencv
    III Machine Learning & AI:
    12. TensorFlow
    13. Keras
    14. Sci-kit learn
    IV GUI:
    15. kivy
    16. PyQt5 [likely the best]
    17. Tkinter
    18. Pygame [does not fit any category]

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

      Pytorch where?

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

      @@N____er I do not understand what you try to ask. Could you rephrase your question in proper English,
      please?

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

      @@bcgamer2 you missed out pytorch in your list

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

      @@N____er I must have missed that...

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

      Thank you so much sir.

  • @k.chriscaldwell4141
    @k.chriscaldwell4141 4 года назад +1790

    The only Python module you need is the one you haven't yet installed.

  • @lowkeygaming4716
    @lowkeygaming4716 4 года назад +27

    I'm not sure if Cython is considered as a module but I really like it. It gives speed boost in the comfort of Python syntax and without having to code in C or C++

  • @sarzilhossain5977
    @sarzilhossain5977 2 года назад +8

    Here are some helper modules
    - stringcolor (You can colorize strings and make your outputs more beautiful)
    - black (Formats your Python code and makes it look more readable)
    - pipreqs (Better than pip freeze, will only add the python libraries you used to the requirements.txt file)
    Some cool ones
    - ctypes (You can run C functions with ctypes.CDLL by converting a C file to a shared object file)
    - subprocess (You can run bash commands on your PC)
    - multiprocessing (Steps out of GIL)

  • @chrisofnottingham
    @chrisofnottingham 4 года назад +23

    Much appreciated. As a newbie the amount of modules available is overwhelming and there is not enough time to properly investigate them all, so a quick overview like this is very helpful.

  • @alexmcd378
    @alexmcd378 4 года назад +17

    Really liking your videos. Practical and efficient use of time. No over the top hype and borderline shouting. +1 subscriber

  • @mkanalysis
    @mkanalysis 4 года назад +235

    pyodbc for SQL connection
    scrapy for webscraping
    folium for map visualisation
    seaborn for statistical visualisation
    scipy for scientific computing

  • @yukiyuka731
    @yukiyuka731 4 года назад +161

    Me: imports module
    Me: ok now to Google the heck out of what this thing can do

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

      pip install module_name
      type this in powershell after writing python

    • @omgcyanide4642
      @omgcyanide4642 3 года назад +17

      @@vedanshniranjan7430 he knows how to install modules 😂

    • @justarandomcommenter8083
      @justarandomcommenter8083 3 года назад +4

      I know I'm late, but you don't need to google anything. Just call the help() function and pass the module name as argument. For explanation regarding specific methods, do like this:
      help(module_name.method)

    • @shivammaurya8472
      @shivammaurya8472 3 года назад

      @@justarandomcommenter8083 no shit!!

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

      @@justarandomcommenter8083 Oh thx 😊, didn't know that:)

  • @juliajulsen5623
    @juliajulsen5623 4 года назад +8

    I came across your channel for the 7h tensorflow tutorial, and I've been loving it eversince. Great content, very well presented. Thanks!

  • @modaryaghi
    @modaryaghi 4 года назад +3

    I am still a beginner at Python and all the programming worlds. I liked this video very much. It gave me a guide to what I have to learn through the next steps.

  • @atrumluminarium
    @atrumluminarium 4 года назад +33

    I would like to add Numba and Cython to this list. Both offer insane performance boosts which are often needed if doing some heavy-duty work with Python. Both interface really well with Numpy too (Numba is actually from the same group)

  • @Importclara
    @Importclara 3 года назад +20

    For software testing automation, my fav libs are:
    1. Requests for API
    2. Selenium for Web
    3. Appium for Mobile

    • @한진영-o5q
      @한진영-o5q 2 года назад +1

      thank you

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

      My favorite part of Python is the automation. Thanks!

  • @mattmess1221
    @mattmess1221 3 года назад

    httpx > requests
    fastapi > flask
    Both modules support async functions, http2, and web sockets.

  • @cyberspider78910
    @cyberspider78910 4 года назад

    Most simplistic explanation of when to use Flask and When to use Django...Superb! Very simple and clear

  • @olamekansanni4186
    @olamekansanni4186 3 года назад

    I started my python journey with your RUclips tutorial journey. You are doing a great work, my improvement and growth as a newbie in python programming is an evidence.

  • @savitavyas1981
    @savitavyas1981 4 года назад +12

    I am a student and make fun games and apps, some of them are useful though so I prefer-
    Turtle
    Pygame
    Math
    Tkinter
    And all other gui modules

  • @oldlorenz9567
    @oldlorenz9567 4 года назад +1

    I'm so fond of this channel!! Please continue forever

  • @nirbhaysingh4360
    @nirbhaysingh4360 4 года назад +14

    Congo on getting 200k keep growing 😍

  • @scm6668
    @scm6668 3 года назад +11

    For data science, you forgot Seaborn!. Also, for anybody watching this after 2021, keras has been integrated into tensorflow. There is also now a tensorflow probability module.
    Great video, there were a few modules that I didn't know about and I'm definitely going to check them out.

    • @theninjascientist689
      @theninjascientist689 3 года назад +1

      thanks for telling me! I was about to check it out in the early hours of 2022! happy new year!

    • @scm6668
      @scm6668 3 года назад

      @@theninjascientist689 cheers mate!

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

    my favorite (that hasn't been mentioned in the video): *numba*
    when numpy is too general to optimize well, you can just write some python instead, and numba *will* make it faster, because now it's actually compiled.

  • @erickalvarez6486
    @erickalvarez6486 4 года назад +7

    Without going further into the video I may say your favourite it's pygame hahahahaha. Love it and liked already, thanks a lot.

    • @TechWithTim
      @TechWithTim  4 года назад +3

      You know me too well, lol!

    • @ekrem_dincel
      @ekrem_dincel 4 года назад +1

      @@TechWithTim have you ever tried pyglet?

  • @gjd112902
    @gjd112902 4 года назад +4

    My favorite library is SymPy. It's great for doing symbolic math in python like algebra and calculus

  • @kokomiko102
    @kokomiko102 4 года назад +5

    I love sympy it‘s a CAS for python and is capable of solving quite abstract tasks (but you‘ll probably never use it for actual programming)

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

    Thanks Tim. Another gem. great clarity for us newbies :)

  • @iamblaineful
    @iamblaineful 4 года назад +4

    Twisted is no longer needed, i used it years and years ago to solve problems that are now handled in the standard lib. Matplotlib, Scipy, SciKitLearn, Keras, and Flask if you work in Corp America are crucial. Data science, data processing(db ETL, xls/csv file processing, xml, json, CRUD apps), data visualization, and Glue apps (writing middleware to connect up legacy and/or SaaS apps to talk to each other), and data pipelining with Kafka + Python (feeding the data warehouse info from SaaS data islands) are still mission critical and hard to fill roles that will get even junior developers a foothold in today's market.

  • @abdullahalkurdi6845
    @abdullahalkurdi6845 4 года назад +1

    Love your channel and content. I subscribed

  • @ElliyahuRosha
    @ElliyahuRosha 4 года назад +1

    This is some powerful stuff.
    Keep it coming, 👑

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

    Another module I like is pyautogui for automatization. Great video, Tim! :)

  • @Jesus24horasTV
    @Jesus24horasTV 4 года назад

    Props!! My congratulations from Brazil!

  • @cooperchen5878
    @cooperchen5878 4 года назад +3

    I love pyautogui module. It’s easy to use and can automate almost anything.

  • @SabbirAhmed-gr6uq
    @SabbirAhmed-gr6uq 4 года назад +2

    Big fan, learned a lot of things from your channel Tim. Great work. I was wondering if you have any series of tutorials about the the tensorflow pygame about digit recognization you showed on this video while talking about tensorflow. It would be great. Thank you man 🙏.

  • @notnotandrew
    @notnotandrew 3 года назад

    Click is handy for anyone who calls their code from the command line. It's a clean and versatile library for specifying command line arguments.

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

    I fully agree with your list. Well done!

  • @webuser1108
    @webuser1108 4 года назад +21

    This guy along with the background simply looks like a high end graphic game cut scene.

  • @thegooddoctor6719
    @thegooddoctor6719 3 года назад

    Brilliant overview - Thanks !!!!!

  • @williamledda7660
    @williamledda7660 4 года назад +1

    Great video! I use many of the module you mentioned, but there's other modules that I didn't know! Regarding the GUI development, I would mention also PySide2, that is directly supported by Qt now!

  • @inamicul21
    @inamicul21 4 года назад +1

    very good job! thank you so much for this overview! :)

  • @thefactlord8820
    @thefactlord8820 4 года назад +10

    Great vid! Helps for small creators likes me, using python who are just getting started.

  • @luisfelipe847
    @luisfelipe847 4 года назад

    Thanks! This video was absolutely fantastic!

  • @jwolf16
    @jwolf16 4 года назад +3

    I would suggest PySide2 over PyQt5. both are Qt bindings for python, but PySide2 has a more permissive license and is the official bindings developed and maintained by the Qt project

  • @thatotherguy4245
    @thatotherguy4245 4 года назад +1

    Thanks for the info Tim, much appreciated

  • @marcinbiaecki9731
    @marcinbiaecki9731 3 года назад

    Very helpful material, thank you! :D

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

    This this is a really helpful guide!

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

    Very useful tips for python development.

  • @AniketKumar-bm8gi
    @AniketKumar-bm8gi 4 года назад

    Very useful.
    Thanks for making such videos.

  • @maxxel_
    @maxxel_ 3 года назад +1

    dash and plotly are pretty beginner friendly and great if you wanna make a simple but good looking gui with amazing looking graphs

  • @anuragkat66
    @anuragkat66 4 года назад

    I have may of these, great video will definitely checkout other mentioned ones

  • @omarhatem0
    @omarhatem0 4 года назад

    #RemindMyself
    A) Web Development and HTTP requests
    - requests
    - Django
    - Flask
    - Twisted(online game development)
    - beautifulsoup4
    - selenium(atomation for websites
    B)Data Science
    - numpy
    - pandas
    - matplotlib
    - nltk
    - opencv-python
    C)Machine Learining
    - TensorFlow
    - Keras
    - PyTorch
    - scikit-learn
    D)GUI
    - Kivy
    - PyQt5 (best gui module)(you can use css for styling)
    - tkinter

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

    Excellent presentation and nice explanation. Mohammed Hoque, Software Developer.

  • @roryderrick8461
    @roryderrick8461 4 года назад

    Thanks Tim. Love your channel for the information and tutorials. I'm relatively new to python and really excited about learning so much more. Python is like a candy store haha! More candy than I can eat! candy

  • @drednot57
    @drednot57 4 года назад +3

    For GUI development, you left out wxPython, the Python wrapper for the wx-Widgets library; a very powerful GTK based GUI toolkit.

    • @Victor_Marius
      @Victor_Marius 4 года назад

      @L. Kärkkäinen you can integrate PyQt5 with a web app to run it on desktop and can even send data between the Html/Js app to PyQt5. This way you can make your UI cooler and have all that PyQt5 power under the hood. You have available a web engine available in PyQt5.

    • @melellington1333
      @melellington1333 3 года назад

      @L. Kärkkäinen GUI toolkits have developed over 4+ decades. Web browser GUIs are generally quite limited and immature in comparison to native applications.

  • @sharanbabu2001
    @sharanbabu2001 4 года назад +10

    Hey, have you ever thought of starting a start-up? And also a tutorial on selenium would be amazing. Thanks a lot for your great work!!

    • @TechWithTim
      @TechWithTim  4 года назад +4

      I have but probably not going to do so right now. And maybe! Np :)

    • @1MinuteFlipDoc
      @1MinuteFlipDoc 4 года назад +1

      his startup is utube! 200K subs ain't a bad start!

  • @luisrivera2395
    @luisrivera2395 4 года назад

    Thanks for those advices and the information!!!

  • @prateekkumar8052
    @prateekkumar8052 4 года назад +6

    Bro I can't agree with one thing you said i.e pytorch is lagging behind tensorflow. Since you love numpy it goes without saying you'll pick pytorch out of two. My personal reason for picking pytorch are:
    1. Python like syntax(most imp)
    2. Dynamic computation graph which is way superior to tensorflow eager execution.
    3. Autograd is just amazing.
    4. Easy training across multiple GPUs.
    Tensorflow is only popular because it came first in the market and is developed by google. On the other hand pytorch is managed by Facebook AI research team.
    Although people don't consider Facebook a much reputable company but it has given "Python lovers" a deep learning framework which is fastest and feels like Python.

  • @naschwindias3873
    @naschwindias3873 4 года назад +27

    I'mma try that twisted for now

  • @alekales971
    @alekales971 4 года назад

    Hi, Tim. I think you forgot to mention Scipy. But in general your video is great. Thank you.

  • @theneongamer4957
    @theneongamer4957 4 года назад +6

    My favorite module is tkinter because I can make really simple GUI that are so fun to make

    • @kristypolymath1359
      @kristypolymath1359 4 года назад

      And neither makes it easy to make single-canvas apps. It's mostly just moduls.

    • @Alche_mist
      @Alche_mist 4 года назад

      How about PySimpleGUI as an ultra-simple abstraction layer on top of tkinter or other GUI modules?

  • @maxtuck6820
    @maxtuck6820 4 года назад +1

    Tim, thank you for a great video on modules. Could you recommend a module for developing a remote desktop application.

  • @JohnyDev
    @JohnyDev 4 года назад

    This was amazing and straight to the point, thank you for sharing your experience.

  • @DavidKing-wk1ws
    @DavidKing-wk1ws 4 года назад

    Mostly finishing up an ide coded in assembly for python. Started flowcharting tensorflow so i can recode in assembly. Eventually will hopefully have a complete module set at a fraction of the size of the current ones avaliable.

    • @BaasJafta
      @BaasJafta 4 года назад

      @David King - Will you make it available?

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

    web devolopment 1:11
    data science 4:08
    machine learning 6:33
    GUI 8:22

  • @ayoubalmontaser
    @ayoubalmontaser 11 месяцев назад

    Good list of modules. I' hoping to one day get into pygame.

  • @wictortec5627
    @wictortec5627 4 года назад

    Thanks for video, brazilian here! :)

  • @mdyeasin2517
    @mdyeasin2517 4 года назад

    Thanks a lot, bro, it's really cool!

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

    PySimpleGui is a wrapper around tkinter, pyqt and two other graphical modules. It makes Gui dev in python super easy.

  • @tajamulhusen6051
    @tajamulhusen6051 4 года назад

    Very useful, thanks tim :)

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

    i think sqlite3 is also worth to learn and use to collaborate with other modules to build amazing projects

  • @deepakarthikeyan3109
    @deepakarthikeyan3109 4 года назад

    Good presentation.thanks for sharing

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

    Lol, when you were going to say about your favorite Python module (and also said that it's not in the list), I guessed it to be Pygame, and wow it was right!

  • @Charlie-ci7xn
    @Charlie-ci7xn 4 года назад +2

    selenium is by far my favorite! so many possibilities.....!!

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

    01:30 requests 01:50 django

  • @walternathaniel7365
    @walternathaniel7365 4 года назад

    This is really helpful Tim

  • @vsp540
    @vsp540 4 года назад +24

    6:19 gotta flex with dat iphone 11 boi

  • @junijjang
    @junijjang 4 года назад

    Thank you for useful information!!

  • @justinfahland1225
    @justinfahland1225 3 года назад

    YES I was waiting for you to say pygame. I use pygame pretty much anytime I want a giu in my programs but I'll have to look at those other giu modules...

  • @aaronaaron2489
    @aaronaaron2489 4 года назад

    Nide video and clear explanation 👾👾👾

  • @jacksondice5435
    @jacksondice5435 3 года назад

    Question about - Simplilearn ML course:
    Does it have actual work for the student to perform?
    Just having everything out in front of you to copy isn't learning.
    Would be good if it gives you the tools and the logic, leaving it to you to do the projects.

  • @mertcobanov
    @mertcobanov 4 года назад

    Web:
    Requests
    Django
    Flask
    Twisted
    BeautifulSoup
    Selenium
    Data science:
    Numpy
    Pandas
    Matplotlib
    Nltk
    Opencv
    Machine Learning:
    Tensorflow
    Keras
    PyTorch
    Sci-kit Learn
    GUI:
    Kivy
    PyQt5
    Tkinter
    Bonus:
    Pygame

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

    Honestly I can't wait to become more knowledgeable on this whole python Kivu thing. I'm halfway through a 5 hour tutorial on app development and it's tough but very rewarding

  • @TechPravinya
    @TechPravinya 4 года назад

    👍 Great content and nice presentation.

  • @LegoBeto
    @LegoBeto 4 года назад +18

    I would really like to learn more about Twisted. I am interested in learning how to make sockets.

    • @kayakMike1000
      @kayakMike1000 3 года назад +1

      Sockets are in the python standard library.

  • @olimbeknizomov8081
    @olimbeknizomov8081 4 года назад

    your videos are cool man i love them

  • @javokhir_rahimov
    @javokhir_rahimov 4 года назад

    Great job! Thanks a lot

  • @dantedt3931
    @dantedt3931 4 года назад +1

    I’ve build two enterprise systems with Django.Currently building a third one.Using Numpy and Pandas also.

    • @eve2ton
      @eve2ton 4 года назад

      Are you following any tutorial on internet to built it? I have an idea and I’d love to put it in practice, but I started to study Django by the docs, and it essential so easy to me understand the content . If you have any tip for me, I’d glad you.

    • @dantedt3931
      @dantedt3931 4 года назад

      @@eve2ton I followed tutorials on RUclips, mostly where applications are built.I started with a simple application(ie Users register and post messages on a website, store the messages in a database, display the messages by user's name and date etc...nothing fancy). I used Python/Django, MySQL Database and HTML.The best way to learn is to built stuff.Don't overthink it, you'll learn as you built.

    • @eternalflower8026
      @eternalflower8026 4 года назад

      @@dantedt3931 i want to but i got no projects or ideas lol

  • @SuperAcaoGeek
    @SuperAcaoGeek 4 года назад +1

    Some python modules that I recommend for absolute beginners:
    For GUI : PySimpleGUI pysimplegui.readthedocs.io/en/latest/ . Way more simple to get hang of it. Basic works as a list of lists.
    To manipulate excel spreadsheets: Openpyxl openpyxl.readthedocs.io/en/stable/
    For GUI automation(control the mouse and keyboard): PyAutoGUI pyautogui.readthedocs.io/en/latest/

  • @Omerko
    @Omerko 4 года назад

    Not the type of content for my channel, but this is just great. Did you plan to create some Python for Beginners Course? Thanks!

  • @theteenengineer7589
    @theteenengineer7589 4 года назад

    great info, thank you for sharing

  • @Apple_Linux_Windows
    @Apple_Linux_Windows 3 года назад

    My favourite one is "Tkinter"
    Thanks

  • @vladusa
    @vladusa 4 года назад +1

    numpy is faster than a list because it uses int16 or int8 or int32 instead of naming, categorizing, timing, and titling the data.

  • @omarpasha2968
    @omarpasha2968 3 года назад

    Lots of good information!

  • @jaimerojas6578
    @jaimerojas6578 4 года назад

    Thanks Tim it was pretty interesting

  • @guitaek4100
    @guitaek4100 3 года назад

    I'm in love with seaborn, built on matplotlib at the moment

  • @treyquattro
    @treyquattro 4 года назад +20

    2:08 # SECURITY WARNING: keep the secret key used in production secret! World sees the "secret" key...

    • @TechWithTim
      @TechWithTim  4 года назад +6

      dw this was just a clip for this video! Thanks tho :)

    • @treyquattro
      @treyquattro 4 года назад +1

      @@TechWithTim kinda presumed it wasn't real ;) keep up the great work!

  • @wbwarren57
    @wbwarren57 3 года назад

    Nice video. Thank you.

  • @cmputerprgrammer7800
    @cmputerprgrammer7800 4 года назад +1

    My favourite is Tkinter module
    Best one😀

  • @SkyFly19853
    @SkyFly19853 4 года назад

    Great tutorial!
    💯💯💯💯💯

  • @rudradipray9142
    @rudradipray9142 3 года назад

    My favorite module is itertools, it just makes some things really easy.

  • @shouryagupta7624
    @shouryagupta7624 4 года назад +1

    Thanks really helpful video . Pls tim , make a video series on "data structures and algorithms tutorial" your explanations are too great . very good teacher u are.

  • @stefanuebener
    @stefanuebener 3 года назад

    Since tensorflow 2, keras is completly integrated in it -> so it can be counted as one module now