python-packaging

Create and distribute Python packages with pyproject.toml and setuptools.

89|14|Updated Nov 15, 2025
One-click install
npx skills add https://github.com/HermeticOrmus/LibreUIUX-Claude-Code --skill python-packaging-hermeticormus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-packaging
Source: https://github.com/HermeticOrmus/LibreUIUX-Claude-Code/tree/main/plugins/python-development/skills/python-packaging
Command: npx skills add https://github.com/HermeticOrmus/LibreUIUX-Claude-Code --skill python-packaging-hermeticormus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, structuring, and distributing Python packages, enabling developers to share their code effectively and reliably.

Core Features & Use Cases

  • Project Structure: Guides on setting up modern Python project layouts (src layout, flat layout).
  • Configuration: Demonstrates comprehensive pyproject.toml configurations for metadata, build systems, and tool settings.
  • Building & Publishing: Provides clear steps and patterns for building distribution files (wheels, sdists) and publishing to PyPI.
  • Use Case: You've developed a new Python library and need to package it for distribution on PyPI, including setting up dependencies, entry points, and documentation.

Quick Start

Use the python-packaging skill to create a minimal package structure with a pyproject.toml file.

Frequently Asked Questions about python-packaging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure a Python package using pyproject.toml?

To publish a Python package to PyPI, build your distribution files (wheels and sdists) using your configured build system, then upload them through standard publishing workflows. This process shares your library or CLI tool reliably.

What is the best way to structure a Python project for distribution?

The best way to structure a Python project for distribution is adopting a modern layout like the src layout or flat layout. Proper structuring separates your code from configuration, ensuring clean builds and reliable package imports.

Does setuptools work with modern pyproject.toml configurations?

Yes, setuptools works with modern pyproject.toml configurations by declaring it as your build backend in the file. This allows you to manage dependencies, entry points, and project metadata without needing a setup.py script.

How do I build and publish a Python package to PyPI?

To build and publish a Python package to PyPI, generate your distribution files (wheels and sdists) using your configured build system, then upload them through standard publishing workflows. This makes your library or CLI tool available for installation.