Kraken convert
Project description
kraken convert
Overview
Converts records using a mapping record
github
https://github.com/tactik8/krakenconvert2
pypi
methods:
- convert: converts records
How to use:
Basics
input_records = [
{
"record_id": "1234",
"firstName": "firstName1",
"lastName": "lastName1",
"email": "test1@test.com"
}
]
map = {
"@type": "'test'",
"@id": "'/system/table/' + str(r.record_id)",
"givenName": "r.firstName",
"familyName": "r.lastName",
"email": "r.email"
}
results = convert(input_records, map)
print(results)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kraken-convert-0.0.3.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file kraken-convert-0.0.3.tar.gz
.
File metadata
- Download URL: kraken-convert-0.0.3.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a02a955bbfd7ba681614a581fb1d213248c9784cc79e2f6be3ad8fff4acbab0b |
|
MD5 | e610191f963329f23c9de47af0eaa8e1 |
|
BLAKE2b-256 | 53abdfd76b68d9a16a75eeab7024103851cbc4ff788a77db27dc7e0ba55bb0c9 |
File details
Details for the file kraken_convert-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: kraken_convert-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a40a7b2aff3e9353994fb674b9fd45b52772010f81738ccf1eb11fc6dee52d36 |
|
MD5 | 6d9f2ca4c41f4d3fbd9864acfc4fb82f |
|
BLAKE2b-256 | 2daf3172e5aac94fc58d4260d0d80fe570a0d9b27f68f709c8d5b6a347d2bad8 |