A popular PostgreSQL database adapter for the Python programming language, allowing Python programs to connect to and interact with PostgreSQL databases.
psycopg2

- Python
- 自动化, 数据分析, PLM 和 ERP
- 应用编程接口(API), 云计算, 軟體, 軟體開發工具包 (SDK), 用户体验(UX)
特点
- PostgreSQL database connection,cursor objects for query execution,SQL command execution (SELECT,INSERT,UPDATE,DELETE),transaction management (commit,rollback),stored procedure calls,data type mapping between Python and PostgreSQL,server-side cursors,asynchronous notification support,connection pooling (basic or via external libraries)
定价
- 免费
- Mature, stable, and widely used PostgreSQL adapter, provides full compliance with Python DB API 2.0, efficient and robust, good performance, extensive documentation, supports many advanced PostgreSQL features.
- Specific to PostgreSQL (not a generic database library like SQLAlchemy), API is lower-level than an ORM (requires writing SQL queries directly), installation might require PostgreSQL client libraries and development headers.
最适合:
- Python developers needing to connect to and interact with PostgreSQL databases for various applications, from web backends to data analysis scripts.