Skip to main content

Simple tool to perform the most common operations in PostgreSQL and PostGIS with Psycopg2. Builds the SQL queries from Pyhton dictionaries.

Project description

Welcome to the pgOperations Python module

It is a simple lightweight Python module to perform the most common operations in PostgreSQL and PostgGIS, avoiding most of the SQL syntax.

This module class methods allow insert, delete, update, select, create and delete tables and databases. Also, you will be able to know is a table exists, get the field names of a table, and manage counters for your applications.

The class methods use Python dictionaries to insert and update data. This library supposes all python dictionary keys match with the table field names.

This module requires Python 3 and Psycopg2.

Read the documentation to know how to use pgOperations. In the tutorial you will find how to install, and use the class methods. The reference contains the classes and methods description.

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

pgoperations-0.0.3.tar.gz (34.4 kB view hashes)

Uploaded Source

Built Distribution

pgoperations-0.0.3-py3-none-any.whl (28.8 kB view hashes)

Uploaded Python 3

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