Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7972207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:48:18+00:00 2026-06-04T07:48:18+00:00

This is really a pardon my ignorance question so apologies if it doesn’t meet

  • 0

This is really a “pardon my ignorance” question so apologies if it doesn’t meet the requirements.

I want to develop a fairly simple database application. It will be desktop based and lightweight so I’m happy that SQLite will suffice. I have also decided upon Qt and pyside.

Looking through the mass of tutorials out there, I keep coming across sqlalchemy and exlixir (and Camelot). I am basically just wondering what advantages there are to using sqlalchemy (and elixir) over basic QSql in Qt? What would I be missing if I didn’t use such a thing.

I know this is basic but before I can progress on my self-tuition process, I just want to get this clear in my head.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T07:48:20+00:00Added an answer on June 4, 2026 at 7:48 am

    Basically, you have 3 options here.

    QtSql

    QtSql is a separate module in Qt for working with SQL databases.

    Pros:

    • Integration with Qt may be easier

    Cons:

    • Hard to learn
    • Was made for C++, requires some redundant code
    • Requires adding one more Qt module to your project
    • Documentation looks bad

    sqlite3 module

    This a module in Python standard library to work with SQLite databases.

    Pros:

    • Very easy to use
    • Code is quite concise
    • No external dependencies

    Cons:

    • You do have to write SQL queries

    SQLAlchemy ORM

    SQLAlchemy makes work with databases similar to work with usual classes.

    Pros:

    • Object Relational Mapper: exposes an object-oriented interface and makes SQL queries for you
    • Once you’ve set up the table information, work with databases is pure joy

    Cons:

    • Steep learning curve

    Here’s my conclusion:
    If you are comfortable with writing SQL queries and don’t have to do a lot of work with databases, use sqlite3. And if you don’t mind spending some time to learn something awesome, go for SQLAlchemy.

    About the other projects you’ve mentioned:
    Elixir seems dead, and SQLAlchemy has its functionality built-in now, probably better.
    Camelot is just weird… I wouldn’t use it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Pardon me, this really is a noob question but please understand that I do
Pardon the newbie question. My data model is really simple (two tables; 200 rows
I've got this really simple piece of code that I thought was the correct
Pardon me for giving you a confusing title on this problem. I'm really confused
this really silly question probably, as no one else seems to be having this
Pardon me for the woolly question - I'm not really that familiar with OLAP
Given this really simple Wicket component: public class ProductImage extends WebComponent { public ProductImage(String
Hi I'm completely new to Powershell so pardon me if this question has a
This really has my stumped today. I'm sure its simple, but... Here is my
This really is a noobish question, but I honestly don't know how to solve

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.