typed-sql
sqlc-gen-python
typed-sql | sqlc-gen-python | |
---|---|---|
1 | 1 | |
88 | 82 | |
- | - | |
8.8 | 6.6 | |
5 months ago | 14 days ago | |
TypeScript | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
typed-sql
-
Python: Just Write SQL
similar project that generates types for queries into an intermediate representation that can be consumed by, say TypeScript, to get static Types: https://github.com/vlcn-io/typed-sql
sqlc-gen-python
-
Python: Just Write SQL
If you want to try out something cool, check out
https://github.com/sqlc-dev/sqlc
It's written in Go and used to convert sql migrations and queries into a typesafe code that you use access your database.
It currently has a plugin for Python that's in Beta, but what essentially does something similar to what this post is saying.
https://github.com/sqlc-dev/sqlc-gen-python
You write your migrations, and queries and a config file and it does the rest.
What are some alternatives?
mini_sql - a minimal, fast, safe sql executor
pugsql - A HugSQL-inspired database library for Python
squiller - Generate boilerplate from annotated SQL queries
powderkeg - Live-coding the cluster!
yesql - A Clojure library for using SQL.
Sequel - Sequel: The Database Toolkit for Ruby
sqlx - general purpose extensions to golang's database/sql
sqlz - Simple struct/slice/chan mapper for SQL rows.
sql-template-tag - ES2015 tagged template string for preparing SQL statements, works with `pg`, `mysql`, and `sqlite`