Alternatives to SQLAlchemy logo

Alternatives to SQLAlchemy

Django, Pandas, Entity Framework, peewee, and MySQL are the most popular alternatives and competitors to SQLAlchemy.
436
373
+ 1
5

What is SQLAlchemy and what are its top alternatives?

SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
SQLAlchemy is a tool in the Object Relational Mapper (ORM) category of a tech stack.
SQLAlchemy is an open source tool with 3.4K GitHub stars and 874 GitHub forks. Here’s a link to SQLAlchemy's open source repository on GitHub

Top Alternatives to SQLAlchemy

  • Django

    Django

    Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. ...

  • Pandas

    Pandas

    Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more. ...

  • Entity Framework

    Entity Framework

    It is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write. ...

  • peewee

    peewee

    A small, expressive orm, written in python (2.6+, 3.2+), with built-in support for sqlite, mysql and postgresql and special extensions like hstore. ...

  • MySQL

    MySQL

    The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software. ...

  • Hibernate

    Hibernate

    Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper. ...

  • Sequelize

    Sequelize

    Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more. ...

  • Doctrine 2

    Doctrine 2

    Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. ...

SQLAlchemy alternatives & related posts

Django logo

Django

27.5K
24.5K
3.9K
The Web framework for perfectionists with deadlines
27.5K
24.5K
+ 1
3.9K
PROS OF DJANGO
  • 637
    Rapid development
  • 470
    Open source
  • 404
    Great community
  • 354
    Easy to learn
  • 265
    Mvc
  • 216
    Beautiful code
  • 211
    Elegant
  • 195
    Free
  • 193
    Great packages
  • 180
    Great libraries
  • 70
    Restful
  • 67
    Comes with auth and crud admin panel
  • 67
    Powerful
  • 62
    Great documentation
  • 60
    Great for web
  • 46
    Python
  • 38
    Great orm
  • 36
    Great for api
  • 27
    All included
  • 22
    Web Apps
  • 22
    Fast
  • 19
    Used by top startups
  • 17
    Clean
  • 15
    Sexy
  • 15
    Easy setup
  • 13
    Convention over configuration
  • 11
    ORM
  • 9
    Allows for very rapid development with great libraries
  • 9
    The Django community
  • 7
    Great MVC and templating engine
  • 7
    Its elegant and practical
  • 6
    Mvt
  • 6
    Full stack
  • 6
    Cross-Platform
  • 6
    Fast prototyping
  • 6
    King of backend world
  • 6
    Have not found anything that it can't do
  • 5
    Very quick to get something up and running
  • 5
    Batteries included
  • 5
    Easy Structure , useful inbuilt library
  • 5
    Easy to develop end to end AI Models
  • 4
    Python community
  • 4
    Many libraries
  • 4
    Great peformance
  • 4
    Easy to use
  • 4
    Modular
  • 4
    Easy
  • 3
    Scaffold
  • 3
    Full-Text Search
  • 3
    Map
  • 3
    Zero code burden to change databases
  • 3
    Just the right level of abstraction
  • 2
    Easy to change database manager
  • 1
    Node js
  • 0
    Aaaa
  • 0
    Asdasd
  • 0
    Rails
CONS OF DJANGO
  • 25
    Underpowered templating
  • 19
    Underpowered ORM
  • 19
    Autoreload restarts whole server
  • 15
    URL dispatcher ignores HTTP method
  • 10
    Internal subcomponents coupling
  • 7
    Not nodejs
  • 7
    Configuration hell
  • 7
    Admin
  • 5
    Not as clean and nice documentation like Laravel
  • 3
    Bloated admin panel included
  • 3
    Not typed
  • 3
    Python
  • 2
    Overwhelming folder structure
  • 1
    InEffective Multithreading

related Django posts

Dmitry Mukhin

Simple controls over complex technologies, as we put it, wouldn't be possible without neat UIs for our user areas including start page, dashboard, settings, and docs.

