Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
PostgREST client for Python. This library provides an ORM interface to PostgREST.
PostgREST client for Python. This library provides an "ORM-like" interface to PostgREST.
If you want to use a local PostgREST server for development, you can use our preconfigured instance via Docker Compose.
docker-compose up
Once Docker Compose started, PostgREST is accessible at http://localhost:3000.
poetry add postgrest
pip install postgrest
import asyncio
from postgrest import AsyncPostgrestClient
async def main():
async with AsyncPostgrestClient("http://localhost:3000") as client:
r = await client.from_("countries").select("*").execute()
countries = r.data
asyncio.run(main())
await client.from_("countries").insert({ "name": "Việt Nam", "capital": "Hà Nội" }).execute()
r = await client.from_("countries").select("id", "name").execute()
countries = r.data
await client.from_("countries").update({"capital": "Hà Nội"}).eq("name", "Việt Nam").execute()
await client.from_("countries").delete().eq("name", "Việt Nam").execute()
await client.rpc("foobar", {"arg1": "value1", "arg2": "value2"}).execute()
git clone https://github.com/supabase/postgrest-py.git
cd postgrest-py
poetry install
poetry run pre-commit install
poetry run pytest
Read more here.
We are building the features of Firebase using enterprise-grade, open source products. We support existing communities wherever possible, and if the products don’t exist we build them and open source them ourselves. Thanks to these sponsors who are making the OSS ecosystem better for everyone.
FAQs
PostgREST client for Python. This library provides an ORM interface to PostgREST.
We found that postgrest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.