{"repo":"nabroleonx/dbslice","free":true,"listed":false,"github":"https://github.com/nabroleonx/dbslice","clone":"git clone https://github.com/nabroleonx/dbslice.git","description":"Extract a slice of your production database to reproduce bugs locally. Point dbslice at a record, it follows foreign keys and gives you a complete, importable subset","language":"Python","stars":142,"topics":["database","postgresql","python","subset"],"license":null,"category":"databases-storage","readme_excerpt":"dbslice Extract minimal, referentially-intact database subsets for local development and debugging. The Problem Copying an entire production database to your machine is infeasible. But reproducing a bug often requires having the exact data that caused it. dbslice solves this by extracting only the records you need, following foreign key relationships to ensure referential integrity. Quick Start Features - Zero-config start -- Introspects schema automatically, no data model file required - Single command -- Extract complete data subsets with one CLI invocation - Safe by default -- Auto-detects and anonymizes sensitive fields (emails, phones, SSNs, etc.) - Compliance profiles -- Built-in GDPR, HIPAA Safe Harbor, and PCI-DSS profiles with two-phase PII scanning - Column mapping UI -- Local browser UI to visually map columns, apply compliance profiles, and export config - Multiple output formats -- SQL, JSON, and CSV - Streaming -- Memory-efficient extraction for large datasets (100K+ rows) - Virtual foreign keys -- Support for Django GenericForeignKeys and implicit relationships via config - Config files -- YAML-based configuration for repeatable extractions - Validation -- Checks referential integrity of extracted data Database Support Database Status ------------ ----------------------- PostgreSQL Fully supported MySQL Planned (not yet implemented) SQLite Planned (not yet implemented) Installation Usage Basic Extraction Control Traversal Anonymization Column Mapping UI Map col","default_branch":null,"files":null,"tree":[],"storefront":"/r/nabroleonx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nabroleonx/dbslice/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}