SQLAlchemy is a Python SQL toolkit and a database object mapping framework. It includes a complete enterprise-class persistence model, specifically for efficient and high-performance database access.
SQL databases behave less like object collections the more size and performance start to matter; object collections behave less like tables and rows the more abstraction starts to matter. SQLAlchemy aims to accommodate both of these principles.
SQLAlchemy considers the database to be a relational algebra engine, not just a collection of tables. Rows can be selected from not only tables but also joins and other select statements; any of these units can be composed into a larger structure. SQLAlchemy’s expression language builds on this concept from its core.
SQLAlchemy is most famous for its object-relational mapper (ORM), an optional component that provides the data mapper pattern, where classes can be mapped to the database in open ended, multiple ways – allowing the object model and database schema to develop in a cleanly decoupled way from the beginning.
SQLAlchemy’s overall approach to these problems is entirely different from that of most other SQL / ORM tools, rooted in a so-called complimentarity- oriented approach; instead of hiding away SQL and object relational details behind a wall of automation, all processes are fully exposed within a series of composable, transparent tools. The library takes on the job of automating redundant tasks while the developer remains in control of how the database is organized and how SQL is constructed.
The main goal of SQLAlchemy is to change the way you think about databases and SQL!
SQLAlchemy 1.3.10 has been released, this release contains various fixes.
Release 1.3.10 fixes a regression in the newly implemented Oracle max identifier length detection which was inadvertently using the newer value of 128 on server version 12.2 and greater, despite documentation stating that version 1.3.9 would continue to return the length of 30 unless the value were explicitly set. In addition, the retrieval and parsing of the “compatibility” version has been improved and will no longer emit a warning if the “v$parameter” table is not available, as this condition seemed to be reported more than was anticipated. It is recommended that all Oracle users skip release 1.3.9 and upgrade to 1.3.10.