Install python3-asyncpg by entering the following commands in the terminal:
sudo apt update sudo apt install python3-asyncpg
Description:
asyncio PosgtreSQL driver
Database interface library designed specifically for PostgreSQL and Python/asyncio. asyncpg is an efficient, clean implementation of PostgreSQL server binary protocol for use with Python's asyncio framework. It implements PostgreSQL server protocol natively and exposes its features directly. . Features: * prepared statements, * scrollable cursors, * partial iteration on query results, * automatic encoding and decoding of composite types, arrays, and any combination of those, * straightforward support for custom data types
Homepage: https://magicstack.github.io/asyncpg
Version: 0.13.0-1ubuntu3
Section: universe/python