python

Set up and run Python projects with isolated environments via uv, poetry, or venv.

6|Updated Dec 28, 2023
One-click install
npx skills add https://github.com/staticWagomU/dotfiles --skill python-staticwagomu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python
Source: https://github.com/staticWagomU/dotfiles/tree/main/config/claude/skills/python
Command: npx skills add https://github.com/staticWagomU/dotfiles --skill python-staticwagomu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Python projects often suffer from inconsistent environments across machines, causing flaky setups and unreliable runs.

Core Features & Use Cases

  • Create and manage isolated environments (venv, poetry) to ensure reproducible Python executions.
  • Provide deterministic execution by pinning Python versions and dependencies.
  • Use case: quickly initialize a project, install dependencies, and run scripts with predictable results.

Quick Start

Configure a reproducible Python environment and run your first Python script using uv, poetry, or a venv.

Frequently Asked Questions about python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a consistent Python environment for reliable script execution?

To set up a consistent Python environment, you must isolate dependencies using uv, poetry, or venv, and pin your specific Python version. This approach ensures deterministic execution and reproducible script runs across different machines.

What is the best way to manage Python virtual environments across macOS, Linux, and Windows?

The best way to manage Python virtual environments across macOS, Linux, and Windows is using uv, poetry, or venv to isolate project dependencies. This cross-platform isolation guarantees consistent execution and prevents environment conflicts.

Does uv work with poetry for managing Python project dependencies?

Yes, uv and poetry are both supported tools for managing Python project dependencies and isolated environments. You can use either tool to pin Python versions, initialize projects, and ensure deterministic command execution across platforms.

Why does my Python project fail to run consistently across different machines?

Your Python project fails to run consistently across machines due to unpinned Python versions and unmanaged dependencies. Applying virtual environment isolation via uv, poetry, or venv ensures deterministic execution and eliminates flaky setups.

How do I run Python tests in a reproducible virtual environment?

To run Python tests in a reproducible virtual environment, configure your project using uv, poetry, or venv to install dependencies deterministically. This isolates your test execution, ensuring predictable and reliable results across different operating systems.

Do I need explicit Python version management for local development workflows?

Yes, explicit Python version management is required for local development workflows to achieve deterministic command execution. Pinning your Python version alongside dependencies using uv, poetry, or venv ensures predictable and reproducible runs.