Skip to content

fredericocotrim/pgsql-python-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pgsql-python-nodejs

PostgreSQL - Python - Node.js

Is it the best way? I don't think so, but it works!

Verisons:

  • PostgreSQL 15.2-1, compiled by Visual C++ build 1914, 64-bit
  • Python 3.10.7 (EDB Language Pack v3.0-3)
  • Node.js 18.14.0

Environment Variables:

  • PYTHONHOME=C:\edb\languagepack\v3\Python-3.10
  • PYTHONPATH=C:\edb\languagepack\v3\Python-3.10
  • Path=...;%PYTHONPATH%;%PYTHONPATH%\Scripts

Files:

  • nodejs - the directory (nodejs) must be placed inside the indicated directory in the environment variable PYTHONPATH; inside the directory %PYTHONPATH%\nodejs execute the command "yarn" to download/install the packages locally (node_modules) and after that execute the command "yarn build" to compile the files;
  • python\MyFunctions.py - the file (MyFunctions.py) must be placed inside the indicated directory in the environment variable PYTHONPATH;
  • pgsql\MyFunctions.sql - the contents of the file (MyFunctions.sql) must be executed in PostgreSQL;

Example video: https://youtu.be/NpJphaVycuc

References:

About

PostgreSQL - Python - Node.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •