Python Packaging & Distribution

•
39k
•

Streamlines the creation, configuration, and distribution of Python packages using modern standards like pyproject.toml and PyPI.

This skill provides comprehensive guidance for developers looking to transform Python code into professional, distributable packages. It offers step-by-step instructions for setting up standardized project structures, configuring metadata via pyproject.toml, managing dependencies, and preparing build artifacts like wheels and source distributions. Whether you are creating a simple library or a complex command-line tool with entry points, this skill ensures your project adheres to the latest PEP standards and is ready for publishing to PyPI or private repositories.

主な機能

01Standardized project directory structure setup for libraries and tools
02Entry point configuration for command-line interface (CLI) tools
03Modern pyproject.toml configuration and metadata management
04Guidance on building wheels and source distributions (sdist)
05Best practices for versioning and PyPI publishing workflows
0638,904 GitHub stars

ユースケース

01Setting up a namespace package for large-scale modular Python projects
02Converting a local script into a reusable library installable via pip
03Migrating legacy setup.py configurations to modern PEP 517/518 standards