|8 months ago||24 days ago|
|MIT License||Apache License 2.0|
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.
We haven't tracked posts mentioning MerkavaDB yet.
Tracking mentions began in Dec 2020.
Write an SQL query builder in 150 lines of Python
10 projects | news.ycombinator.com | 27 Aug 2021
Have used in multiple projects and have found it's the right balance between ORMs and writing raw SQL. It's also easily extensible and takes care of the many edge cases and nuances of rolling your own SQL generator.
Migrating to SQLAlchemy 2.0
3 projects | news.ycombinator.com | 18 Feb 2021
There is a middle-ground between writing SQL statement strings in your code, and a full-blown ORM: query builders. At least in my experience with small to medium projects, these have far fewer footguns while keeping the code composable and readable. Here's one for Python: https://github.com/kayak/pypika
What are some alternatives?
TinyDB - TinyDB is a lightweight document oriented database optimized for your happiness :)
PipelineDB - High-performance time-series aggregation for PostgreSQL
asyncpg - A fast PostgreSQL Database Client Library for Python/asyncio.
pickleDB - pickleDB is an open source key-value store using Python's json module.
dbj - Simple embedded in memory json database
SSShelf - An ORM for S3
sqlc - Generate type-safe code from SQL
Preql - An interpreted relational query language that compiles to SQL.
ZODB - Python object-oriented database
django-compositepk-model - Extended Django Model class with composite-primary-key support