Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Python Automation Tutorial

This tutorial walks you through installing schemabound-python and executing your first database introspection using the declarative base pattern.

Installation

pip install schemabound-python

Connect to SCHEMABOUND Backend

from schemabound_sdk import SchemaboundClient, SchemaboundDeclarativeBase

# Connect to SCHEMABOUND backend
client = SchemaboundClient(uri="localhost:50051")
client.ping()  # Verify connectivity

# Use as a SQLAlchemy declarative base for schema introspection
class User(SchemaboundDeclarativeBase):
    __tablename__ = "users"

This is the fastest path when you want to stand up a Python-based integration, validate connectivity, and start building application logic around SCHEMABOUND.

Next Steps