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
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:
Imports - import Zingg client and pipes modules
Build
args- create the arguments object (Argumentsin Community,EArgumentsin Enterprise)Set fields - create field definitions and register with
args.setFieldDefinition(...)Set input and output pipes - configure data sources and sinks
Set options and execute - create
ClientOptionswith the phase name, instantiate the Zingg object, callinitAndExecute()
Last updated
Was this helpful?