great_expectations README

The project's README from github.com/fivetran/great_expectations. As one markdown file: README.md.

Python Versions PyPI PyPI Downloads Build Status pre-commit.ci Status DOI Twitter Follow Slack Status Contributors Ruff

About GX Core

GX Core combines the collective wisdom of thousands of community members with a proven track record in data quality deployments worldwide, wrapped into a super-simple package for data teams.

Its powerful technical tools start with Expectations: expressive and extensible unit tests for your data. Expectations foster collaboration by giving teams a common language to express data quality tests in an intuitive way. You can automatically generate documentation for each set of validation results, making it easy for everyone to stay on the same page. This not only simplifies your data quality processes, but helps preserve your organization’s institutional knowledge about its data.

Learn more about how data teams are using GX Core in our featured case studies.

Integration support policy

GX Core supports Python 3.10 through 3.13. Experimental support for Python 3.14 and later can be enabled by setting a GX_PYTHON_EXPERIMENTAL environment variable when installing great_expectations.

For data sources and other integrations that GX supports, see the compatibility reference for additional information.

Get started

GX recommends deploying GX Core within a virtual environment. For more information about getting started with GX Core, see Introduction to GX Core.

  1. Run the following command in an empty base directory inside a Python virtual environment to install GX Core:

    pip install great_expectations
    
  2. Run the following command to import the great_expectations module and create a Data Context:

    import great_expectations as gx
    
    context = gx.get_context()
    

Get support from GX and the community

They are listed in the order in which GX is prioritizing the support issues:

  1. Issues and PRs in the GX GitHub repository
  2. Questions posted to the GX Core Discourse forum
  3. Questions posted to the GX Slack community channel

Contribute

We truly value the contributions of our community and always welcome pull requests. PRs are encouraged for both bug fixes and new features. For feature requests, we ask that you first open an issue for discussion to ensure the feature fits within the vision for GX Core and to align on the approach so that your time and effort are well spent. Thank you for being a crucial part of GX Core!

See CONTRIBUTING.md for details on how to propose a change, claim an issue, and submit a pull request.

Code of conduct

Everyone interacting in GX Core project codebases, Discourse forums, Slack channels, and email communications is expected to adhere to the GX Community Code of Conduct.

great_expectations (fivetran/great_expectations)

Searching Database…

这是什么?GX Core(Great Expectations)是一个 Python 框架,用于测试、验证和记录数据质量。它的核心概念是“Expectation”——一种对数据的表达式单元测试,基于数千次数据质量部署积累的经验构建而成。
这是我可以导入到 Python 代码中的库,还是一个独立应用?它是一个 Python 库(通过 pip 安装),你可以将其导入到代码中,用于定义和运行数据验证检查——它不是带图形界面的独立应用。
我该怎么让它运行起来?在 Python 虚拟环境中运行 GX Core 的安装命令,然后导入 greatexpectations 模块并创建一个 Data Context,即可开始定义 Expectation。
我需要哪个版本的 Python?GX Core 官方支持 Python 3.10 至 3.13。
GX Core 能在最新的 Python 版本上运行吗?Python 3.14+ 仅提供实验性支持——安装前需要先设置一个环境变量,主动选择启用。
这是为谁设计的?它面向数据团队和数据工程师,帮助他们以共享且直观的方式表达并执行整个数据管道中的数据质量规则。
GX Core 中的 Expectation 是什么?Expectation 是一种可表达、可扩展的数据单元测试,让团队能够以直观的方式使用共同的语言来描述数据质量规则。
GX Core 会为我的数据检查生成文档吗?会的,它可以为每一组验证结果自动生成文档,有助于长期保留关于数据的机构知识。
Creator
fivetran
Size
247.8 MB
Stars
11.9K
Age
9y
Commits · 90 Days