Da Vinci

Getting Started

  • Overview
    • What is Da Vinci?
    • Key Features
    • Architecture
    • Version History
    • License
    • Getting Help
  • Installation
    • Requirements
    • Installing Da Vinci
      • Using pip
      • Using Poetry
      • Using uv
    • Development Installation
    • AWS CDK Installation
    • AWS Credentials Setup
    • Verifying Installation
    • Next Steps
  • Quick Start Guide
    • Prerequisites
    • Creating Your First Application
      • Step 1: Define a DynamoDB Table
      • Step 2: Create Application Logic
      • Step 3: Create Table Stack
      • Step 4: Deploy Infrastructure with CDK
      • Step 5: Deploy to AWS
      • Step 6: Use Your Application
    • Summary
    • Key Concepts
    • Next Steps
    • Common Patterns
    • Troubleshooting

Core Concepts

  • Architecture
    • Package Structure
    • How They Work Together
    • Runtime Architecture (da_vinci)
    • Infrastructure Architecture (da_vinci_cdk)
    • Data Flow
    • Component Interaction
    • Deployment Model
    • Example Architecture
    • Best Practices
    • Extensibility
  • Core Principles
    • 1. Additive Convenience
    • 2. Single Source of Truth
    • 3. AWS-Native Development
    • 4. Operational First
    • Applying the Principles
  • DynamoDB Tables
    • Table Objects
      • Basic Table Definition
    • Attribute Types
      • Example with Various Types
    • Composite Keys
    • Global Secondary Indexes
    • Local Secondary Indexes
    • Optional Attributes and Defaults
    • Custom Import/Export
    • Table Client Operations
    • Best Practices

User Guide

  • Applications
    • Overview
    • Core Features
      • Global Settings
      • Exception Trap
      • Event Bus
      • Deployment Configuration
      • Infrastructure Components
      • Docker Management
        • Application Dockerfile Requirements
      • Stack Management
    • Sidecar Applications
      • Overview
      • When to Use
      • How It Works
      • Example
      • Limitations
    • Best Practices
      • Resource Organization
      • Environment Isolation
      • Feature Flags
  • Stacks
    • Overview
    • Core Functionality
    • Stack Dependencies
    • Framework Integration
    • Example
    • Creating Custom Stacks
    • Best Practices
  • Examples
    • Basic CRUD Application
      • Overview
      • Step 1: Define the Table
      • Step 2: Create Service Layer
      • Step 3: Deploy Infrastructure
      • Step 4: Use the Application
      • Key Concepts
      • Variations
      • Next Steps
    • Event-Driven Architecture
      • Overview
      • Step 1: Define Tables
      • Step 2: Create User Service with Events
      • Step 3: Create Event Handlers
      • Step 4: Deploy with Event Bus
      • Step 5: Use the Event-Driven System
      • Key Concepts
      • Benefits
      • Variations
      • Next Steps
    • Multi-Table Relationships
      • Overview
      • Table Definitions
      • Service Implementation
      • Usage Example
      • Key Concepts
    • REST API Backend
      • Overview
      • Table Definition
      • API Handler
      • Infrastructure
      • Usage Example
      • Key Concepts
    • Batch Processing Pipeline
      • Overview
      • Table Definitions
      • Batch Processor
      • Usage Example
      • Key Concepts
      • Variations
    • Quick Links

API Reference

  • Core API Reference
    • ORM Module
      • Table Objects
        • TableObjectAttributeType
        • TableObjectAttribute
        • TableObject
      • Table Client
        • TableResultSortOrder
        • PaginatorCall
        • PaginatedResults
        • TableScanDefinition
        • TableClient
      • ORM Exceptions
        • AugmentedRetrievalInvalidQueryError
        • MissingTableObjectAttributeError
        • TableScanQueryError
        • TableScanInvalidComparisonError
        • TableScanInvalidAttributeError
        • TableScanMissingAttributeError
    • Core Module
      • Exceptions
        • DuplicateRouteDefinitionError
        • GlobalSettingsNotEnabledError
        • GlobalSettingNotFoundError
        • MissingRequiredRuntimeVariableError
        • ResourceNotFoundError
      • Resource Discovery
        • ResourceType
        • ResourceDiscoveryStorageSolution
        • ResourceDiscovery
      • Global Settings
        • global_settings_available()
        • setting_value()
      • Logging
        • S3LogHandler
        • Logger
      • JSON Utilities
        • DateTimeEncoder
        • DaVinciObjectEncoder
    • Event Bus Module
      • Event Publisher
    • Exception Trap Module
  • CDK API Reference
    • Application
      • CoreStack
        • CoreStack.__init__()
      • Application
        • Application.__init__()
        • Application.generate_stack_name()
        • Application.lib_container_entry
        • Application.add_uninitialized_stack()
        • Application.synth()
      • SideCarApplication
        • SideCarApplication.__init__()
        • SideCarApplication.generate_stack_name()
        • SideCarApplication.lib_container_entry
        • SideCarApplication.add_uninitialized_stack()
        • SideCarApplication.synth()
    • Stack
      • Stack
        • Stack.__init__()
        • Stack.add_required_stack()
        • Stack.absolute_dir()
    • Constructs
      • Table Construct
      • Lambda Construct
        • LambdaFunction

Additional Information

  • Contributing
    • Getting Started
    • Development Workflow
    • Code Standards
    • Project Structure
    • Running Tests
    • Linting
    • Pull Request Guidelines
    • Release Process
    • Questions?
  • Changelog
    • Recent Releases
      • Version 3.0.0 (2024-11-20)
      • Version 2.0.0
Da Vinci
  • Python Module Index

Python Module Index

d
 
d
- da_vinci
    da_vinci.core.exceptions
    da_vinci.core.global_settings
    da_vinci.core.json
    da_vinci.core.logging
    da_vinci.core.orm.client
    da_vinci.core.orm.orm_exceptions
    da_vinci.core.orm.table_object
    da_vinci.core.resource_discovery
    da_vinci.event_bus
    da_vinci.exception_trap
- da_vinci_cdk
    da_vinci_cdk.application
    da_vinci_cdk.constructs.lambda_function
    da_vinci_cdk.stack

© Copyright 2025, Da Vinci Contributors.

Built with Sphinx using a theme provided by Read the Docs.