PyPika
reader
Our great sponsors
PyPika | reader | |
---|---|---|
4 | 30 | |
2,351 | 412 | |
2.8% | - | |
5.5 | 9.2 | |
15 days ago | 18 days ago | |
Python | Python | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
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.
PyPika
-
any recommendations for a good query builder library with good support?
I recently started using drizzle orm and I am now looking for something similar in python, my goal is to be as close to sql syntax as possible without just passing dml commands as strings, type safety would be cool as well, I saw this one pypika but it ha a lot of open issues and no commits for a year, is there anything similar but more stable?
-
Ask HN: Is SQLAlchemy the industry standard Python ORM in 2023?
Yes it is. I haven't seen many Python projects using Prisma and
Note that there are several types of technologies that can help connect an application to an SQL database:
- SQL builders: the best known project seems to be Pypika by Kayak (https://github.com/kayak/pypika) but it seems to be dead of sleeping.
-
Write an SQL query builder in 150 lines of Python
https://github.com/kayak/pypika
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
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
reader
-
Alternatives to Makefile for Python
I like this pattern so much, I wrote an article about it; if you want to see what it looks like in real life, check this out.
-
reader 2.5 released – a Python feed reader library
To find out more, check out the GitHub repo and the docs, or give the tutorial a try.
- Write an SQL query builder in 150 lines of Python
-
sqlite-utils - my Python library and CLI tool for manipulating SQLite databases
Looking now through the Python API docs, I found the Quoting characters for use in search thing, which may come in handy for something I'm doing for my feed reader library (deduplicating articles). Not sure if I'll vendor it or add sqlite-utils as a new dependency, but it's good to know someone already solved this problem (I have a prototype, but I haven't really tested it).
-
reader 2.0 released – a Python feed reader library
I'm happy to announce version 2.0 of reader, a Python RSS / Atom / JSON feed reader library.
-
Sunday Daily Thread: What's everyone working on this week?
I'm also working on the 2.0 version of my feed reader library. The backwards compatibility break allows me to clean up a bunch of unnecessary code and fix some bad design decisions; I've deleted 250 lines of code until now, and it's very satisfying.
-
PEP 661 -- Sentinel Values
In my feed reader library, I wrote my own (used here).
The exact same problems None has when it's not a valid value. None is different from the variable type, that's why you have Optional[VarType], which is an alias for Union[VarType, None]; you can model this in exactly the same way: Union[VarType, MissingType]; here's an example.
-
Modern CI is Too Complex and Misdirected
Did this a few days ago for a project of mine and I think the result turned out really nice (human-targeted stuff is at the top, ci- stuff is towards the end).
What are some alternatives?
TinyDB - TinyDB is a lightweight document oriented database optimized for your happiness :)
sqlc - Generate type-safe code from SQL
asyncpg - A fast PostgreSQL Database Client Library for Python/asyncio.
tksheet - Python tkinter table widget for displaying tabular data
PipelineDB - High-performance time-series aggregation for PostgreSQL
pickleDB - pickleDB is an open source key-value store using Python's json module.
django-compositepk-model - Extended Django Model class with composite-primary-key support
postgres-typed
SSShelf - An ORM for S3
feedparser - Parse feeds in Python
MerkavaDB - A fast ordered NoSQL database.
dbj - Simple embedded in memory json database