Dec-05-2020, 03:33 PM
Greetings,
Does Python have an ORM package? I thought my days of typing long SQL queries was over.
Thanks,
Matt
Does Python have an ORM package? I thought my days of typing long SQL queries was over.
Thanks,
Matt
Does Python have an ORM module?
|
Dec-05-2020, 03:33 PM
Greetings,
Does Python have an ORM package? I thought my days of typing long SQL queries was over. Thanks, Matt
Dec-05-2020, 03:59 PM
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link Create MCV example Debug small programs
Dec-05-2020, 06:44 PM
I posted an sqlalchemy starter tutorial here: https://python-forum.io/Thread-SqlAlchem...-Data-Load
Dec-05-2020, 07:45 PM
SQLAlchemy is the biggest,there are serval like others like eg peewee and Pony
My favorite Flask-SQLAlchemy make use SQLAlchemy integration easy. Django has own ORM build in. Outside of web usage for small to medium project i like TinyDB, dataset or sqlite3(comes with Python) with it's lightweight one file disk-based database.
Dec-07-2020, 07:02 PM
The SQLAlchemy is a language on it's own. I liked Flask, Peewee, Pony.
sqlite3 comes with Python? If so, how do I test it from the command line?
Dec-07-2020, 07:57 PM
The sqlite command-line client doesn't come with python. If you're on linux, it's probably already installed. On windows, you need to download it.
Dec-07-2020, 09:37 PM
to test from command line, install sqlite3 see: https://www.sqlitetutorial.net/download-install-sqlite/
|
|