Skip to main content

Python client for interacting with the Ionworks API

Project description

Ionworks API Client

This is a read-only mirror. The source of truth is a private repo.

A Python client for interacting with the Ionworks API.

Installation

pip install ionworks-api

Quick start

from ionworks import Ionworks

# Initialize client (uses IONWORKS_API_KEY from environment/.env file)
client = Ionworks()

# or provide credentials directly
client = Ionworks(api_key="your_key")

Get your API key from the Ionworks account settings.

Sub-clients

The client exposes domain-specific sub-clients:

Sub-client Access Description
Projects client.project Create, list, update, delete projects
Models client.model Create, list, update, delete models
Parameterized models client.parameterized_model List, create, get parameter values
Studies client.study Manage studies and assign simulations/measurements
Protocols client.protocol Validate UCP protocols
Simulations client.simulation Run simulations and retrieve results
Pipelines client.pipeline Submit parameterization pipelines
Optimizations client.optimization Run design optimizations
Cell specifications client.cell_spec Manage cell specifications
Cell instances client.cell_instance Manage cell instances
Cell measurements client.cell_measurement Upload and retrieve measurement data
Jobs client.job Monitor and cancel background jobs

Documentation

Environment variables

Variable Required Default Description
IONWORKS_API_KEY Yes API key from account settings
IONWORKS_API_URL No https://api.ionworks.com API base URL
IONWORKS_PROJECT_ID For pipelines / project-scoped calls Default project ID from your project settings page. Used as the default project_id on the client. (PROJECT_ID is accepted as a deprecated fallback.)

The client does not load .env files on its own. If your variables live in a .env, call load_dotenv() yourself before constructing the client:

from dotenv import load_dotenv
load_dotenv()

from ionworks import Ionworks
client = Ionworks()

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

ionworks_api-0.16.0.tar.gz (99.0 kB view details)

Uploaded Source

Built Distribution

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

ionworks_api-0.16.0-py3-none-any.whl (118.7 kB view details)

Uploaded Python 3

File details

Details for the file ionworks_api-0.16.0.tar.gz.

File metadata

  • Download URL: ionworks_api-0.16.0.tar.gz
  • Upload date:
  • Size: 99.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for ionworks_api-0.16.0.tar.gz
Algorithm Hash digest
SHA256 f3444867b321dad46e97789635b2eeb81b87ae11871e00ba49de224d45add81f
MD5 b6a762a01f2a3786ead62a6c9da484d8
BLAKE2b-256 b8dba9f27162b4f6c0ae54e47d8974b7867503a01ec755ab1c3f5937fc0bb98c

See more details on using hashes here.

File details

Details for the file ionworks_api-0.16.0-py3-none-any.whl.

File metadata

  • Download URL: ionworks_api-0.16.0-py3-none-any.whl
  • Upload date:
  • Size: 118.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for ionworks_api-0.16.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d90d5d4ca204dba989f3334505475f3391ca88a4087ec66b3fe15066b0a8da8
MD5 aa976f73ac6a9be0c4420c57b1cfcbfd
BLAKE2b-256 7581de6a39fa6c66372a35d987459e03cf1b4aad5f8a481925640c9bfb1b24ed

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