{"library":"psqlpy","title":"psqlpy","description":"psqlpy is an async PostgreSQL driver for Python written in Rust, offering high performance and full async/await support. Current version is 0.11.12, with active development and regular releases.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install psqlpy","pip install psqlpy[uvloop]"],"cli":null},"imports":["from psqlpy import AsyncPool","import psqlpy"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import asyncio\nimport os\nfrom psqlpy import AsyncPool\n\nasync def main():\n    pool = AsyncPool(\n        dsn=os.environ.get(\"DATABASE_URL\", \"postgresql://user:pass@localhost/db\"),\n        max_size=10\n    )\n    result = await pool.execute(\"SELECT 1\")\n    print(result)\n    await pool.close()\n\nasyncio.run(main())","lang":"python","description":"Basic async query using connection pool.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}