Intelligent Financial Modeling Platform for Small Businesses
WACCY is an intelligent financial modeling platform designed to automatically extract, parse, classify, and synthesize business data from diverse sources to generate sophisticated, production-grade financial models and operating analyses. The platform's primary focus is on small businessesβfrom sole proprietorships to growing companiesβthat struggle with messy, incomplete, and poorly-maintained financial records.
Unlike large enterprises with dedicated accounting teams, small businesses often have inconsistent record-keeping, ambiguous account classifications, incomplete data, and limited financial infrastructure. WACCY transforms this raw, often chaotic business data into comprehensive, auditable, and decision-ready financial models that adhere to institutional-quality standards.
WACCY uses uv, the modern Python package manager. Install the core platform:
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Install WACCY core platform
uv pip install waccy
# Install with core extensions (QuickBooks Online and SEC EDGAR)
uv pip install "waccy[quickbooks,edgar]"
# Or install individual extensions
uv pip install waccy-quickbooks
uv pip install waccy-edgarfrom waccy.extraction import ExtractorRegistry
from waccy.modeling import ModelBuilder
# Discover available extractors
registry = ExtractorRegistry()
available_sources = registry.list_extractors()
print(f"Available data sources: {available_sources}")
# Extract data from QuickBooks Online
quickbooks_extractor = registry.get_extractor("quickbooks")
extracted_data = quickbooks_extractor().extract({
"company_id": "your_company_id",
"date_range": ("2023-01-01", "2024-12-31")
})
# Build a 3-statement financial model
builder = ModelBuilder()
model = builder.build_three_statement_model(
extracted_data=extracted_data,
forecast_periods=12
)
# Export to Google Sheets
builder.export_to_sheets(model, output_path="financial_model.xlsx")- Intelligent Account Mapping: LLM-enhanced classification for ambiguous account names and inconsistent categorizations
- Missing Data Inference: Patterns learned from high-quality sources (EDGAR filings) to infer missing information
- Causal Chain Recognition: Understands how financial events cascade through statements
- Terminology Normalization: Maps equivalent concepts across different naming conventions
- Confidence Scoring: Every classification includes a confidence score for quality assessment
- WACCY Standard Chart of Accounts: Comprehensive, standardized classification ontology
- Universal Mapping: All data sources map to the same standard accounts for consistency
- Industry Templates: Pre-configured extensions for SaaS, manufacturing, retail, real estate, and more
- Quality Quantification: Standardized ontology enables measurement of data quality and model reliability
- 3-Statement Integrated Models: Income statement, balance sheet, and cash flow with full balancing
- DCF Valuation Models: Detailed free cash flow construction, terminal value analysis, WACC calculation
- Trading Comparables: Peer company analysis with multiple calculation and benchmarking
- Transaction Comparables: Precedent M&A transaction analysis
- LBO Models: Leveraged buyout analysis with returns calculation and debt schedules
- M&A Models: Accretion/dilution analysis with purchase accounting
- Specialized Models: SaaS cohort models, REIT models, project finance, cap tables, and more
- Core Platform: Focused core with QuickBooks Online and SEC EDGAR as primary data sources
- Extensible Design: Community-developed extension packages for additional data sources
- Entry Point Discovery: Automatic discovery of extensions via Python entry points
- Simple Installation: Install only the extensions you need
- Driver-Based Forecasting: Revenue builds from price Γ volume, units Γ ARPU, cohort models
- Working Capital Modeling: DSO, DIO, DPO analysis with seasonality adjustments
- Debt & Interest Modeling: Revolver mechanics, amortization schedules, cash sweep waterfalls
- Tax Modeling: Effective tax rates, DTAs/DTLs, NOL utilization tracking
- Sensitivity Analysis: Comprehensive scenario modeling and tornado charts
- Pandera Validation: Schema-based validation for extracted data
- Mapping Confidence Scores: Quantify the reliability of account mappings
- Reconciliation Checks: Cross-referencing between sources and balance checks
- Audit Trails: Every data point traceable to source with full provenance
- Google Sheets Export: Production-ready spreadsheet models with proper formatting
- Professional Architecture: Modular tab structures, consistent time axis, clear sign conventions
- Color Conventions: Inputs in blue, calculations in black, outputs in green
- Balance Checks: Built-in reconciliation tables and error flags
- Scenario Tooling: Data tables for sensitivity analysis, scenario toggles, goal seek integration
from waccy.extraction import ExtractorRegistry
from waccy.classification import ClassificationEngine
from waccy.modeling import ModelBuilder
from waccy.core.ontology import StandardChartOfAccounts
# 1. Extract data from QuickBooks Online (handles messy, incomplete records)
registry = ExtractorRegistry()
extractor = registry.get_extractor("quickbooks")()
credentials = {
"client_id": "your_client_id",
"client_secret": "your_client_secret",
"access_token": "your_access_token"
}
extractor.authenticate(credentials)
extracted_data = extractor.extract({
"company_id": "123456789",
"date_range": ("2022-01-01", "2024-12-31"),
"include_transactions": True
})
# 2. Classify and map to standard accounts (with LLM enhancement for ambiguity)
ontology = StandardChartOfAccounts()
classification_engine = ClassificationEngine()
for account in extracted_data.accounts:
mapped_account, confidence = classification_engine.classify_account(
source_account_name=account.name,
transaction_patterns=account.transaction_history,
context={"company_type": "SaaS", "industry": "Software"}
)
print(f"Mapped '{account.name}' to '{mapped_account.name}' (confidence: {confidence:.2f})")
# 3. Build 3-statement integrated model
builder = ModelBuilder()
model = builder.build_three_statement_model(
extracted_data=extracted_data,
forecast_periods=24
)
# 4. Generate DCF valuation
dcf_model = builder.build_dcf_model(
three_statement_model=model,
wacc=0.10,
terminal_growth_rate=0.03,
exit_multiple=12.0
)
# 5. Export to Google Sheets
builder.export_to_sheets(model, output_path="financial_model.xlsx")
builder.export_to_sheets(dcf_model, output_path="dcf_valuation.xlsx")
# 6. Generate quality report
quality_report = extracted_data.generate_quality_report()
print(f"Data completeness: {quality_report.completeness:.2%}")
print(f"Average mapping confidence: {quality_report.avg_confidence:.2f}")
print(f"Issues flagged: {len(quality_report.issues)}")Source Account: "Sales Revenue" (QuickBooks)
Mapped To: Revenue - Product Sales (WACCY Standard)
Confidence: 0.95
Validation: β
Transaction patterns match revenue recognition
Financial Model.xlsx
βββ Assumptions
β βββ Revenue Drivers
β βββ Cost Assumptions
β βββ Working Capital
βββ Income Statement
β βββ Historical (3 years)
β βββ Forecast (2 years)
βββ Balance Sheet
β βββ Assets (Current & Non-Current)
β βββ Liabilities (Current & Non-Current)
β βββ Equity
βββ Cash Flow Statement
β βββ Operating Activities
β βββ Investing Activities
β βββ Financing Activities
βββ Supporting Schedules
β βββ Working Capital Detail
β βββ Debt Schedule
β βββ Depreciation
βββ Checks & Reconciliations
βββ Balance Checks
βββ Quality Metrics
Primary Data Source - The accounting system most commonly used by small businesses.
- Direct API integration for chart of accounts, general ledger, and financial statements
- Intelligent handling of ambiguous, inconsistently-named accounts
- Transaction-level detail extraction
- Vendor and customer data integration
- Skeptical treatment of source classifications with validation
Pattern Learning & Reference Data - High-quality financial data for learning and benchmarking.
- Automated parsing of 10-K, 10-Q, 8-K filings
- Proxy statement and registration statement processing
- Pattern extraction for proper financial classification
- Learning causal chains from professional financial reports
- Application of learned patterns to small business data
Additional data sources available as modular extensions:
waccy-google- Google Drive and Gmail integrationwaccy-xero- Xero accounting systemwaccy-sage- Sage accounting platformwaccy-stripe- Payment processor datawaccy-salesforce- CRM and sales pipeline data
WACCY uses a monorepo structure where the core platform and first-party extensions are maintained together but built and published separately.
waccy/
βββ src/
β βββ waccy/ # Core platform
β βββ core/
β β βββ ontology.py # Standardized chart of accounts
β β βββ models.py # Core data models (Pydantic)
β β βββ validation.py # Data validation (Pandera)
β βββ extraction/
β β βββ base.py # Abstract base classes
β β βββ registry.py # Extension registry
β β βββ mapper.py # Mapping to standard ontology
β βββ classification/
β β βββ engine.py # LLM-enhanced classification
β β βββ patterns.py # Pattern matching from EDGAR
β β βββ confidence.py # Confidence scoring
β βββ modeling/
β β βββ builder.py # Model construction
β β βββ templates.py # Model templates
β β βββ exporters.py # Google Sheets export
β βββ utils/
β βββ dates.py
β βββ formatting.py
β βββ validation.py
βββ extensions/ # First-party extensions (monorepo)
β βββ waccy-quickbooks/ # QuickBooks Online integration
β β βββ src/waccy_quickbooks/
β β βββ pyproject.toml
β βββ waccy-edgar/ # SEC EDGAR filing parser
β βββ src/waccy_edgar/
β βββ pyproject.toml
βββ tests/
β βββ unit/
β βββ integration/
β βββ fixtures/
βββ scripts/
β βββ publish.py # Publish core package
β βββ build-extension.py # Build extension packages
β βββ publish-extension.py # Publish extension packages
βββ docs/
β βββ 0-MISSION.md
β βββ 1-ARCHITECTURE.md
β βββ 2-EXPERIENCE.md
β βββ skills_models.md
βββ pyproject.toml # Core package configuration
- Unified Development: All packages in one repository for easier coordination
- Independent Publishing: Each package builds and publishes separately to PyPI
- Shared Standards: Consistent code quality, linting, and testing across packages
- Easier Refactoring: Changes to core can be tested with all extensions immediately
See extensions/README.md for details on working with extensions.
# Install development dependencies
uv sync --dev
# Run all tests
uv run pytest
# Run with coverage
uv run pytest --cov=waccy --cov-report=html
# Run specific test suites
uv run pytest tests/unit/
uv run pytest tests/integration/
# Format and lint with ruff
uv run ruff format
uv run ruff check --fix
# Type checking with mypy
uv run mypy src/waccy- Mission Statement - Project goals, philosophy, and roadmap
- Architecture - Technical architecture and design principles
- Experience Guide - User experience and workflows
- Skills & Models - Financial modeling capabilities
-
Simplicity and Focus: Core platform maintains a simple, focused design with essential data sources (QBO and EDGAR)
-
Standardized Ontology First: All financial data maps to a standardized WACCY chart of accounts, ensuring consistency and comparability
-
Modular Extensibility: New data sources and model types added as separate packages that conform to core interfaces
-
Accuracy First: Deterministic functions preferred over probabilistic models. LLMs used for parsing and classification, not financial calculations
-
Transparency and Auditability: Every data point traceable to source, every calculation explainable, every assumption documented
-
Professional Standards: Models adhere to institutional-quality standards for architecture, formatting, and presentation
-
Quality Quantification: Standardized ontology enables measurement and reporting of data quality and model output reliability
-
Small Business Focus: Designed primarily for small businessesβfrom sole proprietorships to growing companiesβhandling messy, incomplete data
We welcome contributions! WACCY is built for the small business community, and we'd love your help making financial modeling more accessible.
- Fork the repository on GitHub
- Create a feature branch for your contribution
- Set up development environment:
git clone https://github.com/your-username/waccy.git cd waccy uv sync --dev - Make your changes following our coding standards:
- Use
rufffor formatting and linting - Add type hints with
mypycompliance - Write tests for new functionality
- Update documentation as needed
- Use
- Run tests and linting:
uv run pytest uv run ruff check uv run mypy src/
- Submit a pull request with a clear description of your changes
Want to add a new data source? Create an extension package:
- Create a new package:
waccy-yourdatasource - Implement the
Extractorinterface fromwaccy.extraction.base - Register your extension via entry points
- Follow the Extension Development Guide
See our Architecture Documentation for detailed extension development guidelines.
Please read and follow our Code of Conduct to ensure a welcoming environment for all contributors.
- Phase 1: π Planned - Core foundation and 3-statement models
- Phase 2: π Planned - Public market data and pattern learning (EDGAR)
- Phase 3: π Planned - Advanced valuation models (DCF, M&A, LBO)
- Phase 4: π Planned - Specialized model types (SaaS, REIT, project finance)
- Phase 5: π Planned - Advanced analysis and decision support
Current Status: Early development - Architecture and core platform design
Python Version: 3.13+
Package Manager: uv
CI/CD: GitHub Actions (coming soon)
This project is licensed under the MIT License - see the LICENSE file for details.
- Small Business Community - Built for entrepreneurs and small business owners who need professional financial modeling
- Financial Modeling Community - Inspired by institutional-quality modeling standards
- Open Source Tools:
Made with π€ͺ for small businesses that deserve institutional-quality financial modeling
