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
- Reference: See Python SDK Reference for full API surface, method signatures, and runtime augmentation headers.
- Contributing: See Contribution Workflow for the TDD contract.