Essential SQLAlchemy: Mapping Python to Databases

Essential SQLAlchemy: Mapping Python to Databases

ISBN: 149191646X

ISBN 13: 9781491916469

Authors: Jason Myers, Rick Copeland

3.76 of 59

Click the button below to register a free account and download the file


Download PDF

Download ePub

*Disclosure:“This post may contain affiliate links and I earn from qualifying purchases”.

Dive into SQLAlchemy, the popular, open-source code library that helps Python programmers work with relational databases such as Oracle, MySQL, PostgresSQL, and SQLite. Using real-world examples, this practical guide shows you how to build a simple database application with SQLAlchemy, and how to connect to multiple databases simultaneously with the same metadata.

SQL is a powerful language for querying and manipulating data, but it s tough to integrate it with your application. SQLAlchemy helps you map Python objects to database tables without substantially changing your existing Python code. If you re an intermediate Python developer with knowledge of basic SQL syntax and relational theory, this book serves as both a learning tool and a handy reference.

Essential SQLAlchemy includes several sections: SQLAlchemy Core: Provide database services to your applications in a Pythonic way with the SQL Expression LanguageSQLAlchemy ORM: Use the object relational mapper to bind database schema and operations to data objects in your applicationAlembic: Use this lightweight database migration tool to handle changes to the database as your application evolvesCookbook: Learn how to use SQLAlchemy with web frameworks like Flask and libraries like SQLAcodegen"