Description |
1 online resource |
Note |
Includes index. |
Contents |
Part I. SQLAIchemy core: Schema and types ; Working with data via SQLAIchemy core ; Exceptions and transactions ; Testing ; Reflection -- Part II. SQLAIchemy ORM: Defining schema with SQLAIchemy ORM ; Working with data via SQLAIchemy ORM ; Understanding the session and exceptions -- Testing with SQLAIchemy ORM ; Reflection with SQLAIchemy ORM and automap -- Part III. Alembic: Getting started with Alembic ; Building migrations ; Controlling Alembic ; Cookbook ; Where to go from here. |
Summary |
"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 Language; SQLAlchemy ORM: Use the object relational mapper to bind database schema and operations to data objects in your application; Alembic: Use this lightweight database migration tool to handle changes to the database as your application evolves; and Cookbook: Learn how to use SQLAlchemy with web frameworks like Flask and libraries like SQLAcodegen."--Publisher's description |
Subject |
Web databases.
|
|
Python (Computer program language)
|
|
SQL (Computer program language)
|
|
Bases de données sur le Web. |
|
Python (Langage de programmation) |
|
SQL (Langage de programmation) |
|
Python (Computer program language) |
|
SQL (Computer program language) |
|
Web databases |
Added Author |
Copeland, Rick (Richard D.), author.
|
Other Form: |
Erscheint auch als: Myers, Jason. Essential SQLAlchemy |
ISBN |
9781491916568 (electronic bk.) |
|
1491916567 (electronic bk.) |
|
9781491916551 (electronic bk.) |
|
1491916559 (electronic bk.) |
|
149191646X |
|
9781491916469 |
|