Domain Catalog¶
Spindle ships 13 industry domains, each with realistic table schemas, weighted distributions, and configurable scale presets.
Available Domains¶
| Domain | Module | Tables | Description |
|---|---|---|---|
| Retail | RetailDomain |
9 | Customers, products, orders, and returns |
| Healthcare | HealthcareDomain |
9 | Patients, encounters, diagnoses, procedures, and claims |
| Financial | FinancialDomain |
10 | Accounts, transactions, loans, and fraud detection |
| Supply Chain | SupplyChainDomain |
10 | Warehouses, purchasing, inventory, and logistics |
| IoT | IoTDomain |
8 | Devices, sensors, readings, alerts, and maintenance |
| HR | HrDomain |
9 | Employees, departments, compensation, and performance |
| Insurance | InsuranceDomain |
9 | Policies, claims, underwriting, and premium management |
| Marketing | MarketingDomain |
10 | Campaigns, contacts, leads, opportunities, and conversions |
| Education | EducationDomain |
9 | Students, courses, enrollments, grades, and financial aid |
| Real Estate | RealEstateDomain |
9 | Properties, listings, offers, transactions, and inspections |
| Manufacturing | ManufacturingDomain |
9 | Production lines, work orders, quality control, and equipment |
| Telecom | TelecomDomain |
9 | Subscribers, service lines, usage records, billing, and churn |
| Capital Markets | CapitalMarketsDomain |
10 | S&P 500 equities, daily OHLCV, dividends, earnings, insider transactions |
Quick Start¶
from sqllocks_spindle import Spindle, RetailDomain
result = Spindle().generate(domain=RetailDomain(), scale="small", seed=42)
print(result.summary())
Every domain supports the same scale presets (fabric_demo, small, medium, large, etc.) and can output to DataFrames, Parquet, or Delta Lake.