py-mysql-type-plugin
Mypy plugin to type sql (by antialize)
powderkeg
Live-coding the cluster! (by HCADatalab)
Our great sponsors
- Onboard AI - Learn any GitHub repo in 59 seconds
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- SaaSHub - Software Alternatives and Reviews
py-mysql-type-plugin | powderkeg | |
---|---|---|
2 | 1 | |
0 | 158 | |
- | 0.0% | |
0.0 | 10.0 | |
4 months ago | about 5 years ago | |
Python | Clojure | |
- | Eclipse Public License 1.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
powderkeg
Posts with mentions or reviews of powderkeg.
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
As a data engineer, the pattern the OP shares is very familiar. I find it much preferable to use of ORMs for wide variety of reasons. However, I view implementing with SQL as an antiquated problem rather than a pragmatic feature. The evolution of this pattern would be to integrate database querying into languages more directly and eliminate SQL entirely. While this could be achieved in Python, I find that a language like Clojure, via functional programming (FP) primitives and transducers, is a natural candidate, particularly for JVM implemented databases. Rather than encapsulating SQL via query building or ORM based APIs, an FP core could be integrated into database engines to allow, via transducers, complex native forms to be executed directly across database clusters. Apache Spark is an analog of this. In particular the Clojure project, powderkeg (https://github.com/HCADatalab/powderkeg) demonstrates the potential of utilizing transducers in a database cluster context.
What are some alternatives?
When comparing py-mysql-type-plugin and powderkeg you can also consider the following projects:
pugsql - A HugSQL-inspired database library for Python
squiller - Generate boilerplate from annotated SQL queries
Sequel - Sequel: The Database Toolkit for Ruby
sqlz - Simple struct/slice/chan mapper for SQL rows.
mini_sql - a minimal, fast, safe sql executor
sql-template-tag - ES2015 tagged template string for preparing SQL statements, works with `pg`, `mysql`, and `sqlite`
sqlx - general purpose extensions to golang's database/sql
SQLAlchemy - The Database Toolkit for Python
migrate - Database migrations. CLI and Golang library.
sqlc - Generate type-safe code from SQL
sqlc-gen-python
sql-type