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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken-entity-client-0.0.2.tar.gz
  • Upload date:
  • Size: 4.1 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.2.tar.gz
Algorithm Hash digest
SHA256 459865f44fb689eb1218918bb413092ae973e701c4f2cfb64a8a7ebf81a12c86
MD5 9d70e00467d0ebecda676e97559362a3
BLAKE2b-256 7c6988171f22d369a349574fe690218535188aee82735863f157e97bbe6dd5cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kraken_entity_client-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4f40c295d5577280be14ded4c5dadeaf3f6298dbaf34df6f60836af93723f4f1
MD5 10adffc925cbee4dc6be509a9bea4ce3
BLAKE2b-256 a89750d0cb3e4ac56e0375e006be18cf9d707a1b83173feac1d0634836d0e103

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