There are several alternatives to psycopg2 [available](https://wiki.postgresql.org/wiki/List_of_drivers). Two that look promising are [psycopg3](https://www.psycopg.org/psycopg3/docs/) and [asyncpg](https://github.com/MagicStack/asyncpg). We should see how hard each would be to switch to and benchmark them for our use cases.
There are several alternatives to psycopg2 available. Two that look promising are psycopg3 and asyncpg.
We should see how hard each would be to switch to and benchmark them for our use cases.