Skip to content

nono-london/postgres_helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postgresql_helpers library

purpose of the library is to handle sync and async calls to Postgresql database

TODO:

  • add user guide
  • add more tests
  • find an external mdb for test purposes

Useful venv commands

  • create a new venv:

    python -m venv venv
    
  • install requirements

    pip install -r requirements.txt
    
  • update requirements

    pip install -r requirements.txt --upgrade
    
  • upgrade pip

  # on linux
  python -m pip install --upgrade pip
  # on Windows
  python.exe -m pip install --upgrade pip

Useful Git commands

  • remove files git repository (not the file system)
    git rm --cached <path of file to be removed from git repo.>
    git commit -m "Deleted file from repository only"
    git push
    
  • cancel command:
    git restore --staged .
    
  • create tags/versions on GitHub
    git tag <version_number>
    git push origin <version_number>