Skip to main content

A psycopg2 wrapper using the qmark parameters style

Project description

The qmarkpg package is a psycopg2 wrapper allowing the use of “qmark” placeholders style for query arguments (i.e. ? instead of %s). There is no support for parameters dictionaries: only positional parameters are allowed.

Adopting “qmark” and dropping support for “format” (i.e. %s) and “pyformat” (i.e. %(name)s) placeholders is not in program for future Psycopg versions; however, maintainers of multi-database environments may find the “qmark” placeholder style more useful for cross-database compatibility: this module is designed to support such requirement without requiring extensive rewriting of application directly using psycopg2.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qmarkpg-0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page