{"slug":"python-stack","title":"python-stack","summary":"Develop Python projects and PEP 723 scripts: uv, Ruff, ty, Pydantic, pytest tests, async, HTTPX API clients, structlog/OpenTelemetry, LangExtract; fix lint/types.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-10-23T17:42:44.863743Z","repo":{"url":"https://github.com/fmind/dot","stars":13,"forks":0,"license":"MIT","updatedAt":"2026-11-12T20:32:33Z"},"bodyHtml":"<hr>\n<h2>name: python-stack\ndescription: \"Develop Python projects and PEP 723 scripts: uv, Ruff, ty, Pydantic, pytest tests, async, HTTPX API clients, structlog/OpenTelemetry, LangExtract; fix lint/types.\"\nlicense: MIT\nmetadata:\nkind: collection\nauthor: Médéric HURIER (Fmind)\nsource: github.com/fmind/dot/tree/main/skills/python-stack\ncreated: \"2026-06-23\"\nupdated: \"2026-10-20\"</h2>\n<h1>Python Stack</h1>\n<p>Maintain a small typed Python foundation and choose libraries for demonstrated requirements. Preserve the existing environment and conventions rather than restarting a scaffold for every feature.</p>\n<h2>Workflow</h2>\n<p>Read only the matching guide and its required resources. Use a known guide directly when shared prerequisites are not needed. Dataframe code in any profile, scripts included, defaults to <a href=\"../python-mlops/references/polars.md\">Polars</a>.</p>\n<h2>Task guides</h2>\n\n<ul>\n<li><a href=\"references/api-client/GUIDE.md\">api-client</a>: Build typed Python HTTPX API clients with bounded pagination and retries.</li>\n<li><a href=\"references/foundation/GUIDE.md\">foundation</a>: Python package layout, dependency choices, defaults, and project scaffolding.</li>\n<li><a href=\"references/langextract.md\">langextract</a>: Extract structured facts from text with LangExtract and source-grounded evidence.</li>\n<li><a href=\"references/observability.md\">observability</a>: Instrument Python services and agents: structlog logs, OpenTelemetry traces and metrics.</li>\n<li><a href=\"references/pydantic.md\">pydantic</a>: Typed validation, serialization, and settings boundaries.</li>\n<li><a href=\"references/python-async/GUIDE.md\">python-async</a>: Async design, cancellation, timeouts, and shutdown.</li>\n<li><a href=\"references/python-script/GUIDE.md\">python-script</a>: Standalone single-file utilities with PEP 723 inline metadata run by uv run --script.</li>\n<li><a href=\"references/python-testing/GUIDE.md\">python-testing</a>: Write Python tests with pytest, fixtures, property tests, and TDD.</li>\n<li><a href=\"references/ruff.md\">ruff</a>: Python linting, formatting, imports, and safe fixes.</li>\n<li><a href=\"references/ty.md\">ty</a>: Type diagnostics and environment resolution.</li>\n<li><a href=\"references/uv.md\">uv</a>: Dependency resolution, environments, packaging, and lockfiles.</li>\n</ul>\n\n","files":[{"path":"references/api-client/GUIDE.md","sizeBytes":3714,"isText":true},{"path":"references/api-client/references/httpx-tests.md","sizeBytes":1093,"isText":true},{"path":"references/argparse/GUIDE.md","sizeBytes":5403,"isText":true},{"path":"references/argparse/references/bootstrap.md","sizeBytes":1159,"isText":true},{"path":"references/argparse/templates/init-cli.py","sizeBytes":1272,"isText":true},{"path":"references/argparse/templates/main.py","sizeBytes":66,"isText":true},{"path":"references/argparse/templates/test_cli.py","sizeBytes":2222,"isText":true},{"path":"references/argparse/templates/test_smoke.py","sizeBytes":525,"isText":true},{"path":"references/foundation/GUIDE.md","sizeBytes":8582,"isText":true},{"path":"references/foundation/references/bootstrap.md","sizeBytes":2449,"isText":true},{"path":"references/foundation/templates/AGENTS.md.template","sizeBytes":1635,"isText":false},{"path":"references/foundation/templates/docs-index.md","sizeBytes":72,"isText":true},{"path":"references/foundation/templates/gitignore","sizeBytes":184,"isText":false},{"path":"references/foundation/templates/ignore","sizeBytes":274,"isText":false},{"path":"references/foundation/templates/init-library.py","sizeBytes":94,"isText":true},{"path":"references/foundation/templates/lefthook.yml","sizeBytes":822,"isText":true},{"path":"references/foundation/templates/mise.toml","sizeBytes":5105,"isText":true},{"path":"references/foundation/templates/pyproject.toml.template","sizeBytes":2808,"isText":false},{"path":"references/foundation/templates/test_library.py","sizeBytes":158,"isText":true},{"path":"references/foundation/templates/zensical.toml","sizeBytes":602,"isText":true},{"path":"references/langextract.md","sizeBytes":2215,"isText":true},{"path":"references/observability.md","sizeBytes":3357,"isText":true},{"path":"references/performance.md","sizeBytes":4021,"isText":true},{"path":"references/pydantic.md","sizeBytes":1977,"isText":true},{"path":"references/python-async/GUIDE.md","sizeBytes":1948,"isText":true},{"path":"references/python-script/GUIDE.md","sizeBytes":2418,"isText":true},{"path":"references/python-script/templates/script.py","sizeBytes":1926,"isText":true},{"path":"references/python-testing/GUIDE.md","sizeBytes":2051,"isText":true},{"path":"references/python-testing/references/mutation-tests.md","sizeBytes":1008,"isText":true},{"path":"references/python-testing/references/property-tests.md","sizeBytes":1053,"isText":true},{"path":"references/python-testing/references/pytest.md","sizeBytes":3612,"isText":true},{"path":"SKILL.md","sizeBytes":2263,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"notes-only","suspicious":0,"notes":1,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-12T21:48:10.129225Z","sha256":"80631B498B427F06A3F82792E3A8736564200B068B07A8E8CB633AB720632D1B","sizeBytes":36907},"review":null,"source":{"repositoryUrl":"https://github.com/fmind/dot","path":"skills/python-stack","license":"MIT","commit":"3bbe8303052db130faddc36c3df828ddb44e34d3","subtreeSha":"2BE87295C7DFCFC22868B1AAF09E506017C16983BCC5BBEBE3F3D12FB5A1C587","lastSyncedAt":"2026-11-12T21:44:53.841763Z"},"reviewedAt":"2026-11-12T21:55:14.137665Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/fmind/dot/tree/main/skills/python-stack"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install fmind-dot@llmmart"},{"target":"git","command":"git clone https://github.com/fmind/dot.git"}]}