The psycopg3 project is currently under active development.
Sponsoring this project will help achieve swift completion and ensure the maintenance of psycopg2, psycopg3 and other related projects.
If you use Python and PostgreSQL, and you would like to support the creation of the most advanced adapter between the two systems, please consider becoming a sponsor. Thank you!
Psycopg is released under the terms of the GNU Lesser General Public License, allowing use from both free and proprietary software.
- Check the features list to see what Psycopg offers
- Read the Psycopg documentation. Be sure to check the Frequently Asked Questions
- Install Psycopg!
For help requests and development discussions please subscribe to the mailing list psycopg@postgresql.org.
Latest articles
Psycopg 3.0 released
Posted by Daniele Varrazzo on 2021-10-13
Tagged as
news,
release
Hello,
I am extremely excited to announce the first stable release of Psycopg 3!
Psycopg 3.0 beta 1 released!
Posted by Daniele Varrazzo on 2021-08-30
Tagged as
news,
release
We are immensely proud to release on PyPI the first beta package of Psycopg 3!
Building a Django driver for Psycopg 3
Posted by Daniele Varrazzo on 2021-08-02
Tagged as
psycopg3,
development,
recipe
One of the goals of the Psycopg 3 project is to make easy to port code developed from Psycopg 2. For this reason the creation of a Django backend (the module you specify in the settings as your database ENGINE) was a project with a double goal:
- A Django driver is a way to make Psycopg 3 useful from the start, with the possibility of dropping it in a project transparently and have available, when needed the new features offered (for instance the superior COPY support).
- The difficulty of introducing Psycopg 3 in the Django codebase and the type of changes required are indicative of the type of problems that could be found porting other projects.
...and it's done! A few days ago, the new Psycopg 3 Django backend could pass the entire Django test suite!