mini_sql
a minimal, fast, safe sql executor (by discourse)
pugsql
A HugSQL-inspired database library for Python (by mcfunley)
mini_sql | pugsql | |
---|---|---|
1 | 3 | |
379 | 668 | |
0.0% | - | |
3.9 | 0.0 | |
9 months ago | 5 months ago | |
Ruby | Python | |
MIT License | 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.
mini_sql
Posts with mentions or reviews of mini_sql.
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
For those looking for a rubyish approach to this see: https://github.com/discourse/mini_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 mini_sql and pugsql you can also consider the following projects:
yesql - A Clojure library for using SQL.
sqlc-gen-python
SQLpage - SQL-only webapp builder, empowering data analysts to build websites and applications quickly
sqlz - Simple struct/slice/chan mapper for SQL rows.
typed-sql
powderkeg - Live-coding the cluster!
sql-template-tag - ES2015 tagged template string for preparing SQL statements, works with `pg`, `mysql`, and `sqlite`
py-mysql-type-plugin - Mypy plugin to type sql
Sequel - Sequel: The Database Toolkit for Ruby
squiller - Generate boilerplate from annotated SQL queries