Skip to content

great-expectations/community-demo-2024-04-16

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GX Community Demo 2024-04-16

Demos of expectation authoring and validation workflows for great-expectations 1.0.

These demos use python 3.10 with 1.0.0a2.

Getting started

  1. Create a virtual environment: python -m venv .venv
  2. Source the virtual environment: source .venv/bin/activate
  3. Install requirements: pip install -r requirements.txt
  4. Start the postgres container: ./scripts/run_dockerized_pg.sh
  5. Run the notebooks in demos/

Additional steps for Macs with Apple Silicon (e.g. M1)

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

Project Structure

  • scripts/: setup scripts
  • demos/: full, working versions of demos as jupyter notebooks

Running PostgreSQL

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.

About

Demos for the community meeting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages