standalone-service
CommunityDeploy standalone PostgreSQL services with ease.
Authorjuanre
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Solves the challenge of building modules that own their own PostgreSQL database by providing a complete standalone pattern with its own connection pool and migrations.
Core Features & Use Cases
- Owns its database and pool; runs migrations in isolation.
- Simple pattern for services that require full isolation or background workers.
- End-to-end lifecycle: configure, connect, migrate, use, and disconnect.
Quick Start
- Install pgdbm in your environment (pip install pgdbm).
- Create a DatabaseConfig with your dedicated PostgreSQL connection string.
- Initialize AsyncDatabaseManager with the config and call connect().
- Create AsyncMigrationManager with a migrations_path and a unique module_name, then call apply_pending_migrations().
- Use the manager to run queries, then call disconnect() on shutdown.
Dependency Matrix
Required Modules
None requiredComponents
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: standalone-service Download link: https://github.com/juanre/pgdbm/archive/main.zip#standalone-service Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.