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.3.tar.gz
.
File metadata
- Download URL: pgoperations-0.0.3.tar.gz
- Upload date:
- Size: 34.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd2a588a3413dd38aa860a2c588ace489905c480a0a1e3e7764b762cd0c54187 |
|
MD5 | 0246c678219ecc77bef4aef45685b74c |
|
BLAKE2b-256 | 46a9d1b8136c83f9d11452dc2606956cf3a7ef5ad853ce90104332e747f1f20d |
File details
Details for the file pgoperations-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: pgoperations-0.0.3-py3-none-any.whl
- Upload date:
- Size: 28.8 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 | 1563cc5f94037e8cd6785c16f91131c07f476016fa2129451b265ccff71fab17 |
|
MD5 | ff38d2c828c1dc5fe0b9e5a72ded6ce4 |
|
BLAKE2b-256 | 494cacb108a20f145bcabce571a6975219080e59f88fe9c816a439ea06523147 |