Home > Software engineering >  Installing postgresql db together with python package
Installing postgresql db together with python package

Time:02-23

I wrote a python script that requires the use of a postgresql DB. For test purpose, I installed the postgresql DB manually, and the DB that comes with that. The script connects to it and make its job. My question is about packaging : what is the best solution for the user to install this script, along with the DB and its schema juste by typing pip install xxx ? Is that possible ?

Thanks

CodePudding user response:

Postgres is great but often you can get away with SQLite. It's part of the standard library and comes bundled with Python

CodePudding user response:

Thank you very much for your answers, I choose SQLite, that is exactly what I need for this scenario, I was not aware of this very simple DB, that's perfect !

  • Related