Skip to content

Koza

Pyversions PyPi

A data transformation framework

Overview

Koza is a data transformation framework which allows you to write semi-declarative "ingests"

  • Transform csv, json, yaml, jsonl, or xml source data, converting them to a target csv, json, or jsonl format based on your dataclass model.
  • Koza also can output data in the KGX format
  • Write data transforms in semi-declarative Python
  • Configure source files, expected columns/json properties and path filters, field filters, and metadata in yaml
  • Create or import mapping files to be used in ingests (eg. id mapping, type mappings)
  • Create and use translation tables to map between source and target vocabularies

Installation

Koza is available on PyPi and can be installed via pip:

pip install koza

Now let's take a look at how to use Koza! First step: Setup and usage