Skip to main content

Kraken Entity Client

Project description

Kraken Entity Client

Overview

Class to interact with kraken db as entity

How to use

from kraken_entity_client.kraken_entity_client import Kraken_entity_client as K

Set api url

(only have to do it once, will be reused as env variable for other instances)

k1 = K()
k1.set_api_url('https://krakenengine.tactik8.repl.co/api')

Get record

k1 = K()
k1.record_type = 'schema:test'
k1.record_id = 'id_of_record'
k1.get()
record = k1.record

Post record

k1 = K()
k1.record = record
k1.post()

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-entity-client-0.0.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

kraken_entity_client-0.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file kraken-entity-client-0.0.1.tar.gz.

File metadata

  • Download URL: kraken-entity-client-0.0.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for kraken-entity-client-0.0.1.tar.gz
Algorithm Hash digest
SHA256 200016eafa507e0c29d2235f28960510e742227e3930d31d8078b6a0c224cf5f
MD5 4a4bac1beece7a4503bd5415865199fa
BLAKE2b-256 20fdb069cb387d38b5d1b66901480f8762f618534eda26dc672b2dab73c4d3c2

See more details on using hashes here.

File details

Details for the file kraken_entity_client-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: kraken_entity_client-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for kraken_entity_client-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3fa0890d58a94dc7c8c4f40dd1bb279b133aa8de4eff502acf55f61b47b34040
MD5 dca3cf3baa84f9613fbadf2046557ce6
BLAKE2b-256 aa4f80ef063e1ba0d059e004b0ad2c8879325b6cb77bd1aa27d6a9048a8efb09

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