utils/sql_drills
Krzysztof kuhy Rudnicki c75f6310b0
Some checks are pending
app_errors tests / test (push) Waiting to run
crdt-sync pre-commit / pre-commit (push) Waiting to run
crdt-sync tests / test (push) Waiting to run
earned_time pre-commit / pre-commit (push) Waiting to run
earned_time tests / test (push) Waiting to run
file length / file-length (push) Waiting to run
focus-project pre-commit / pre-commit (push) Waiting to run
focus-project tests / test (push) Waiting to run
freedays pre-commit / pre-commit (push) Waiting to run
freedays tests / test (push) Waiting to run
game_recording pre-commit / pre-commit (push) Waiting to run
game_recording tests / test (push) Waiting to run
gatelock pre-commit / pre-commit (push) Waiting to run
gatelock tests / test (push) Waiting to run
holds pre-commit / pre-commit (push) Waiting to run
holds tests / test (push) Waiting to run
leetcode-coach pre-commit / pre-commit (push) Waiting to run
leetcode-coach tests / test (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
music_theory tests / test (push) Waiting to run
omniroute_offload pre-commit / pre-commit (push) Waiting to run
palette drift / palette (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
sickdays pre-commit / pre-commit (push) Waiting to run
sickdays tests / test (push) Waiting to run
sql-drills pre-commit / pre-commit (push) Waiting to run
sql-drills tests / test (push) Waiting to run
get rid of github ci/cd version check of package…
Todo: 2556952d
2026-11-19 18:11:07 +01:00
..
scripts Add sql_drills engine package 2026-11-02 13:53:39 +01:00
sql_drills Clear inherited CI debt in the Python libs 2026-11-16 08:58:01 +01:00
.pre-commit-config.yaml Clear inherited CI debt in the Python libs 2026-11-16 08:58:01 +01:00
install.sh Add sql_drills engine package 2026-11-02 13:53:39 +01:00
pyproject.toml sql_drills: no root shell for learner SQL 2026-11-02 16:05:59 +01:00
README.md sql_drills: no root shell for learner SQL 2026-11-02 16:05:59 +01:00
requirements.txt get rid of github ci/cd version check of package… 2026-11-19 18:11:07 +01:00

SQL drill engine (MySQL 8.0.33 + PostgreSQL 18.6, one container each): import sql_drills as sd. Drills: sd.run(id, sql, dialect). LeetCode examples: sd.run_problem(slug_or_statement, sql, dialect). Data: $SQL_DRILLS_DATA. Install: ./install.sh. Root password: random, ~/.config/sql_drills/root_password (0600); learner SQL runs as a per-run user, client commands (\!) refused.