~/talk

SQLAlchemy and You - Making SQL the Best Thing Since Sliced Bread

Talkat PyData London 2022 · 2022-06-17..06-19· [databases]
slides:none on file

Claims SQLAlchemy is the gold‑standard for Python SQL work and shows concrete, runnable examples: uses Core and ORM side‑by‑side, creates an engine + metadata + session, builds tables (Postgres and SQLite via Docker), loads a few thousand CSV rows, and computes an occupancy rate with CTEs that actually runs. Demonstrations show transactions, batched inserts, eager vs lazy relationship loading, hybrid properties, and the future=True migration to 2.0 that changes select/execute patterns.

AI-written summary · about

  1. 0:00Start
  2. 6:30Sql Alchemy
  3. 10:09Adding a Where Clause
  4. 17:52Reflection
  5. 22:01Sql Statement
  6. 24:22Commit as You Go
  7. 37:17Refactor Your Sql
  8. 39:59Occupancy Rates
  9. 41:37Space Select Statements
  10. 53:19Error Messages
  11. 54:56Orms
  12. 1:02:38Relationships
  13. 1:13:03Scalars
  14. 1:13:59Shortcut Syntax
  15. 1:15:14Relationship Loading
  16. 1:20:23Hybrid Property
  17. 1:23:00Hybrid Methods
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.