
python-plugin
Python ecosystem plugin bundling uv, ruff, ty, pytest, and packaging skills for modern Astral tooling.
- version
- 1.5.10
- GitHub stars
- 60
What it does
- Adds 18 skills covering uv project and dependency management, ruff linting and formatting, and pytest testing patterns
- Covers type checking with ty and basedpyright, plus packaging to PyPI with wheels, sdists, and entry points
- Includes
python-developmentandpython-code-qualityskills, plus apython-developmentagent for Python-specific tasks - Designed for Python projects that want uv, ruff, and pytest handled through Claude Code without manual setup
Add marketplace
/plugin marketplace add laurigates/claude-pluginsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install python-plugin@laurigates-claude-pluginsRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceBasedpyright Type Checking
Basedpyright is a fork of Pyright with additional features and stricter defaults, designed for maximum type safety and performance.
When to Use This Skill
| Use this skill when... | Use another tool instead when... |
|---|---|
| Setting up type checking for Python | Formatting code (use ruff format) |
| Configuring strict type validation | Linting for style issues (use ruff check) |
| Comparing type checkers (basedpyright vs mypy) | Detecting unused code (use vulture/deadcode) |
| Setting up LSP for type-aware editor support | Running tests (use pytest) |
Installation
Via uv (Recommended)
# Install globally
uv tool install basedpyright
# Install as dev dependency
uv add --dev basedpyright
# Run with uv
uv run basedpyright
Via pipx
pipx install basedpyright
Basic Usage
# Check entire project
basedpyright
# Check specific files/directories
basedpyright src/ tests/
# Watch mode for development
basedpyright --watch
# Output JSON for tooling integration
basedpyright --outputjson
# Verbose diagnostics
basedpyright --verbose
Configuration
Minimal Strict Configuration (pyproject.toml)
[tool.basedpyright]
typeCheckingMode = "strict"
pythonVersion = "3.12"
include = ["src"]
exclude = ["**/__pycache__", "**/.venv"]
# Basedpyright-specific strict rules
reportUnusedCallResult = "error"
reportImplicitStringConcatenation = "error"
reportMissingSuperCall = "error"
reportUninitializedInstanceVariable = "error"
Type Checking Modes
| Mode | Description | Use Case |
|---|---|---|
off | No type checking | Legacy code, migration start |
basic | Basic type checking | Gradual typing adoption |
standard | Standard strictness | Most projects (default Pyright) |
strict | Strict type checking | Type-safe codebases |
all | Maximum strictness | High-assurance systems |
Progressive Type Checking
# Start with basic mode
[tool.basedpyright]
typeCheckingMode = "basic"
include = ["src/new_module"] # Type check new code only
# Gradually expand
include = ["src/new_module", "src/api"]
# Eventually enable strict mode
typeCheckingMode = "strict"
include = ["src"]
Choosing a Type Checker
| Factor | Basedpyright | Pyright | mypy |
|---|---|---|---|
| Speed | Fastest | Fastest | Slower |
| Strictness | Strictest defaults | Configurable | Configurable |
| LSP Support | Built-in | Built-in | Via dmypy |
| Plugin System | Limited | Limited | Extensive |
Choose Basedpyright for maximum type safety with stricter defaults and fastest speed. Choose Pyright for Microsoft's official support and VS Code Pylance compatibility. Choose mypy for extensive plugin ecosystem (django-stubs, pydantic-mypy).
Inline Error Suppression
# Inline type ignore
result = unsafe_operation() # type: ignore[reportUnknownVariableType]
# Function-level ignore
def legacy_function(): # basedpyright: ignore
pass
Agentic Optimizations
| Context | Command |
|---|---|
| Quick check | basedpyright |
| JSON output | basedpyright --outputjson |
| Watch mode | basedpyright --watch |
| CI check | uv run basedpyright |
| Verbose | basedpyright --verbose |
Quick Reference
| Flag | Description |
|---|---|
--watch | Watch mode for development |
--outputjson | JSON output for tooling |
--verbose | Verbose diagnostics |
--pythonversion X.Y | Override Python version |
--level <mode> | Override type checking mode |
For detailed configuration options, LSP integration, migration guides, CI setup, and best practices, see REFERENCE.md.
Readme
Python Plugin
Python development ecosystem for Claude Code - uv, ruff, pytest, packaging, and type checking.
Overview
Comprehensive Python development support with modern Astral tooling: uv for package management, ruff for linting/formatting, ty for fast type checking, pytest for testing, and basedpyright as an alternative type checker.
Skills
Package Management (uv)
| Skill | Description |
|---|---|
uv-project-management | Project setup and configuration with uv |
uv-python-versions | Manage Python versions with uv |
uv-advanced-dependencies | Advanced dependency management |
uv-tool-management | Manage tools with uv |
uv-run | Run Python scripts with uv |
uv-workspaces | Manage Python workspaces |
Code Quality (ruff)
| Skill | Description |
|---|---|
ruff-linting | Python linting with ruff; editor/pre-commit/CI/Docker integration in its REFERENCE.md |
ruff-formatting | Python formatting with ruff |
Testing
| Skill | Description |
|---|---|
pytest-advanced | Advanced pytest patterns and techniques |
python-testing | General Python testing patterns |
Type Checking
| Skill | Description |
|---|---|
ty-type-checking | Type checking with ty (Astral's fast type checker) |
basedpyright-type-checking | Type checking with basedpyright |
Development
| Skill | Description |
|---|---|
python-development | Python development patterns and best practices |
python-code-quality | Code quality tools and patterns |
python-packaging | Package creation and distribution |
typer-cli-completion | Ship shell completion from a Typer/Click CLI that works outside an interactive shell |
vulture-dead-code | Detect dead Python code |
Agent
| Agent | Description |
|---|---|
python-development | Python-specific development tasks |
Usage Examples
Project Setup with uv
uv init my-project
cd my-project
uv add requests pytest
Linting and Formatting
ruff check .
ruff format .
Type Checking
# Using ty (fastest, Astral ecosystem)
ty check
# Using basedpyright (stricter defaults)
basedpyright
Companion Plugins
Works well with:
- testing-plugin - For TDD workflow and test strategies
- code-quality-plugin - For code review and refactoring
Installation
/plugin install python-plugin@laurigates-claude-plugins
License
MIT
Details
- Marketplace
- laurigates/claude-plugins
- Source
- python-plugin
- Author
- Lauri Gates
- Category
- Language
- License
- MIT
- Keywords
- python, uv, ruff, pytest, packaging
- Listed since
- Apr 7, 2026
More from laurigates/claude-plugins
All 52- reverse-engineering-pluginv1.1.0
- rust-pluginv1.9.1
- session-pluginv1.18.3
- software-design-pluginv1.2.0
- taskwarrior-pluginv1.16.4
- terraform-pluginv1.7.13
- testing-pluginv3.27.2
- tools-pluginv2.16.2
- typescript-pluginv1.10.4
- video-pluginv2.0.2
- workflow-orchestration-pluginv1.20.0
- youtube-pluginv1.1.0
- accessibility-pluginv2.3.6
- agent-patterns-pluginv2.58.5
- agents-pluginv1.16.3
- api-pluginv2.0.1
- bevy-pluginv1.4.2
- bios-pluginv1.2.0
- blog-pluginv1.3.4
- blueprint-pluginv3.52.0
- cloud-pluginv1.1.1
- code-quality-pluginv1.30.4
- codebase-attributes-pluginv1.3.4
- comfyui-pluginv1.15.7
Similar to python-plugin
More Developer Tools
uvPluginstickystyle/claude-skills1 starPython package manager and project tooling using uv. Use when working with Python projects, managing dependencies, creating virtual environments, running Python
python-library-distributionPluginwdm0006/python-skills115 starsSkills for packaging, releasing, and distributing Python libraries
python-toolkitPluginarmanzeroeight/fastagent-plugins29 starsPython development toolkit with UV for fast package management, project structure, and dependency management. Includes python expert agent for strategic Python
developer-kit-pythonPlugingiuseppe-trisciuoglio/developer-kit372 starsPython development capabilities
Pare PythonMCP serverdave-london141 starsStructured JSON output from Python tools like ruff, mypy, pip, uv, black, and pytest.
nushell-skillsPluginYPares/agent-skills30 starsSkills for Nushell development, including plugin creation in Rust