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
- Guides and tutorials: docs.ionworks.com
- API reference: api.docs.ionworks.com
- Changelog:
CHANGELOG.mdfor this package; docs.ionworks.com/changelog for the full Ionworks platform changelog.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ionworks_api-0.11.0.tar.gz.
File metadata
- Download URL: ionworks_api-0.11.0.tar.gz
- Upload date:
- Size: 71.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
668b339790a9c510925eb020166e02457ac25bac03ff73016552d1fac8a9baea
|
|
| MD5 |
5dfbd5f158ddd77fddb23da0cbf60dc7
|
|
| BLAKE2b-256 |
6d32a31d696e0d7fe3985ffca6b54b24a6188572c3b7f8bc017ddfab8f41bca6
|
File details
Details for the file ionworks_api-0.11.0-py3-none-any.whl.
File metadata
- Download URL: ionworks_api-0.11.0-py3-none-any.whl
- Upload date:
- Size: 88.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
969e8e018d8b66f90bd310a40a2398fa722f9512705f4c4c2d9654006698446b
|
|
| MD5 |
1379db50e8b21d4b961dc700b49f391f
|
|
| BLAKE2b-256 |
54844081970a86caf495a0f86ad68acc595c21eb6f6967304e617da81bd2811c
|