In this section, we will take a closer look at two other PostgreSQL libraries for Python. The first one, pg8000, also implements the DB-API 2.0. This makes it very similar to Psycopg 2. The difference is that it's not dependent on the libpq library, and is written entirely in Python. This makes the library very lightweight, and applications that would use it are easily portable.
The second one, asyncpg, doesn't implement the Python DB-API. It uses a binary protocol to communicate with a PostgreSQL database and asynchronous API in the applications. This makes it possible to create very fast database applications that perform a great amount of commands in a short time.