Demos of expectation authoring and validation workflows for great-expectations 1.0.
These demos use python 3.10 with 1.0.0a2.
- Create a virtual environment:
python -m venv .venv
- Source the virtual environment:
source .venv/bin/activate
- Install requirements:
pip install -r requirements.txt
- Start the postgres container:
./scripts/run_dockerized_pg.sh
- Run the notebooks in
demos/
You may need to run these additional steps
- pip uninstall psycopg2
- brew install libpq --build-from-source
- export LDFLAGS="-L/opt/homebrew/opt/libpq/lib"
- pip install psycopg2-binary
scripts/
: setup scriptsdemos/
: full, working versions of demos as jupyter notebooks
We've prepared a dockerized PostgreSQL with sample data that you can run with the command:
./scripts/run_dockerized_pg.sh
If you want to connect to the database to manually execute SQL queries you can run:
./scripts/psql_dockerized_postgres.sh
This psql
script has the connection string if you would like to use a different tool to connect to the database.