SuperAPI AI Directory

python-development

Coding & development

View repository

Updated 10-16 03:04

About this skill

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# ///)