PostgREST
Python ORM interface client for PostgREST auto-generated REST APIs from PostgreSQL.
Databases, ORMs and clients PyPI MIT
How PostgREST is used
PostgREST is a dependency in 8 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 84 projects, and what it is used with below comes from all of them. The most used alternative in our scan is SQLAlchemy (179 projects). Projects that use it most often also use AnyIO (95.2%), packaging (95.2%), python-dotenv (94.0%).
PostgREST popularity over time
Gid Score 57: downloads 82, use in agent projects 48, GitHub stars 28, downloads trend 63 (each 0-100). How it is calculated.
Often used with PostgREST
| AnyIO | 95.2% of PostgREST projects · 64.3× more than average |
|---|---|
| packaging | 95.2% of PostgREST projects · 65.0× more than average |
| python-dotenv | 94.0% of PostgREST projects · 10.3× more than average |
| aiohttp | 92.9% of PostgREST projects · 45.0× more than average |
| charset-normalizer | 92.9% of PostgREST projects · 86.0× more than average |
| h2 | 92.9% of PostgREST projects · 823.5× more than average |
From all 84 projects in our scan that use PostgREST, including the dependency samples.
By coding agent
| Cursor | 0.2% of projects set up for it |
|---|
Share of public repos configured for each agent that list PostgREST as a dependency.
How PostgREST is funded
Install
| Package | pip install postgrest |
|---|---|
| Main stacks | Python (82), Next.js (2) |
| Example projects | quarqlabs/argus, aihes/LangChain-Tutorials-and-Examples, camel-ai/seta, Hoanganhvu123/ShoppingGPT, pdichone/crawl4ai-rag-system |
Alternatives to PostgREST
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside PostgREST are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| SQLAlchemy pypi Python SQL toolkit and object-relational mapper for database abstraction. |
79 | 179 (11.0%) | 87.6M | 12.2K | MIT |
| SQLModel pypi SQL ORM combining SQLAlchemy with Pydantic for Python databases. |
64 | 13 (0.8%) | 6.1M | 18.4K | MIT |
More in Databases, ORMs and clients: pg Drizzle ORM Prisma Drizzle Kit better-sqlite3 psycopg2 Alembic Neon Serverless Driver