SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL. SQLAlchemy provides a full suite of well known enterprise-level persistence patterns, designed for efficient and high-performing database access, adapted into a simple and Pythonic domain language. An industrial strength ORM, built from the core on the identity map, unit of work, and data mapper patterns. These patterns allow the transparent persistence of objects using a declarative configuration system. Domain models can be constructed and manipulated naturally, and changes are synchronized with the current transaction automatically. A relationally-oriented query system, exposing the full range of SQL's capabilities explicitly, including joins, subqueries, correlation, and most everything else, in terms of the object model. Writing queries with the ORM uses the same techniques of relational composition you use when writing SQL.

Features

  • A comprehensive and flexible system of eager loading for related collections and objects
  • A Core SQL construction system and DBAPI interaction layer
  • All primary and foreign key constraints are assumed to be composite and natural
  • Database introspection and generation
  • Database schemas can be "reflected" in one step into Python structures representing database metadata
  • With SQLAlchemy, there's no such thing as "the ORM generated a bad query"

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow SQLAlchemy

SQLAlchemy Web Site

Other Useful Business Software
Ship AI Apps Faster with Vertex AI Icon
Ship AI Apps Faster with Vertex AI

Go from idea to deployed AI app without managing infrastructure. Vertex AI offers one platform for the entire AI development lifecycle.

Ship AI apps and features faster with Vertex AI—your end-to-end AI platform. Access Gemini 3 and 200+ foundation models, fine-tune for your needs, and deploy with enterprise-grade MLOps. Build chatbots, agents, or custom models. New customers get $300 in free credit.
Try Vertex AI Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SQLAlchemy!

Additional Project Details

Programming Language

Python

Related Categories

Python Database Software

Registered

2023-07-31