Skip to main content

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.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

kraken_convert-0.0.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file kraken-convert-0.0.2.tar.gz.

File metadata

  • Download URL: kraken-convert-0.0.2.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

Hashes for kraken-convert-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3c26ad7bb60b64c041469cc86e345dd0347377d818e4a95b892d2629b329e71b
MD5 0308b1accd42ae9ed1a8db3524a05339
BLAKE2b-256 0d0c0ff9bed67b3c70f7dc00c352544c86722c527c1dc315c5fe0ad4acb6de7c

See more details on using hashes here.

File details

Details for the file kraken_convert-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for kraken_convert-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b0e1d292a28ad0d3557c349448c83f1dbb1cc0440a6b86af1d4dfe4e9f11d448
MD5 2223eb1089fe9641dfc1d9c62c2da1a1
BLAKE2b-256 20851249e03de795d9edaa2c5e9d34a052751dbdafb40b8a796e2fb0982dac64

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page