Skip to main content

Great Expectations Cloud

Project description

cloud

PyPI Docker Pulls ci pre-commit.ci status Ruff

Dev Setup

  1. Install poetry
  2. Set up virtual environment and install dependencies.
    • poetry install --sync
  3. Activate your virtual environment.
    • poetry shell
  4. Set up precommit hooks
    • pre-commit install

Developer Tasks

Common developer tasks are available via invoke (defined in tasks.py)

invoke --list to see available tasks.

Synchronize Dependencies

To ensure you are using the latest version of the core and development dependencies run poetry install --sync. Also available as an invoke task.

invoke deps

Updating poetry.lock dependencies

The dependencies installed in our CI and the docker build step are determined by the poetry.lock file.

To update only a specific dependency (such as great_expectations) ...

poetry update great_expectations

To resolve and update all dependencies ...

poetry lock

In either case, the updated poetry.lock file must be committed and merged to main.

Release to PyPI and Docker

To release a new version to PyPI the version must be incremented. New versions are automatically published to PyPI when merging to main.

invoke version-bump

A new docker tag will also be generated and pushed to Docker Hub.

Building and Running the GX Agent Image

To build the GX Agent Docker image, run the following in the root dir:

invoke build

Running the GX Agent:

docker run --env GX_CLOUD_ACCESS_TOKEN="<GX_TOKEN>" --env GX_CLOUD_ORGANIZATION_ID="<GX_ORG_ID>" gx/agent

Now go into GX Cloud and issue commands for the GX Agent to run, such as generating an Expectation Suite for a Data Source.

Note if you are pushing out a new image update the image tag version in containerize-agent.yaml. The image will be built and pushed out via GitHub Actions.

Example Data

The contents from /examples/agent/data will be copied to /data for the docker container.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

great_expectations_cloud-0.0.23.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file great_expectations_cloud-0.0.23.tar.gz.

File metadata

File hashes

Hashes for great_expectations_cloud-0.0.23.tar.gz
Algorithm Hash digest
SHA256 8eaf12a9472e51e5cd7f6cf6cb7d7d04d032169ae5c012e82104fc754031109d
MD5 733a3517a2f3fa94ad65e8fafe94047f
BLAKE2b-256 026e2680aa2def9dd293f1b4dc1134c02d984d0b4a46712250f9ea17b66e4901

See more details on using hashes here.

File details

Details for the file great_expectations_cloud-0.0.23-py3-none-any.whl.

File metadata

File hashes

Hashes for great_expectations_cloud-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 765fa688f1991169cb66803d012376c23a5b27582f7c4bdab5f38fee61a3c812
MD5 bb1a794aa74fb8b8d9affb568752697f
BLAKE2b-256 76ecbe03e878fbccb98a5ebe73f99bf48285c416f969d51972bd821d22e8b686

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page