Python Packaging

🌐Community
by wshobson · vlatest · Repository

Automates Python package creation, versioning, testing, and distribution to PyPI using best practices.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add python-packaging npx -- -y @trustedskills/python-packaging
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "python-packaging": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/python-packaging"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The python-packaging skill enables AI agents to manage Python packages, including building, distributing, and installing them using tools like setuptools, pip, and wheel. It supports creating distribution archives, handling dependencies, and publishing packages to repositories.

When to use it

  • You need to package a Python library for public or private distribution.
  • Your AI agent must install third-party libraries from PyPI or a custom repository.
  • You are automating the process of building and testing Python packages as part of a CI/CD pipeline.

Key capabilities

  • Build source distributions (sdist) and wheel distributions (bdist_wheel).
  • Install packages using pip with support for version constraints and dependencies.
  • Publish packages to PyPI or private repositories.
  • Generate metadata files like setup.py, pyproject.toml, and MANIFEST.in.

Example prompts

  • "Install the latest version of requests from PyPI."
  • "Build a source distribution for my Python library in the current directory."
  • "Publish the package my_package to a private PyPI repository with version 1.0.0."

Tips & gotchas

Ensure that your environment has the necessary tools like pip, setuptools, and wheel installed before using this skill. Also, be mindful of dependency conflicts when installing packages from different sources.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
wshobson
Installs
3.1k

🌐 Community

Passed automated security scans.