Connecting postgresql from python
Basically here, I have connected postgresql management with python and made changes in database from python. I had used Psychopg2 module to connect postgresql database and made basic things like creating table and inserting data or values inside table.
Project Image 1
Project Image 2
Project Image 3
Project Image 4
To run this project, you will need to add the following environment variables to your .env file
Psychopg2
module
python
PostgreSQl Database
Clone the project
git clone https://github.com/Bibekkun/Postgresql-database-with-python.git
Go to the project directory
cd Postgresql-database-with-python
To setup Database
python init_db.py
To run server
python app.py
All Done!
THANKS.