7 Best Free and Open Source Python Object-Relational Mapping Software - LinuxLinks (2024)

Skip to content

LinuxLinks

The Linux Portal Site

7 Best Free and Open Source Python Object-Relational Mapping Software - LinuxLinks (1)

Last Updated on May 28, 2022

Object–relational mapping (ORM) is a programming technique for converting data between incompatible type systems using object-oriented programming languages. This creates, in effect, a “virtual object database” that can be used from within the programming language.

In essence, ORM is a design pattern for converting (wrapping) that data stored within a relational database into an object that can be used within an object oriented language. It creates a layer between the language and the database, helping programmers work with data without the OOP paradigm.

Compared to traditional techniques of exchange between an object-oriented language and a relational database, ORM often reduces the amount of code that needs to be written. It standardizes interfaces reducing boilerplate and speeding development time. Advocates of ORMs claim they increase productivity, improve application design, reuse code and maintain the application over time. On the other hand, ORM suffers the disadvantage of the abstraction obscuring what’s happening in the code. And over-use of ORM software can produce poorly designed databases.

There is a good range of Python-based ORM software available. Here are our recommendations summarized in a legendary ratings chart.

7 Best Free and Open Source Python Object-Relational Mapping Software - LinuxLinks (2)

Let’s explore the 7 ORM tools for Python. For each program we have compiled its own portal page, a full description with an in-depth analysis of its features, together with links to relevant resources.

Python Object-Relational Mapping Software
SQLAlchemyPython SQL Toolkit and Object Relational Mapper
DjangoHigh-level web application framework that has a powerful ORM
PeeweeSimple, small and expressive Object Relational Mapper. It has few concepts
SQLObjectForms a part of many applications including TurboGears
PonyBilled as the smartest Python ORM
Tortoise ORMEasy-to-use asyncio ORM inspired by Django
StormDesigned to work with thin relational databases and big systems
7 Best Free and Open Source Python Object-Relational Mapping Software - LinuxLinks (3)Read our complete collection of recommended free and open source software. Our curated compilation covers all categories of software.

The software collection forms part of our series of informative articles for Linux enthusiasts. There are hundreds of in-depth reviews, open source alternatives to proprietary software from large corporations like Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

There are also fun things to try, hardware, free programming books and tutorials, and much more.

Subscribe

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments

Inline Feedbacks

View all comments

7 Best Free and Open Source Python Object-Relational Mapping Software - LinuxLinks (2024)
Top Articles
Latest Posts
Article information

Author: Dan Stracke

Last Updated:

Views: 5370

Rating: 4.2 / 5 (63 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Dan Stracke

Birthday: 1992-08-25

Address: 2253 Brown Springs, East Alla, OH 38634-0309

Phone: +398735162064

Job: Investor Government Associate

Hobby: Shopping, LARPing, Scrapbooking, Surfing, Slacklining, Dance, Glassblowing

Introduction: My name is Dan Stracke, I am a homely, gleaming, glamorous, inquisitive, homely, gorgeous, light person who loves writing and wants to share my knowledge and understanding with you.