psycopg
Package — DatabasePython 3.7+Intermediate
Next-gen PostgreSQL adapter (psycopg 3) with async support
Quick Info
- Documentation
- Official Docs
- Python Version
- 3.7+
- Dependencies
- typing-extensions; optional: libpq
- Install
pip install 'psycopg[binary]'
Learn by Difficulty
Quick Example
python
# Install: pip install 'psycopg[binary]' import psycopg # Basic psycopg usage print(f"Using psycopg") # See documentation for detailed examples
psycopg is a third-party package. Next-gen PostgreSQL adapter (psycopg 3) with async support. Install with: pip install 'psycopg[binary]'
Try in PlaygroundTags
packagedatabaseormpersistence