sql-athame VS mfsqlchecker

Compare sql-athame vs mfsqlchecker and see what are their differences.

sql-athame

Python tool for slicing and dicing SQL (by bdowning)

mfsqlchecker

Statically validate correctness of all your SQL queries. TypeScript, PostgreSQL (by MedFlyt)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
sql-athame mfsqlchecker
2 3
11 56
- -
0.0 0.0
about 1 year ago 11 months ago
Python TypeScript
MIT License MIT License
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.

sql-athame

Posts with mentions or reviews of sql-athame. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-26.
  • Show HN: Sqlbind a Python library to compose raw SQL
    7 projects | news.ycombinator.com | 26 Feb 2024
    I had my own take on this concept[1], though with considerably less language magic involved. I imagine there's a lot of these kind of things running around. My criteria were:

    a) let me write actual SQL, not a python DSL that generates SQL

    b) be placeholder-safe

    c) be composable

    [1] https://github.com/bdowning/sql-athame

  • Write an SQL query builder in 150 lines of Python
    10 projects | news.ycombinator.com | 27 Aug 2021
    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.

mfsqlchecker

Posts with mentions or reviews of mfsqlchecker. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-07.
  • Deepkit – High-Performance TypeScript Framework
    13 projects | news.ycombinator.com | 7 Jun 2022
    Here is another TypeScript library for validating types of SQL queries: https://github.com/MedFlyt/mfsqlchecker

    It uses the actual PostgreSQL parser against your project's database schema to give 100% accurate results. Guarantees that all of your queries are valid, and that all input and output types are correct (and will also auto-generate/quickfix the output types for you in VSCode)

  • Write an SQL query builder in 150 lines of Python
    10 projects | news.ycombinator.com | 27 Aug 2021
    > In an ideal world (one I think we are getting very close to) I think we will end up having SQL queries validated in our code against the actual DB structure the same way we have any other compilation error.

    This library for TypeScript works exactly like this

    https://github.com/MedFlyt/mfsqlchecker

  • Postgres to TypeScript Interfaces and Enums
    13 projects | news.ycombinator.com | 20 Jun 2021
    This library does exactly what you want: https://github.com/MedFlyt/mfsqlchecker

    and it also validates the types of the parameters that go into the query

What are some alternatives?

When comparing sql-athame and mfsqlchecker you can also consider the following projects:

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.

pg-to-ts - Generate TypeScript interface definitions from your Postgres schema

pgcli - Postgres CLI with autocompletion and syntax highlighting

xql - SQL builder and utilities library for node.js (runs in browser as well).

sqlc - Generate type-safe code from SQL

postgres-typed

vramework

ts-sql - A SQL database implemented purely in TypeScript type annotations.

liveviewjs - LiveView-based library for reactive app development in NodeJS and Deno

pgtyped - pgTyped - Typesafe SQL in TypeScript