ionworks.api

ionworks.api is the client for the Ionworks platform: cell testing data, simulation, and modeling.

For narrative guides and tutorials, see docs.ionworks.com.

import ionworks as iw

client = iw.api.Client()

# Create a cell specification
cell_spec = client.cell_spec.create({
    "name": "NCM622/Graphite Coin Cell",
    "form_factor": "R2032",
    "manufacturer": "Custom Cells",
})

# Create a manufacturing lot, then a cell instance in it
batch = client.cell_batch.create(cell_spec.id, {"name": "BATCH-2024-001"})
cell_instance = client.cell_instance.create(
    cell_spec.id,
    {"name": "Cell-001", "batch_id": batch.id}
)

Getting Started