Overview

This section covers the structure of Python packages and discusses how to organize your code for sharing with others or reusing it in different projects. Here, we describe the basic steps for creating a minimal Python package.

  • Package Here, we briefly explain how to organize and structure related Python modules (files containing Python code) into directories.
  • Distribution We explain how to package a Python library so it can be easily shared, installed, and reused.