Initially, there was Django. Back in 2011, considering our Python-centric approach, that was the best choice. Later, we realized we needed to iterate on our website more quickly. And this led us to detaching Django from our front end. That was when we decided to build an SPA.

For building user interfaces, we're currently using React as it provided the fastest rendering back when we were building our toolkit. It’s worth mentioning Uploadcare is not a front-end-focused SPA: we aren’t running at high levels of complexity. If it were, we’d go with Ember.js.

However, there's a chance we will shift to the faster Preact, with its motto of using as little code as possible, and because it makes more use of browser APIs. One of our future tasks for our front end is to configure our Webpack bundler to split up the code for different site sections. For styles, we use PostCSS along with its plugins such as cssnano which minifies all the code.

All that allows us to provide a great user experience and quickly implement changes where they are needed with as little code as possible.

See more

Hey, so I developed a basic application with Python. But to use it, you need a python interpreter. I want to add a GUI to make it more appealing. What should I choose to develop a GUI? I have very basic skills in front end development (CSS, JavaScript). I am fluent in python. I'm looking for a tool that is easy to use and doesn't require too much code knowledge. I have recently tried out Flask, but it is kinda complicated. Should I stick with it, move to Django, or is there another nice framework to use?

See more
Pandas logo

Pandas

1.2K
1K
20
High-performance, easy-to-use data structures and data analysis tools for the Python programming language
1.2K
1K
+ 1
20
PROS OF PANDAS
  • 19
    Easy data frame management
  • 1
    Extensive file format compatibility
