This covers the full lifecycle of turning your Python code into a proper distributable package. It walks you through modern tooling with pyproject.toml, setting up project structure, handling dependencies, creating wheels, and publishing to PyPI. Use it when you're moving beyond single scripts and need to share libraries or CLI tools with others. The skill includes a detailed implementation playbook, which is helpful since Python packaging has gone through several iterations and the current best practices around build backends and metadata aren't always obvious. It's focused specifically on the packaging mechanics, not on writing the actual Python code that goes inside.

skills.sh installs
366
GitHub stars
39.4K
last updated
Jun 3, 2026

Install

$ npx -y skills add sickn33/antigravity-awesome-skills --skill python-packaging --agent claude-code

Installs into .claude/skills of the current project.

Files

Python Packaging

Comprehensive guide to creating, structuring, and distributing Python packages using modern packaging tools, pyproject.toml, and publishing to PyPI.

Use this skill when

  • Creating Python libraries for distribution
  • Building command-line tools with entry points
  • Publishing packages to PyPI or private repositories
  • Setting up Python project structure
  • Creating installable packages with dependencies
  • Building wheels and source distributions
  • Versioning and releasing Python packages
  • Creating namespace packages
  • Implementing package metadata and classifiers

Do not use this skill when

  • The task is unrelated to python packaging
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Sponsors

Details

Repository
github.com/sickn33/antigravity-awesome-skills
Category
Python
First seen
Jun 3, 2026

More from sickn33/antigravity-awesome-skills

All 708

Recommended

More Python
1bobmatnyc avatarfastapi-local-devbobmatnyc/claude-mpm-skillsFastAPI dev/prod runbook (Uvicorn reload, Gunicorn)356skills.sh installs
2jorgealves avatarpython-security-scannerjorgealves/agent_skillsDetect common Python vulnerabilities such as SQL injection, unsafe deserialization, and hardcoded secrets. Use as part of a secure SDLC for Python projects.315skills.sh installs
3skillcreatorai avatarpython-developmentskillcreatorai/ai-agent-skillspython development314skills.sh installs
4martinholovsky avatarpythonmartinholovsky/claude-skills-generatorBackend services development with Python emphasizing security, performance, and maintainability for JARVIS AI Assistant228skills.sh installs
5personamanagmentlayer avatarflask-expertpersonamanagmentlayer/pclExpert-level Flask web development, REST APIs, extensions, and production deployment223skills.sh installs
6jorgealves avatarpython-venv-managerjorgealves/agent_skillsSetup and validate Python virtual environments (venv, virtualenv, conda). Use to ensure isolated dependencies and correct Python versions for projects.215skills.sh installs