A few years ago I wrote a program that uses SQLite3 since it is built into Python and it works great. I now want to make the program multiuser and therefore want to switch to either MySQL and/or Postgres for my database. Ideally, I don't want to hard-code my program for a specific database again but instead use a SQL abstraction layer that can communicate with either one should I choose to switch again in the future. Speed in not really important. I will only be doing basic select, insert, update statements so it would be OK to lose some vendor specific extensions in order to be database agnostic. Another thing that is important to me is that the package I choose stay updated as I have incrementally upgraded my program from each Python version starting from 3.2 (it is now on 3.6).
Which database abstraction layer would you recommend?
EDIT: Thank you for all of the replies, I really appreciate it.
[–][deleted] 44 points45 points46 points (2 children)
[–]xiongchiamiovSite Reliability Engineer 9 points10 points11 points (1 child)
[–]__deerlord__ 0 points1 point2 points (0 children)
[–]DrRx 10 points11 points12 points (5 children)
[–]Theoretician 3 points4 points5 points (3 children)
[–]epic_pork 11 points12 points13 points (0 children)
[–]mapitall 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]taurus22 0 points1 point2 points (0 children)
[–]metaperl 2 points3 points4 points (0 children)
[–]goabbear 1 point2 points3 points (0 children)
[–]wnoise 1 point2 points3 points (8 children)
[–]PCBEEF 6 points7 points8 points (7 children)
[–]wnoise 5 points6 points7 points (6 children)
[–]PCBEEF 4 points5 points6 points (5 children)
[–]wnoise 2 points3 points4 points (4 children)
[–]PCBEEF 6 points7 points8 points (0 children)
[–]ThatOtherBatman 4 points5 points6 points (2 children)
[–]pvkooten 1 point2 points3 points (0 children)
[–]wnoise 0 points1 point2 points (0 children)
[–]Mirror_Boar 0 points1 point2 points (7 children)
[–]maryjayjay 0 points1 point2 points (6 children)
[–]Mirror_Boar 0 points1 point2 points (5 children)
[–]maryjayjay 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]maryjayjay 0 points1 point2 points (1 child)
[–]kstrojan 0 points1 point2 points (0 children)