0153-python-packaging

Community

Ship Python packages the modern way.

AuthorMrJmpl3
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the challenge of turning Python code into a well-structured, installable, and publishable package so users can reliably install it from PyPI (or private registries) instead of relying on ad-hoc setups.

Core Features & Use Cases

  • Modern project configuration: Set up packaging metadata in pyproject.toml using PEP 517/518 (build system) and PEP 621 (project metadata).
  • Correct distribution workflow: Build wheels and source distributions, then validate the artifacts before uploading to PyPI/TestPyPI/private indexes.
  • CLI & extensibility patterns: Define command-line entry points (e.g., project.scripts) and support advanced patterns like namespace packages and versioning strategies.
  • Use case examples: Create a library with a recommended src/ layout, publish it with proper classifiers and dependencies, and optionally expose a CLI tool that installs and runs via a single command.

Quick Start

Ask: “Create a minimal Python package using src layout and pyproject.toml for a new library named my-package with version 0.1.0, including required metadata, a basic dependency on requests, and a CLI entry point named my-tool.”

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: 0153-python-packaging
Download link: https://github.com/MrJmpl3/codex_____data_____configuration/archive/main.zip#0153-python-packaging

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.