# Python Development

> You MUST activate this skill when working on Python projects

You MUST activate this skill when working on Python projects

- Page: https://ss33.ai/skills/sammcj/python-development-33917164189
- Publisher: sammcj
- Category: [Software Development](https://ss33.ai/skills/category/software-development-t44z8z) › [Languages & frameworks](https://ss33.ai/skills/category/software-development-t44z8z/languages-and-frameworks-rgvrso)
- License: Apache-2.0
- Source: https://github.com/sammcj/agentic-coding/blob/b36813b10b9f62a649f3878e30955015aea8b98d/Skills/python-development/SKILL.md

## Skill

SKILL.md: https://ss33.ai/api/v1/ss33/download/sammcj/python-development-33917164189

# Python

- Favour Python 3.14+ features. Use `uv` for .venv management. Use `uvx ty check` for type checking
- Type hints for all functions. Dataclasses for data structures. Pathlib over os.path. f-strings
- For standalone scripts that have a few dependencies, use PEP 723 to declare dependencies in a TOML block inside `# ///` markers (e.g. `# /// script\n# dependencies = [\n#   "beautifulsoup4",\n# ]\n# ///`)
