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 details)

Uploaded Source

File details

Details for the file qmarkpg-0.2.tar.gz.

File metadata

  • Download URL: qmarkpg-0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for qmarkpg-0.2.tar.gz
Algorithm Hash digest
SHA256 9b0a90e5587413b6f54e7818a3bb209db2f65c92e4ce43af643d9824a48c672f
MD5 e348a30a4580c811793e625c4d866031
BLAKE2b-256 4af56672f99f44a116dcfec269dc49a4bb6ce3b12a709241011ece98c6ccd0b8

See more details on using hashes here.

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