Table of Contents

About

Code Shipping - (Module|Component) in Python

Physically,

  • package are the directories
  • and modules are the files within this directories.

Logically, a package is a module (parent module):

  • which can contain:
    • modules (submodules)
    • and package (subpackages)
  • with an path attribute. (Any module that contains a __path__ attribute is considered a package.)

See also:

Type

Python defines two types of packages:

Management

Distribution

See Python - Regular Package (Shipping | Packaging)

Configuration

See Python - setup.py

Installation

See Python - Regular Package

Location

See Python - Regular Package

Documentation / Reference