Essential SQLAlchemy - Rick Copeland - Librairie Eyrolles
Tous nos rayons

Déjà client ? Identifiez-vous

Mot de passe oublié ?

Nouveau client ?

CRÉER VOTRE COMPTE
Essential SQLAlchemy
Ajouter à une liste

Librairie Eyrolles - Paris 5e
Indisponible

Essential SQLAlchemy

Essential SQLAlchemy

Mapping Python to Databases

Rick Copeland

240 pages, parution le 15/06/2008

Résumé

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 types
  • Run queries, updates, and deletes with SQLAlchemy's SQL expression language
  • 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
  • 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 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.

Sommaire

  • Introduction to SQLAlchemy
  • Getting Started
  • Engines and MetaData
  • SQLAlchemy Type Engines
  • Running Queries and Updates
  • Building an Object Mapper
  • Querying and Updating at the ORM Level
  • Inheritance Mapping
  • Elixir: A Declarative Extension to SQLAlchemy
  • SqlSoup: An Automatic Mapper for SQLAlchemy
  • Other SQLAlchemy Extensions
  • Colophon
Voir tout
Replier

Caractéristiques techniques

  PAPIER
Éditeur(s) O'Reilly
Auteur(s) Rick Copeland
Parution 15/06/2008
Nb. de pages 240
Format 18 x 23,3
Couverture Broché
Poids 396g
Intérieur Noir et Blanc
EAN13 9780596516147
ISBN13 978-0-596-51614-7

Avantages Eyrolles.com

Livraison à partir de 0,01 en France métropolitaine
Paiement en ligne SÉCURISÉ
Livraison dans le monde
Retour sous 15 jours
+ d'un million et demi de livres disponibles
satisfait ou remboursé
Satisfait ou remboursé
Paiement sécurisé
modes de paiement
Paiement à l'expédition
partout dans le monde
Livraison partout dans le monde
Service clients sav@commande.eyrolles.com
librairie française
Librairie française depuis 1925
Recevez nos newsletters
Vous serez régulièrement informé(e) de toutes nos actualités.
Inscription