CLI to manage your SQL database schemas and migrations
github.com·15h·
Discuss: Hacker News
Flag this post

shed

Are you doing some ETL project, you don’t want to manage your database schema with raw SQL, and maybe validate data from external tools using those schemas e.g. when using LLM output? Then this tool might help you.

shed is a cli tool that acts like an application for your database schemas management using SQLModel orm and manages them for you using alembic. You get free json-schema export for all your pydantic.BaselModel (v2).

Use Cases

  • You can create your database models git repo that only manages db models, using shed to manage db and schemas
  • You can add shed as tool into an existing python project and add migration files to it, following the folder structure proposed below.

Installation

Using uv:

uv tool install https://github.co...

Similar Posts

Loading similar posts...