# ThermoFlex™ Python API

Welcome to the brains of the operation. The **ThermoFlex™ API** is your all-access Python interface to the ThermoFlex Artificial Muscle System — letting you command contractions, query sensors, and coordinate motion across your Delta Robotics hardware like a pro.

> 🐍 You’ll need Python installed to use this API. [Download it here](https://www.python.org/downloads/)

***

### 🛠️ How to Install the ThermoFlex™ API

To get started, you'll need to install the `thermoflex` Python package using `pip` — Python’s package installer.

#### Step 1: Open a terminal

Depending on your operating system:

* **Windows:** Search for “Command Prompt” or “PowerShell” in the Start Menu
* **macOS:** Use Spotlight (`Cmd + Space`) and search for “Terminal”
* **Linux:** You already know where the terminal is.

> 💡 Tip: If you’re working inside a virtual environment (like `venv` or `conda`), make sure it’s activated first.

#### Step 2: Type this command

<pre><code><strong>pip install thermoflex
</strong></code></pre>

Then hit **Enter**.

You should see pip download and install the package. When it finishes, you’ll be ready to start importing and using the API in your Python scripts or notebooks.

✅ That’s all you need to get the ThermoFlex API on your system.

***

### 🔗 Source Code & Docs

Want to dive deeper, fork it, or just see what kind of code we write after midnight?

[View on GitHub](https://github.com/Delta-Robotics-Inc/ThermoFlex-Python-API)

[Running your first program with the API](https://docs.deltaroboticsinc.com/tutorials/thermoflex-tm/getting-started-with-our-evaluation-kit#running-your-first-program)

***

🙋‍♀️ Need Help?

If you run into any issues:

Ask Kevin: <kevin@deltaroboticsinc.com>

Or submit an issue directly on GitHub Issues

We’ve got your back — bugs, setup help, or even feature requests.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://delta-robotics.gitbook.io/docs/software/thermoflex-tm-python-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
