Packaging Python Libraries

🌐Community
by wdm0006 · vlatest · Repository

Automates Python library packaging into distributable formats like wheels and source distributions.

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 packaging-python-libraries npx -- -y @trustedskills/packaging-python-libraries
2

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

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

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

About This Skill

What it does

This skill enables AI agents to package Python libraries into distributable formats. It handles the creation of setup.py files, builds source distributions (sdist), and creates wheels for easy installation using pip. The agent can also manage versioning and dependencies during the packaging process.

When to use it

  • You need to distribute a custom Python library or module you've developed.
  • You want to create installable packages from existing Python codebases.
  • You are automating the build process for a Python project with multiple dependencies.
  • You require creating wheel files (.whl) for faster and more reliable installations.

Key capabilities

  • Generates setup.py configuration files.
  • Builds source distributions (sdist).
  • Creates wheels (.whl).
  • Manages project versioning.
  • Handles dependencies specified in requirements files.

Example prompts

  • "Package this Python library into a wheel file."
  • "Create a setup.py for my project with the name 'my_library' and version 1.0.0."
  • “Build an sdist package from the current directory.”

Tips & gotchas

  • Ensure you have Python and setuptools installed before using this skill.
  • The agent requires a valid setup.py file or sufficient information to generate one.

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
wdm0006
Installs
7

🌐 Community

Passed automated security scans.