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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pgoperations-0.0.2.tar.gz
.
File metadata
- Download URL: pgoperations-0.0.2.tar.gz
- Upload date:
- Size: 34.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba85297c156f776c2b84d6de1bd63b65e0069be20c7db71743ffc1b778c7b4b0 |
|
MD5 | a3863c06dde33559e60f16e74b21ca49 |
|
BLAKE2b-256 | fdda2c5c2a598961681077d4a1307e86d5f1d8929cba57e3449d6043eed320e2 |
File details
Details for the file pgoperations-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pgoperations-0.0.2-py3-none-any.whl
- Upload date:
- Size: 28.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45d12a3d94eebfe3ef09c5b977e0dbc069a06da3d1400a693775ea19f6f70bc3 |
|
MD5 | 7bdfdc22d84f347b73509ffb3e153c76 |
|
BLAKE2b-256 | 97cea38efea39bd806b39e21182fcac30bd4503555fd74a7ece9af2d7c9db482 |