Confirm4Crit / sqla_tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction to SQLAlchemy 2020 - Download

This package is the full source code for the SQLAlchemy 2020 Tutorial.

The main thing participants will be interested in is to walk through the interactive code demonstrations, which are present here in the ./slides/ folder.

note: You don't have to install the software in order to participate in the tutorial! Mike will be running through the same code in the screenshare.

The .py files in this folder are plain Python files and can be read directly as the code is presented. Alternatively, they can be run within the same "slide runner" environment as follows (prerequisites: git, Python virtualenv are installed):

  1. Download this repo using git clone:

    git clone https://github.com/zzzeek/sqla_tutorial
    
  2. cd into the ./slides directory and create a virtual environment:

    cd sqla_tutorial/slides
    virtualenv .venv
    
  3. install requirements:

    .venv/bin/pip install -r requirements.txt
    
  4. Run slides:

    .venv/bin/sliderepl 01_engine_usage.py
    
    .venv/bin/sliderepl 02_metadata.py
    
    # ... etc
    

About

License:Other


Languages

Language:Python 70.4%Language:CSS 20.0%Language:Makefile 9.4%Language:JavaScript 0.2%