python-fastapi-feature-modular

Community

Pragmatic feature-first FastAPI backend design.

Authoriinoshirozheng
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This architecture pattern provides a pragmatic approach to building Python/FastAPI backends by focusing on features and vertical slices instead of enforcing heavy Hexagonal/DDD layers.

Core Features & Use Cases

  • Feature-centric boundaries: Group code by business capability (feature) rather than by artifact type.
  • Pragmatic dependencies: Use a single, centralized clients layer for external services without port/adapters boilerplate.
  • Pythonic simplicity: Leverage Python's duck-typing and straightforward project structure for maintainability.
  • Use Case: When refactoring a monolithic API into modular features, this pattern helps teams iterate quickly with clear ownership.

Quick Start

Create a new feature slice under app/features, implement its service logic, and wire it into FastAPI routing.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: python-fastapi-feature-modular
Download link: https://github.com/iinoshirozheng/SinoCloudChat/archive/main.zip#python-fastapi-feature-modular

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.