This skill provides a comprehensive framework for turning Python code into professional-grade, distributable packages. It guides users through implementing modern standards like pyproject.toml (PEP 621), choosing build backends such as setuptools or hatchling, and organizing projects with the recommended source layout. Beyond scaffolding, the skill offers robust patterns for creating CLI entry points, managing dynamic versioning, and automating the publishing process to PyPI via GitHub Actions, ensuring your Python libraries are maintainable, installable, and production-ready.
主要功能
01Advanced support for namespace packages and data file inclusion
02Implementation of the 'src' layout for better package isolation and testing
03Standardized pyproject.toml configuration following PEP 517/518/621
041 GitHub stars
05CLI tool registration using Click or argparse entry-point patterns
06Comprehensive publishing workflows for PyPI and TestPyPI