Skip to content

Extend capabilities of psycopg2 connection class with helper functions for safe insert, bulk insert and data streaming (to process a lot of rows while saving on memory)

Notifications You must be signed in to change notification settings

aorticweb/pghelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pghelper

Extend capabilities of psycopg2 connection class with helper functions for safe insert, bulk insert and data streaming

Installation

  • clone repo
  • pip install .

Tests

requirements

docker

run tests

  • pip3 install -r /test/requirements.txt
  • update the PGHOST environment variable (host of the postgres container) in the shell script "test.sh" based on your system
  • run the script "test.sh" from its directory

Examples

Examples on how to use the library can be found in the test files

About

Extend capabilities of psycopg2 connection class with helper functions for safe insert, bulk insert and data streaming (to process a lot of rows while saving on memory)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published