Kaiba
Kaiba is a data transformation tool written in Python that uses a DTL(Data Transformation Language) expressed in normal JSON to govern output structure, data fetching and data transformation.
Kaiba version 1.0.0 brings pydantic to kaiba land and also renames a few configuration keys so that they are easier to understand.
Features
- Mapping by configuration File.
- Looping/Iterating data from multiple places to create 1 or many objects
- Combine multiple values to one.
- Default values
- If statements
- conditions: is, not, in, contains
- can match any valid json value including objects and lists
- Casting
- integer, decimal, iso date
- Regular Expressions
- get whole regex result
- choose matching groups
- Slicing
- Slice/Substring strings or arrays
Changelog
- Restructures pydantic models
- Rename Mapping->DataFetcher
- Rename Attribute.mappings->Attribute.data_fetchers
- Rename Regexp->Regex
- Rename Regex.search to Regex.expression
- Rename Iterable->Iterator
- Rename iterables->iterators
- Simplify typing