Essential SQLAlchemy - Rick Copeland

Essential SQLAlchemy

(Autor)

Buch | Softcover
216 Seiten
2008
O'Reilly Media (Verlag)
978-0-596-51614-7 (ISBN)
26,35 inkl. MwSt
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
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 SQLLite. This book demonstrates how to use the library to create a simple database application, and walks readers through simple queries.
"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 SQLLite. SQLAlchemy has become increasingly popular since its release, but it still lacks good 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 types; run queries, updates, and deletes using the ThymeFrame schema; build an object mapper with SQLAlchemy, and understand the differences between this and active record patterns used in other ORMs; create objects, save them to a session, and flush them to the database; use SQLAlchemy to model object oriented inheritance; provide a declarative, active record pattern for use with SQLAlchemy using the Elixir extension; and, use the SQLSoup extension to provide an automatic metadata and object model based on database reflection.
In addition, you'll learn how and when to use other extensions to SQLAlchemy, including AssignMapper, AssociationProxy, SessionContext, SelectResults, 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.

Rick Copeland is a senior software engineer with retail analytics firm Predictix, LLC, where he uses SQLAlchemy extensively, primarily for web application development. He has been using Python full-time for development since 2005, in projects as diverse as demand forecasting, business web applications, compilers, and hardware synthesis.

Erscheint lt. Verlag 15.7.2008
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 232 mm
Themenwelt Mathematik / Informatik Informatik Datenbanken
Informatik Programmiersprachen / -werkzeuge Python
Mathematik / Informatik Informatik Software Entwicklung
ISBN-10 0-596-51614-2 / 0596516142
ISBN-13 978-0-596-51614-7 / 9780596516147
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
das umfassende Handbuch

von Johannes Ernesti; Peter Kaiser

Buch | Hardcover (2023)
Rheinwerk (Verlag)
44,90
eine praktische, projektbasierte Programmiereinführung

von Eric Matthes

Buch | Softcover (2023)
dpunkt (Verlag)
32,90
Grundlagen und Praxis der Python-Programmierung

von Paul Barry

Buch | Softcover (2024)
O'Reilly (Verlag)
49,90