python-development

Scaffold Python 3.12+ projects with FastAPI, Django, and async I/O.

Updated Jul 8, 2022
One-click install
npx skills add https://github.com/limaon/dotfiles --skill python-development-limaon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-development
Source: https://github.com/limaon/dotfiles/tree/main/.config/opencode/skills/python-development
Command: npx skills add https://github.com/limaon/dotfiles --skill python-development-limaon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides teams and developers in setting up modern Python projects, ensuring consistent structure, typing discipline, testing practices, and production-ready patterns for Python 3.12+.

Core Features & Use Cases

  • Project scaffolding: Establishes a clean, scalable layout for Python applications (APIs, data processing, automation) with a clear src layout and tests.
  • Async & API patterns: Demonstrates best practices for asynchronous I/O, FastAPI and Django integrations, and type-safe data models.
  • Quality & tooling: Enforces linting, strict typing, and robust testing workflows with examples for Pytest, Ruff, and MyPy.
  • Use Case: You need a new API service or data processing pipeline built on Python 3.12+; this Skill provides a ready-to-extend blueprint and example code to accelerate delivery.

Quick Start

  1. Install Python 3.12+ and create a virtual environment.
  2. Follow the project structure and install required dependencies (FastAPI, Django, Pydantic, etc.) as shown in the example.
  3. Start the sample server or run tests to verify the setup.

Frequently Asked Questions about python-development

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

FAQPage Schema
How do I scaffold a Python 3.12+ project for FastAPI and async I/O?

Scaffolding a Python 3.12+ FastAPI project involves establishing a clean, scalable src layout with strict typing, async I/O patterns, and robust testing workflows. This structure provides a ready-to-extend blueprint for developing production-ready APIs and data pipelines.

What is the best way to structure a Django web API with strict typing and linting?

Structuring a modern Django web API requires enforcing strict typing and linting workflows using tools like Ruff and MyPy. Applying these quality and tooling practices within a clear src layout ensures type-safe data models and consistent, robust application code.

Can I use this Python development setup for data processing pipelines and background tasks?

Yes, this Python development setup explicitly supports data processing pipelines and background tasks. It applies modern project patterns and asynchronous I/O best practices across web APIs and automation tasks to ensure robust, production-ready code.

Do I need Python 3.12+ to build async APIs with FastAPI and Pydantic?

Yes, Python 3.12+ is required to use this FastAPI and Pydantic async API setup. The development patterns, project structure, and standard tooling examples are specifically tailored for Python 3.12+ to ensure robust, production-ready code.