Python API (splice-py)
The splice-py Python library enables programmatic generation of cable harness designs, perfect for automation, batch processing, and integration with existing engineering workflows.
Installation
pip install splice-py
Quick Example
from splice import Harness
harness = Harness(name="Power Distribution")
harness.add_connector(instance_id="X1", mpn="1-480698-0", positions=4)
harness.add_wire(instance_id="W1", mpn="UL1007-18-RED", awg=18)
# Export to JSON or upload directly
json_output = harness.to_json()
result = harness.upload(api_key="your-api-key")
Full Documentation
For complete API reference, examples, and usage guides:
Getting Your API Key
To upload harnesses programmatically, you need an API key from your Account Settings page.