psycodictΒΆ

psycodict is a dictionary-based Python interface to PostgreSQL databases: queries are Python dictionaries, results come back as Python values, and the metadata that makes this ergonomic β€” column types, sort orders, statistics β€” is managed for you. It was extracted from the LMFDB and powers several mathematical databases.

The guides below describe the system top-down; the API reference is generated from the docstrings.