Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Working with Python

Build and run Zingg entity resolution programs in Python. Available in Community, Enterprise (ZinggEC), and Enterprise Plus (ZinggES).

Instead of configuring Zingg using JSON, you can use Python to build and run Zingg entity and identity resolution programs. This is the recommended approach when you are running Zingg on an existing Spark cluster like Databricks, Microsoft Fabric, AWS EMR, or Glue.

The Python API is available in three editions, each with its own package and class names. The pattern is the same across all three: set up args, set options with the phase name, create the Zingg object, call initAndExecute().

Choose your edition

Edition
Package
Use when

Community (Open Source)

zingg

Free, open-source Zingg for any Spark deployment

Enterprise (ZinggEC)

zinggEC

Enterprise Lite or Enterprise — adds deterministic matching, blocking strategy, primary key, pass-through, mapping match types, incremental, output stats

Enterprise Plus (ZinggES)

zinggES

Adds the Spark client (EZingg, EZinggWithSpark) used by Enterprise Plus distributions

Common pattern across all editions

Every Zingg Python program regardless of edition follows the same five-step pattern:

  1. Imports - import Zingg client and pipes modules

  2. Build args - create the arguments object (Arguments in Community, EArguments in Enterprise)

  3. Set fields - create field definitions and register with args.setFieldDefinition(...)

  4. Set input and output pipes - configure data sources and sinks

  5. Set options and execute - create ClientOptions with the phase name, instantiate the Zingg object, call initAndExecute()

Last updated

Was this helpful?