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...

Buy Now From Amazon

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
  • Cookbook: Learn how to use SQLAlchemy with web frameworks like Flask and libraries like SQLAcodegen


Similar Products

Flask Web Development: Developing Web Applications with PythonFluent Python: Clear, Concise, and Effective ProgrammingEffective Python: 59 Specific Ways to Write Better Python (Effective Software Development Series)Web Scraping with Python: Collecting Data from the Modern WebPython Cookbook, Third editionData Visualization with Python and JavaScript: Scrape, Clean, Explore & Transform Your DataThe Hitchhiker's Guide to Python: Best Practices for DevelopmentPostgreSQL: Up and Running: A Practical Introduction to the Advanced Open Source Database