Search and Find

Book Title


Table of Contents

Show eBooks for my device only:


Essential SQLAlchemy

Essential SQLAlchemy

of: Rick Copeland

O'Reilly Media, 2008

ISBN: 9781449391508

Format: PDF

Copy protection: DRM

Windows PC,Mac OSX Apple iPad, Android Tablet PC's

Price: 30,39 EUR

More of the content

Essential SQLAlchemy


Essential SQLAlchemy introduces a high-level open-source code library that makes it easier for Python programmers to access relational databases such as Oracle, DB2, MySQL, PostgreSQL, and SQLite. SQLAlchemy has become increasingly popular since its release, but it still lacks good offline documentation. This practical book fills the gap, and because a developer wrote it, you get an objective look at SQLAlchemy's tools rather than an advocate's description of all the ",cool", features.SQLAlchemy includes both a database server-independent SQL expression language and an object-relational mapper (ORM) that lets you map ",plain old Python objects", (POPOs) to database tables without substantially changing your existing Python code. Essential SQLAlchemy demonstrates how to use the library to create a simple database application, walks you through simple queries, and explains how to use SQLAlchemy to connect to multiple databases simultaneously with the same Metadata. You also learn how to:Create custom types to be used in your schema, and when it's useful to use custom rather than built-in typesRun queries, updates, and deletes with SQLAlchemy's SQL expression languageBuild an object mapper with SQLAlchemy, and understand the differences between this and active record patterns used in other ORMsCreate objects, save them to a session, and flush them to the databaseUse SQLAlchemy to model object oriented inheritanceProvide a declarative, active record pattern for use with SQLAlchemy using the Elixir extensionUse the SQLSoup extension to provide an automatic metadata and object model based on database reflectionIn addition, you'll learn how and when to use other extensions to SQLAlchemy, including AssociationProxy, OrderingList, and more.Essential SQLAlchemy is the much-needed guide for every Python developer using this code library. Instead of a feature-by-feature documentation, this book takes an ",essentials", approach that gives you exactly what you need to become productive with SQLAlchemy right away.