Python Forum
Does Python have an ORM module?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does Python have an ORM module?
#1
Greetings,

Does Python have an ORM package? I thought my days of typing long SQL queries was over.

Thanks,
Matt
Reply
#2
SQLAlchemy
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

Reply
#3
I posted an sqlalchemy starter tutorial here: https://python-forum.io/Thread-SqlAlchem...-Data-Load
Reply
#4
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.
buran likes this post
Reply
#5
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?
Reply
#6
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.
Reply
#7
to test from command line, install sqlite3 see: https://www.sqlitetutorial.net/download-install-sqlite/
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020