How snskarora/redo works
Project type and purpose
• From the README (“Recreating Existing thing, because why not”) and the file tree, we see this is an open-source Python library (an ORM toolkit) rather than a full-stack app. Its goal is to provide a lightweight SQLAlchemy-style ORM layer that supports multiple backends (MySQL, Postgres, SQLite).
File structure
• Top-level “orm-py” directory contains:
• main.py – example or CLI entry point
• docker-compose.yaml – to spin up MySQL & Postgres for testing
• mysql.sql / postgres.sh – initialization scripts
• pyproject.toml / uv.lock – dependency config
• “src/sa_orm” is the core library:
• base/ – core abstractions: connection management (conn.py), model declaration (declare.py), common operations (ops.py)
• base_model.py – central Model base class
• log.py – logging utility
• mysql_orm/, postgres_orm/, sqlite_orm/ – backend-specific modules implementing db and ops