Modules and Packages
Learning Path ⋅ Skills: Packages, Modules, Import System, pip, PyPI
Unlock the full potential of Python modules and packages. Dive into advanced importing, manage dependencies with pip, distribute projects on PyPI, and craft excellent README files. Perfect your Python project management and distribution skills.
Modules and Packages
Learning Path ⋅ 9 Resources
Course
Python Modules and Packages: An Introduction
In this course, you'll explore Python modules and Python packages, two mechanisms that facilitate modular programming. See how to write and import modules so you can optimize the structure of your own programs and make them more maintainable.
Interactive Quiz
Python Modules and Packages
Course
Advanced Python import Techniques
The Python import system is as powerful as it is useful. In this in-depth video course, you'll learn how to harness this power to improve the structure and maintainability of your code.
Tutorial
Python's __all__: Packages, Modules, and Wildcard Imports
Learn about wildcard imports and the __all__ variable in Python. With __all__, you can prepare your packages and modules for wildcard imports, which are a quick way to import everything.
Tutorial
Python Zip Imports: Distribute Modules and Packages Quickly
Learn what Zip imports are and how to use them in Python. You'll learn to create your own importable ZIP files and make them available for use. Finally, you'll learn how to use the zipimport module to dynamically import code from ZIP files.
Course
A Beginner's Guide to pip
What is pip? In this beginner-friendly course, you'll learn how to use pip, the standard package manager for Python, so that you can install and manage additional packages that are not part of the Python standard library.
Interactive Quiz
Using Python's pip to Manage Your Projects' Dependencies
Course
Managing Python Dependencies
Get up to speed with Python dependency management quickly and go from “writing scripts” to “building applications” with this complete course.
Course
How to Publish Your Own Python Package to PyPI
Learn how to create a Python package for your project and how to publish it to PyPI, the Python Package Repository with this step-by-step course. Quickly get up to speed on everything from naming your package to configuring it using setup.py.
Tutorial
Using PyInstaller to Easily Distribute Python Applications
Learn how to use PyInstaller to turn your Python application into an executable with no dependencies or installation required. This is great if you want to distribute applications to users who may or may not be Python developers.
Tutorial
Creating Great README Files for Your Python Projects
Learn how to create, organize, and format high-quality README files for your Python projects.
Interactive Quiz
Creating Great README Files for Your Python Projects
Got feedback on this learning path?
Looking for real-time conversation? Visit the Real Python Community Chat or join the next “Office Hours” Live Q&A Session. Happy Pythoning!