Skip to content

Instantly share code, notes, and snippets.

@ryansb
Last active September 24, 2021 17:35
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save ryansb/3ad9b7ccf225d46a16dc to your computer and use it in GitHub Desktop.
Save ryansb/3ad9b7ccf225d46a16dc to your computer and use it in GitHub Desktop.
SQLAlchemy/JSON Notebook - requires Python 3, SQLAlchemy, psycopg2, and Jupyter (formerly IPython Notebook)

Before running this notebook, run:

pip3 install jupyter SQLAlchemy psycopg2

This will install the notebook server and database drivers needed to run these examples. For more information on installing Jupyter (formerly IPython notebook) see their install guide.

Once you've installed the dependencies, run jupyter notebook and it will open your web browser to the notebook's main page. Then upload this notebook (SQLTest.ipynb) and run it.

Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ShashiDhungel
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment