/py-sqlalchemy-ex-one

Python sqalchemy ORM example

Primary LanguagePython

Python SQLAlchemy ORM implementation example

Basic implementations and examples of SQLAlchemy ORM on Python 3.5

Prerequisites

Python

Pip3 packages required (As this is a simple example I didn't add a require.py):

chardet    3.0.4
formatizer 0.1.1
future     0.17.1
pip        19.1.1
psycopg2   2.8.3
setuptools 41.0.1
six        1.12.0
SQLAlchemy 1.3.5
wheel      0.33.4
ww         0.2.1

Postgresql

Install postgresql, initializate a database called 'sqlalchemy'.

Examples

Create the schema with the inserts.py file

python inserts.py

Execute queries

python queries*.py

Have Fun :)

This is just an example to work on and practice.

Authors

  • Auth0Com - Initial example which helped me a lot - Auth0Com