avatarMartin Thoma

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

342

Abstract

istribution file is what the end-user will download and install. It’s typically just one package.</p><p id="9c17">There are two common types of distributions: Source distributions and the wheel binary format.</p><p id="cb17">A Python <b>package</b> is an importable directory.</p><p id="d03a">A Python <b>module</b> is a Python source code fil

Options

e. You can import a module. Most modules are in packages.</p><h1 id="9c93">Sources</h1><ul><li><a href="https://peps.python.org/pep-0561/#definition-of-terms">PEP 561</a>: Distributing and Packaging Type Information</li><li><a href="https://peps.python.org/pep-0427/">PEP 427</a>: The Wheel Binary Package Format 1.0</li></ul></article></body>

Python Terminology: Distribution vs Package vs Module

A Python distribution is an archive file that contains one or more Python package. The distribution file is what the end-user will download and install. It’s typically just one package.

There are two common types of distributions: Source distributions and the wheel binary format.

A Python package is an importable directory.

A Python module is a Python source code file. You can import a module. Most modules are in packages.

Sources

  • PEP 561: Distributing and Packaging Type Information
  • PEP 427: The Wheel Binary Package Format 1.0
Terminology
Python
Programming
Software Development
Software Engineering
Recommended from ReadMedium