Skip to content

f0rk/pygotham-2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced SQL with SQLAlchemy

Slides: pygotham-2019.pptx

Using the code:

  1. Install PostgreSQL and create a database
  2. Create a virtualenv, source it, run python setup.py develop
  3. export PYGOTHAM_2019_DB_URL="postgresql://db-user:db-password@db-host:db-port/database-name"
  4. Run python code/pygotham_2019/bootstrap.py to setup the database model

You should then be able to run each of the examples from the presentation (numbered as indicated in the slides).

If you're looking for the table definitions themselves or how the database connection is set up, see code/pygotham_2019/model.py for the model definitions and code/pygotham_2019/meta.py for the engine/session/metadata definitions.

About

PyGotham 2019: Advanced SQL with SQLAlchemy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages