sql-assassin
xql
sql-assassin | xql | |
---|---|---|
1 | 1 | |
1 | 17 | |
- | - | |
0.0 | 0.0 | |
almost 9 years ago | over 5 years ago | |
JavaScript | JavaScript | |
MIT License | The Unlicense |
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.
sql-assassin
-
Write an SQL query builder in 150 lines of Python
This is my middle-ground solution for Python: https://github.com/bdowning/sql-athame
Still fundamentally manipulating SQL text (which is a feature as I don't want to learn a full DSL), but it handles wrangling embedded placeholders while you're composing stuff and some other common compositional tasks. It's worked well for me anyway but I'm under no illusions it'd be right for everyone.
Not an original concept regardless; my original version of this was in Node: https://github.com/bdowning/sql-assassin, but a few years after I wrote that (and mostly didn't use it) I found https://github.com/gajus/slonik which was very similar and much more fleshed-out; I rolled _some_ of its concepts and patterns into sql-athame.
xql
What are some alternatives?
PyPika - PyPika is a python SQL query builder that exposes the full richness of the SQL language using a syntax that reflects the resulting query. PyPika excels at all sorts of SQL queries but is especially useful for data analysis.
postgres-typed
mfsqlchecker - Statically validate correctness of all your SQL queries. TypeScript, PostgreSQL
sqlc - Generate type-safe code from SQL
sql-athame - Python tool for slicing and dicing SQL
slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.