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.5.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file kraken-convert-0.0.5.tar.gz
.
File metadata
- Download URL: kraken-convert-0.0.5.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da9445a43559fdb009842ce0823ad8f2fcf1ff931f9505e9aa3a4d65a19a3455 |
|
MD5 | b84c67dbe33246c6715e50a9f2a79a78 |
|
BLAKE2b-256 | 474106893814e19265fbf0292f186722770f2c034483e479634603c761bea785 |
File details
Details for the file kraken_convert-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: kraken_convert-0.0.5-py3-none-any.whl
- Upload date:
- Size: 6.2 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 | 17679a6c650ab944d8345cde566e842c1299c3213b0fa71d30e91c781d7886f9 |
|
MD5 | f17f2cb9e840310f543692fa26c64c68 |
|
BLAKE2b-256 | a97afe1b23e4f930d09adb2aa408c007d53c875564e2b502ca5cedf643ec2400 |