API reference¶
Generated from the docstrings. The map of the library:
psycodict.database—PostgresDatabase, the connection object; each table in the database is an attribute of it.psycodict.searchtable—PostgresSearchTable, the read API (search,lucky,lookup,count,random, …) driven by the query dictionaries of the query language.psycodict.table—PostgresTable, the write and schema half (row writes, bulk file import/export, reloads, indexes, columns); base class of the search table.psycodict.statstable—PostgresStatsTable, precomputed counts and statistics, available astable.stats.psycodict.encoding— value conversion between Python and PostgreSQL, including the file formats used by the bulk operations.psycodict.config— configuration discovery and parsing (config.ini, command-line arguments,$PSYCODICT_CONFIG).psycodict.utils—DelayCommitand other helpers shared across the library.psycodict.notifications— LISTEN/NOTIFY support: schema-change announcements and a small publish/subscribe primitive.psycodict.dbdiff— comparing the contents of two databases.psycodict.slowlog— parsing and reporting on the slow-query log.psycodict.base—PostgresBase, the shared execution and logging plumbing underneath everything else.