CONS OF PANDAS
    Be the first to leave a con

    related Pandas posts

    Server side

    We decided to use Python for our backend because it is one of the industry standard languages for data analysis and machine learning. It also has a lot of support due to its large user base.

    • Web Server: We chose Flask because we want to keep our machine learning / data analysis and the web server in the same language. Flask is easy to use and we all have experience with it. Postman will be used for creating and testing APIs due to its convenience.

    • Machine Learning: We decided to go with PyTorch for machine learning since it is one of the most popular libraries. It is also known to have an easier learning curve than other popular libraries such as Tensorflow. This is important because our team lacks ML experience and learning the tool as fast as possible would increase productivity.

    • Data Analysis: Some common Python libraries will be used to analyze our data. These include NumPy, Pandas , and matplotlib. These tools combined will help us learn the properties and characteristics of our data. Jupyter notebook will be used to help organize the data analysis process, and improve the code readability.

    Client side

    • UI: We decided to use React for the UI because it helps organize the data and variables of the application into components, making it very convenient to maintain our dashboard. Since React is one of the most popular front end frameworks right now, there will be a lot of support for it as well as a lot of potential new hires that are familiar with the framework. CSS 3 and HTML5 will be used for the basic styling and structure of the web app, as they are the most widely used front end languages.

    • State Management: We decided to use Redux to manage the state of the application since it works naturally to React. Our team also already has experience working with Redux which gave it a slight edge over the other state management libraries.

    • Data Visualization: We decided to use the React-based library Victory to visualize the data. They have very user friendly documentation on their official website which we find easy to learn from.

    Cache

    • Caching: We decided between Redis and memcached because they are two of the most popular open-source cache engines. We ultimately decided to use Redis to improve our web app performance mainly due to the extra functionalities it provides such as fine-tuning cache contents and durability.

    Database

    • Database: We decided to use a NoSQL database over a relational database because of its flexibility from not having a predefined schema. The user behavior analytics has to be flexible since the data we plan to store may change frequently. We decided on MongoDB because it is lightweight and we can easily host the database with MongoDB Atlas . Everyone on our team also has experience working with MongoDB.

    Infrastructure

    • Deployment: We decided to use Heroku over AWS, Azure, Google Cloud because it is free. Although there are advantages to the other cloud services, Heroku makes the most sense to our team because our primary goal is to build an MVP.

    Other Tools

    • Communication Slack will be used as the primary source of communication. It provides all the features needed for basic discussions. In terms of more interactive meetings, Zoom will be used for its video calls and screen sharing capabilities.

    • Source Control The project will be stored on GitHub and all code changes will be done though pull requests. This will help us keep the codebase clean and make it easy to revert changes when we need to.

    See more
    Guillaume Simler

    Jupyter Anaconda Pandas IPython

    A great way to prototype your data analytic modules. The use of the package is simple and user-friendly and the migration from ipython to python is fairly simple: a lot of cleaning, but no more.

    The negative aspect comes when you want to streamline your productive system or does CI with your anaconda environment: - most tools don't accept conda environments (as smoothly as pip requirements) - the conda environments (even with miniconda) have quite an overhead

    See more
    Entity Framework logo

    Entity Framework

    225
    140
    8
    An object-relational mapper that enables .NET developers to work with relational data
    225
    140
    + 1
    8
    PROS OF ENTITY FRAMEWORK
    • 1
      LINQ
    • 1
      Multiple approach (Model/Database/Code) first
    • 1
      Strongly Object-Oriented
    • 1
      Code first approach
    • 1
      Object Oriented
    • 1
      Model first approach
    • 1
      Auto generated code
    • 1
      Strongly typed entities
    • 0
      Database first
    CONS OF ENTITY FRAMEWORK
      Be the first to leave a con

      related Entity Framework posts

      peewee logo

      peewee

      37
      74
      19
      A small, expressive ORM -- supports postgresql, mysql and sqlite
      37
      74
      + 1
      19
      PROS OF PEEWEE
      • 7
        Easy to start
      • 4
        Free
      • 4
        High Performance
      • 4
        Open Source
      CONS OF PEEWEE
        Be the first to leave a con

        related peewee posts

        MySQL logo

        MySQL

        88.1K
        72K
        3.7K
        The world's most popular open source database
        88.1K
        72K
        + 1
        3.7K
        PROS OF MYSQL
        • 793
          Sql
        • 673
          Free
        • 556
          Easy
        • 527
          Widely used
        • 485
          Open source
        • 180
          High availability
        • 160
          Cross-platform support
        • 104
          Great community
        • 78
          Secure
        • 75
          Full-text indexing and searching
        • 25
          Fast, open, available
        • 14
          SSL support
        • 13
          Reliable
        • 13
          Robust
        • 8
          Enterprise Version
        • 7
          Easy to set up on all platforms
        • 2
          NoSQL access to JSON data type
        • 1
          Relational database
        • 1
          Easy, light, scalable
        • 1
          Sequel Pro (best SQL GUI)
        • 1
          Replica Support
        CONS OF MYSQL
        • 14
          Owned by a company with their own agenda
        • 1
          Can't roll back schema changes

        related MySQL posts

        Tim Abbott

        We've been using PostgreSQL since the very early days of Zulip, but we actually didn't use it from the beginning. Zulip started out as a MySQL project back in 2012, because we'd heard it was a good choice for a startup with a wide community. However, we found that even though we were using the Django ORM for most of our database access, we spent a lot of time fighting with MySQL. Issues ranged from bad collation defaults, to bad query plans which required a lot of manual query tweaks.

        We ended up getting so frustrated that we tried out PostgresQL, and the results were fantastic. We didn't have to do any real customization (just some tuning settings for how big a server we had), and all of our most important queries were faster out of the box. As a result, we were able to delete a bunch of custom queries escaping the ORM that we'd written to make the MySQL query planner happy (because postgres just did the right thing automatically).

        And then after that, we've just gotten a ton of value out of postgres. We use its excellent built-in full-text search, which has helped us avoid needing to bring in a tool like Elasticsearch, and we've really enjoyed features like its partial indexes, which saved us a lot of work adding unnecessary extra tables to get good performance for things like our "unread messages" and "starred messages" indexes.

        I can't recommend it highly enough.

        See more
        Conor Myhrvold
        Tech Brand Mgr, Office of CTO at Uber · | 21 upvotes · 1.1M views

        Our most popular (& controversial!) article to date on the Uber Engineering blog in 3+ yrs. Why we moved from PostgreSQL to MySQL. In essence, it was due to a variety of limitations of Postgres at the time. Fun fact -- earlier in Uber's history we'd actually moved from MySQL to Postgres before switching back for good, & though we published the article in Summer 2016 we haven't looked back since:

        The early architecture of Uber consisted of a monolithic backend application written in Python that used Postgres for data persistence. Since that time, the architecture of Uber has changed significantly, to a model of microservices and new data platforms. Specifically, in many of the cases where we previously used Postgres, we now use Schemaless, a novel database sharding layer built on top of MySQL (https://eng.uber.com/schemaless-part-one/). In this article, we’ll explore some of the drawbacks we found with Postgres and explain the decision to build Schemaless and other backend services on top of MySQL:

        https://eng.uber.com/mysql-migration/

        See more
        Hibernate logo

        Hibernate

        1.2K
        957
        24
        Idiomatic persistence for Java and relational databases.
        1.2K
        957
        + 1
        24
        PROS OF HIBERNATE
        • 16
          Easy ORM
        • 7
          Easy transaction definition
        • 1
          Is integrated with spring jpa
        CONS OF HIBERNATE
        • 3
          Can't control proxy associations when entity graph used

        related Hibernate posts

        Sequelize logo

        Sequelize

        598
        1.1K
        109
        Easy-to-use multi SQL dialect ORM for Node.js
        598
        1.1K
        + 1
        109
        PROS OF SEQUELIZE
        • 33
          Good ORM for node.js
        • 25
          Easy setup
        • 15
          Support MySQL & MariaDB, PostgreSQL, MSSQL, Sqlite
        • 12
          Open source
        • 11
          Free
        • 8
          Promise Based
        • 2
          Recommend for mongoose users
        • 2
          Atrocious documentation, buggy, issues closed by bots
        • 1
          Typescript
        CONS OF SEQUELIZE
        • 27
          Docs are awful
        • 5
          Relations can be confusing

        related Sequelize posts

        Dieudonné ALLOGNON
        Junior Fullstack Developer · | 5 upvotes · 72.1K views

        Hey! I am actually in internship and have an app to create for my structure. It will be an intern app which will allow crud dashboard actions with some data provided by the use of an API of one of the structure partner and make a correspondence to data contained in a private database. Since it's an intern app, I thought about Electron for a desktop app because I did a lot of web with Laravel and the structure goes more for the desktop app. But it will be my first occasion working with this tech.

        Is Electron a good choice? Wich ORM should be more complete and adapted to this between Sequelize and TypeORM? (Database will be MySQL) Some charts will be displayed in the app. Is there a library (preferably without jQuery) that suits this stack?

        Thank you !

        See more

        What is the best way to increase your income as a freelancer in 2019? What frameworks should be the best to learn? React Node.js Docker Kubernetes Sequelize Mongoose MongoDB ExpressJS hapi Based on trends I've picked up a JS full stack. If you need to work under startups you may replace React with Vue.js . If you want to work in outsourcing Angular 2+ may be better.

        What is your opinion?

        See more
        Doctrine 2 logo

        Doctrine 2

        242
        192
        31
        An object-relational mapper (ORM) for PHP 5.3.2+ that provides transparent persistence for PHP objects
        242
        192
        + 1
        31
        PROS OF DOCTRINE 2
        • 14
          Great abstraction, easy to use, good docs
        • 10
          Object-Oriented
        • 7
          Easy setup
        CONS OF DOCTRINE 2
          Be the first to leave a con

          related Doctrine 2 posts