Python Packaging
Automates Python package creation, testing, and deployment to PyPI using best practices from laurigates.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add laurigates-python-packaging npx -- -y @trustedskills/laurigates-python-packaging
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"laurigates-python-packaging": {
"command": "npx",
"args": [
"-y",
"@trustedskills/laurigates-python-packaging"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to manage Python package dependencies, allowing them to install, upgrade, and remove libraries directly within a project environment. It streamlines backend workflows by automating the resolution of version conflicts and ensuring consistent dependency states across development cycles.
When to use it
- Setting up a new Python project from scratch without manual pip or poetry commands.
- Resolving dependency errors when an AI agent attempts to run code with missing libraries.
- Updating specific packages to their latest stable versions while checking for breaking changes.
- Cleaning up unused dependencies in legacy codebases before deployment.
Key capabilities
- Install Python packages via
pipdirectly from the command line. - Upgrade existing packages to newer versions automatically.
- Uninstall or remove specific libraries from the environment.
- List installed packages and their current versions for auditing.
- Handle virtual environment configurations where supported.
Example prompts
- "Install pandas, numpy, and requests in my current Python environment."
- "Upgrade all dependencies to their latest compatible versions and check for errors."
- "Remove tensorflow from the project and list remaining installed packages."
Tips & gotchas
Ensure your AI agent has write permissions to the target directory where pip is executed. This skill relies on an active Python interpreter; it will fail if the environment lacks a valid installation or network access to PyPI.
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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.