Skip to content

yuravg/python_dist_guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Distributions Guide

A brief guides to creating Python distributions.

Core Terminology

  • Package: a directory containing Python modules (.py files) and an __init__.py file, which designates it as a Python package. Packages can include sub-packages, forming a hierarchical structure. Naming convention: use lowercase letters my_package, not MyPackage or my-package).
  • Module: a single Python file (.py) that contains functions, classes, variables, or other definitions. Modules are parts of packages and libraries.
  • Library: a collection of packages and/or modules designed to be imported and reused. Libraries provide reusable functionality, such as utilities or tools, to other codebases (for naming use suffix: utils, lib, or tools).
  • Application: a Python project that’s meant to be used as a standalone program. It might include a command-line interface (CLI) or graphical user interface (GUI), or other entry points for user interaction.
  • Distribution: a packaged version of a Python project (package, library, or application) that can be shared, installed. Distributions are typically created using tools like setuptools or poetry and include metadata.

Guides:

Python Wheel Distributions Guide

About

Python Distributions Guide

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages