Python Modules & Packages

Python Modules & Packages

Feb 15, 2023   ·  3 min read

Amongst the thousands of modules and packages for the Python language, here I share the ones you should first learn, along with some of my personal favorite.

I use Pluralsight, an online education platform, to help me learn skills like Python faster and to track my progress. I highly recommend signing up for free to use their Skill IQ tests to assess your proficiency in Python and receive helpful feedback on what you should focus your learning on!

NOTE: This article was inspired by my much larger article on Learn How to Program in Python.

Python is a toy that comes with batteries included. Right from the start you'll have access to a set of helpful modules and packages that come from the standard library of Python.  In order to effectively learn the language, I recommend mastering this.

Python's Standard Library:

"Python’s standard library is very extensive, offering a wide range of facilities... The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as modules written in Python that provide standardized solutions for many problems that occur in everyday programming. Some of these modules are explicitly designed to encourage and enhance the portability of Python programs by abstracting away platform-specifics into platform-neutral APIs.

- The Python Standard Library

The standard library is quite large. Because of that, here are some module highlights that you can keep in mind:

Other Modules/Packages:

"The standard library isn't the only place you'll find excellent importable modules to use with your code. The Python community also supports a thriving collection of third-party modules... If you want a preview, check out the community-run repository:" - Python Head First, 2nd edition

Adding new modules and packages to your Python toolkit should be secondary to learning the standard library. However, you'll inevitably want to use other tools available from the Python community. I've found that it helps to first narrow the focus of your learning to a small, manageable set of functions, modules, and packages. 

For example, here is a list of modules/packages that I like! Each of these can be installed from (see the next section).

If you found any of my content helpful, please consider donating
using one of the following options   Anything is appreciated!