Skip to content

feat(sdk): official Python SDK with LangChain, CrewAI, and LlamaIndex integrations - #19

Merged
divyanshujethi merged 2 commits into
mainfrom
feat/python-sdk
Nov 6, 2026
Merged

divyanshujethi merged 2 commits into
mainfrom
feat/python-sdk

Conversation

@divyanshujethi

Copy link
Copy Markdown
Contributor

Summary

Adds the official DBShield Python SDK (dbshield v0.2.0):

  • AST Query Validator: Syntax tree validation, tautology detection (WHERE 1=1), destructive DDL prevention, row read ceilings
  • Dynamic PII Redactor: In-flight masking for SSN, Luhn-valid credit cards, email addresses, and API tokens
  • Two-Phase Commit Distributed Sandbox: Dry-run simulation with automatic rollback and single-use commit tokens
  • SQLAlchemy & DB-API 2.0 Middleware: Transparent cursor interception with zero boilerplate
  • AI Agent Integrations: LangChain (DBShieldSQLDatabase), CrewAI (DBShieldDatabaseTool), and LlamaIndex (DBShieldLlamaIndexTransform)
  • Matrix Tests: Automated pytest execution in CI

@divyanshujethi
divyanshujethi merged commit 0d2cf99 into main Nov 6, 2026
8 checks passed
@divyanshujethi
divyanshujethi deleted the feat/python-sdk branch November 6, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant