package
A folder of Python modules that can be imported as a group, or a distributable bundle of Python code installed with pip.
In more detail
The word is used in two senses: an import package, a folder usually containing __init__.py, imported as package.module; and a distribution package, such as requests, downloaded from PyPI. One distribution can contain several import packages.
Related terms
- module — A file of code whose functions, classes and variables other files can use by importing it.
- __init__.py — A file inside a folder that marks the folder as a regular Python package and runs when the package is first imported.
- pip — Python's standard package installer, which downloads packages from the Python Package Index and installs them.
- PyPI — The Python Package Index at pypi.org, the public online catalogue from which pip downloads third-party packages.
Taught in
- What Python Is, And Where It Came From — Hands-on Python: Complete Video Course & Book
- Installing Python On Windows — Hands-on Python: Complete Video Course & Book
- Installing Python On A Mac — Hands-on Python: Complete Video Course & Book
- Installing Python On Linux — Hands-on Python: Complete Video Course & Book
- Packages, And Your Own Library — Hands-on Python: Complete Video Course & Book
- pip, requirements, and installing packages — Hands-on Python: Complete Video Course & Book
- Mock, Review And Exam Day — PCEP Certified Entry-Level Python Programmer (PCEP-30-02) Exam Prep
- The Class That Shared One List — PCAP Certified Associate in Python Programming (PCAP-31-03) Exam Prep
- Sixty Five Minutes, Forty Items: How PCAP Is Run — PCAP Certified Associate in Python Programming (PCAP-31-03) Exam Prep
- Import Variants, dir() And sys.path — PCAP Certified Associate in Python Programming (PCAP-31-03) Exam Prep
- math, random And platform — PCAP Certified Associate in Python Programming (PCAP-31-03) Exam Prep
- Your Own Modules And Packages — PCAP Certified Associate in Python Programming (PCAP-31-03) Exam Prep
- Modules Sprint — PCAP Certified Associate in Python Programming (PCAP-31-03) Exam Prep