> For the complete documentation index, see [llms.txt](https://yall.yassrobotics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yall.yassrobotics.com/documentation/understanding/python-and-cpp-support.md).

# Python & C++ Support

## Python: a full, parallel port

{% hint style="info" %}
The Python port was written by FRC Team 9738, who did the original translation of the Java API and contributed it back to YALL. Thanks to them, teams running Python robot code get the same library everyone else does.
{% endhint %}

YALL ships a Python package (`yall`) alongside the Java library, mirroring its class names and most method signatures:

```python
from yall.limelight import Limelight, EstimationMode
limelight = Limelight("limelight")
```

The Python port was translated from an earlier revision of the Java API and hasn't caught up to every recent addition. Notably, there's no Python equivalent yet for `IMUResults`, `HardwareReport`, `HailoStats`, `RewindStats`, rewind capture, or USB port forwarding. A couple of method names also differ slightly (`withCameraToRobot` instead of `withCameraOffset`, `createPoseEstimator(bool)` instead of taking an `EstimationMode` enum). See the Python reference overview for the full list of differences.

For everything else, including settings, pose estimation, and target results, the concepts on this site apply directly; only the syntax changes.

## C++: not yet implemented

A C++ source file exists in the repository (`yall/cpp/Limelight.cpp`) as a placeholder, and the vendordep JSON currently ships no C++ artifact. If your team writes robot code in C++, track the [GitHub repository](https://github.com/BroncBotz3481/YALL) for progress rather than expecting a working C++ API today.

## See Also

* Python API reference
* Java API reference


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://yall.yassrobotics.com/documentation/understanding/python-and-cpp-support.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
