py-mysql-type-plugin
Mypy plugin to type sql (by antialize)
pugsql
A HugSQL-inspired database library for Python (by mcfunley)
py-mysql-type-plugin | pugsql | |
---|---|---|
2 | 3 | |
0 | 663 | |
- | - | |
5.4 | 0.0 | |
26 days ago | 5 months ago | |
Python | Python | |
- | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
py-mysql-type-plugin
Posts with mentions or reviews of py-mysql-type-plugin.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-14.
-
Python: Just Write SQL
It's fine advice - if you can type check your queries. My colleague wrote a mypy plugin for parsing SQL statements and doing type checking against a database schema file, which helps to identify typos and type errors early: https://github.com/antialize/py-mysql-type-plugin
- Parsing SQL
pugsql
Posts with mentions or reviews of pugsql.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-14.
-
Python: Just Write SQL
I've had good experience using PugSQL to write SQL in Python [1]. You write the SQL inside SQL files so you can actually benefit from syntax highlighting, static analysis, etc. At the different of writing strings of SQL inside Python files.
[1] https://pugsql.org
-
Repeating Yourself Thrice Doesn’t Turn You into a 3x Developer
There's a tool called PugSQL that looks promising for Python, but it seems that async isn't directly supported yet[0]. If I ever find time, I'd love to jump on this and make it work, but nobody should hold their breath for that.
[0] https://github.com/mcfunley/pugsql/issues/44
What are some alternatives?
When comparing py-mysql-type-plugin and pugsql you can also consider the following projects:
powderkeg - Live-coding the cluster!
sqlc-gen-python
yesql - A Clojure library for using SQL.
SQLpage - SQL-only webapp builder, empowering data analysts to build websites and applications quickly
mini_sql - a minimal, fast, safe sql executor
squiller - Generate boilerplate from annotated SQL queries
typed-sql
sql-type
py-mysql-type-plugin vs powderkeg
pugsql vs sqlc-gen-python
py-mysql-type-plugin vs yesql
pugsql vs SQLpage
py-mysql-type-plugin vs mini_sql
pugsql vs yesql
py-mysql-type-plugin vs squiller
pugsql vs powderkeg
py-mysql-type-plugin vs typed-sql
pugsql vs mini_sql
py-mysql-type-plugin vs sql-type
pugsql vs squiller