Skip to content

Instantly share code, notes, and snippets.

View stivio00's full-sized avatar
👾
Hey!

Stephen Krol stivio00

👾
Hey!
View GitHub Profile
#!/usr/bin/env python3
"""
Usage: db-tool-py test.yaml
It will run each query with the correponding db and sql, if not provided it will use the global values
To install deps
$pip install pydantic pyyaml pandas typer sqlalchemy pyodbc jinja2
Simple case query the same db with two queries:
scan: