Skip to main content
RapidKit
Python Framework

RapidKit Core

Production-ready Python engine for FastAPI and NestJS development with RapidKit modules, clean architecture, and powerful CLI tools

Works with npx rapidkit (bridge) or direct Python commands
Quick Installv0.1.0
poetry add rapidkit-core
pip install rapidkit-core
pipx install rapidkit-core

Everything you need to build production apps

Comprehensive feature set for building scalable and maintainable FastAPI applications

Smart Module System

Install production-ready modules with automatic integration.

  • Automatic dependency resolution
  • Snippet injection with version control
  • Auto-mount to routers & registry
  • Feature-based configuration

Multiple Architectures

Choose the architecture that fits your needs.

  • FastAPI Standard - Full-featured
  • FastAPI DDD - Domain-Driven Design
  • NestJS Standard - TypeScript ready
  • Profile-aware module installation

Production Module Catalog

Comprehensive module library for enterprise apps.

  • Authentication (JWT, OAuth2, API Keys)
  • Databases (PostgreSQL, MongoDB, Redis)
  • Storage (S3, Local, MinIO)
  • Real-time (WebSocket, SSE, Pub/Sub)

Enterprise Features

Production-ready features out of the box.

  • Health probes & readiness checks
  • Structured logging (JSON)
  • Migrations & rollback support
  • Module signing & verification

Professional Tooling

Complete development lifecycle tools.

  • Interactive TUI for management
  • Project doctor & diagnostics
  • Snapshot & checkpoint system
  • Module diff & upgrade tracking

Developer Experience

Built for productivity and maintainability.

  • Interactive module installation wizard
  • Configuration templates
  • Hot reload in development
  • Comprehensive test coverage

Choose your architecture

Start with the architecture that fits your project needs

Standard Architecture

Recommended

Perfect for most applications with clean separation of concerns

app/ - Application layer (routers, dependencies)
domain/ - Business logic and entities
infrastructure/ - Database, external services
modules/ - Feature-based organization

DDD Architecture

Enterprise

Domain-Driven Design for complex business domains

domain/ - Entities, value objects, aggregates
application/ - Use cases and services
infrastructure/ - Repositories and adapters
presentation/ - API endpoints and schemas

Powerful CLI Tools

Comprehensive command-line interface for all your development needs

npx rapidkit create project

Create a new project with the interactive wizard

npx rapidkit create project fastapi.standard my-api

Create project via NPM bridge (anywhere)

npx rapidkit add module redis

Install module with automatic integration

npx rapidkit modules list

Browse spec-compliant free-tier modules

npx rapidkit dev

Start dev server (bridge - works anywhere)

rapidkit dev

Start dev server (direct - inside workspace)

rapidkit doctor

Diagnose environment and project health

rapidkit --tui

Launch interactive terminal UI

Smart Module Installation

Automatic integration with version control and dependency resolution

Automatic Integration

  • Files created/overwritten in project structure
  • Auto-mount to routers and registries
  • Health probes automatically registered
  • Dependencies added to pyproject.toml

Snippet Injection

  • Environment variables to .env files
  • Settings fields to configuration
  • Version tracking for updates
  • Skip already injected snippets

Dependency Resolution

  • Automatic dependency chain detection
  • Install required modules first
  • Profile-aware module configuration
  • Feature flags for customization

Safety & Rollback

  • Module signing & verification
  • Rollback to previous state
  • Checkpoint system for snapshots
  • Detailed installation summary
Installation Output Example
$ npx rapidkit add module free/cache/redis
✔ Detected profile: fastapi/standard
[pkg] Installing module: free/redis v0.1.8
Dependency chain: settings → redis
✔ Files created: 10 | Snippets injected: 4
✔ Auto-mounted to registry & health probes
[done] Module installed successfully!

Get started in 5 steps

From installation to production-ready application

1

Create Workspace

NPM package sets up workspace & installs Python core

npx rapidkit create workspace my-workspace --yes --profile polyglot
2

Activate Environment

Enter the Python environment

cd my-workspace && source $(poetry env info --path)/bin/activate
3

Create Project

Interactive project creation (works in/out of workspace)

npx rapidkit create project
4

Add Modules

Install modules with auto-integration

cd my-api && npx rapidkit add module free/cache/redis
5

Start Development

Bridge to Python dev server (direct works inside workspace)

npx rapidkit dev

Ready to build something amazing?

Join developers who are building production-ready FastAPI applications with RapidKit Core