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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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