python-peewee

Community

Orchestrate Peewee DB patterns safely.

Authornarumiruna
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Peewee projects often struggle with cleanly wiring a DatabaseProxy, managing scoped connections, and enforcing consistent transactional boundaries across app and tests.

Core Features & Use Cases

  • DatabaseProxy setup: define and initialize a shared proxy for app and test code.
  • BaseModel integration: centralize model definitions with a single database binding.
  • Scoped connections & transactions: use connection_context() and atomic() to ensure deterministic behavior during reads/writes and tests.

Quick Start

Initialize the DatabaseProxy, bind it to a database (e.g., SQLite), and define a BaseModel to begin writing deterministic tests.

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-peewee
Download link: https://github.com/narumiruna/skills/archive/main.zip#python-peewee

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 510,000+ vetted skills library on demand.