Python Packaging Uv
Automates Python package creation, versioning, testing, and UV deployment to PyPI using best practices.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add python-packaging-uv npx -- -y @trustedskills/python-packaging-uv
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"python-packaging-uv": {
"command": "npx",
"args": [
"-y",
"@trustedskills/python-packaging-uv"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows an AI agent to create and manage Python packages using uv. It automates tasks like setting up project structure, defining metadata, building distributions (wheels and source archives), and publishing to PyPI. The skill streamlines the process of creating reusable Python libraries or applications.
When to use it
- You need to package a Python script or module into a distributable format for others to use.
- You want to automate the creation of
pyproject.tomlfiles and build systems for your Python projects. - You're preparing a Python project for publication on PyPI (Python Package Index).
- You need to create wheels (.whl) and source distributions (.tar.gz) from your Python code.
Key capabilities
- Project setup with
uv - Generation of
pyproject.tomlfiles - Building Python packages (wheels & sdist)
- Package publishing to PyPI
Example prompts
- "Create a new python package named 'my_library' using uv."
- "Build a wheel and source distribution for my existing project."
- “Publish the current directory as a Python package to PyPI.”
Tips & gotchas
- Ensure you have
uvinstalled in your environment before using this skill. - The agent will require appropriate credentials (e.g., API tokens) if publishing 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.