Skip to main content

A Python package containing jinko_helpers, jinko_stats, and crabbit modules aimed to be used with Jinko.ai API

Project description

Jinko API Helpers

Python helpers function to ease use of Jinko's API

Jinko is an innovative SaaS and CaaS platform focused on trial simulation and design optimization. The Jinko API offers programmatic access to a wide range of functionalities, facilitating integration with various tools and enhancing collaboration.

Usage

pip install jinko-sdk

# Or

poetry add jinko-sdk

Install optional modules only when needed:

# Full jinko_helpers feature set (trial/dataframe helpers)
pip install "jinko-sdk[jinko_helpers]"

# jinko_stats
pip install "jinko-sdk[jinko_stats]"

# crabbit
pip install "jinko-sdk[crabbit]"

# jinko_nn
pip install "jinko-sdk[jinko_nn]"

# everything
pip install "jinko-sdk[full]"
import jinko_helpers as jinko

# Connect to Jinko
jinko.initialize(
    projectId='016140de-1753-4133-8cbf-e67d9a399ec1',
    apiKey='50b5085e-3675-40c9-b65b-2aa8d0af101c'
)

# Check authentication
response = jinko.makeRequest('/app/v1/auth/check')

# Make a few requests
projectItem = jinko.makeRequest(
    '/app/v1/project-item/tr-EUsp-WjjI',
    method='GET',
).json()

Contributing

Check the dedicated instructions.

Find out more at Jinko Doc

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

jinko_sdk-0.6.0.tar.gz (75.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jinko_sdk-0.6.0-py3-none-any.whl (87.5 kB view details)

Uploaded Python 3

File details

Details for the file jinko_sdk-0.6.0.tar.gz.

File metadata

  • Download URL: jinko_sdk-0.6.0.tar.gz
  • Upload date:
  • Size: 75.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.12.28

File hashes

Hashes for jinko_sdk-0.6.0.tar.gz
Algorithm Hash digest
SHA256 1dc88e9c48977fc4987504806e88142a0171e3b9364ce9826c95fbe377670c0a
MD5 5403cbbbb279a16048600e91414bf620
BLAKE2b-256 66208993975c79435b04bce5a0a8dd6f59dcee5084a1bedd54a3e083d3068fd7

See more details on using hashes here.

File details

Details for the file jinko_sdk-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: jinko_sdk-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 87.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.12.28

File hashes

Hashes for jinko_sdk-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb1ba6998e92e8bd5fcd5e64a06dc0c8d6981dfbd085470cab440cd2cfa9ca22
MD5 1832640f3169524c317314be53e4d922
BLAKE2b-256 413167c7dd0d9dd6f3911d64f293002b36e078bb1ed7ebaa68889cb57a3e433e

See more details on using hashes here.

Supported by

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