> For the complete documentation index, see [llms.txt](https://docs.buildings.ability.abb/collection/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.buildings.ability.abb/collection/german/plattform/platform-core/script-engine/writing-python-scripts/pre-installed-python-libraries-in-the-eliona-system.md). Agents can also search and read this documentation through its [MCP server](https://docs.buildings.ability.abb/collection/~gitbook/mcp).

# Vorinstallierte Python-Bibliotheken im BuildingPro-Suites-System

## Standardmäßig installierte Bibliotheken

Die folgenden Python-Bibliotheken sind bereits im BuildingPro-Suites-System installiert und stehen für Ihre Skripte zur Verfügung:

* **pytz**: Bietet Unterstützung für Zeitzonen in Python.
* **numpy**: Eine grundlegende Bibliothek für numerische Berechnungen und die Arbeit mit Arrays.
* **pandas**: Eine leistungsstarke Bibliothek für Datenanalyse und -bearbeitung.
* **keras\_tuner**: Eine Bibliothek zur Optimierung von Hyperparametern für Deep-Learning-Modelle.
* [**python-eliona-api-client2**](https://github.com/eliona-smart-building-assistant/python-eliona-api-client2/tree/master): Ein Python-Client für die BuildingPro-Suites-API, der direkt aus dem GitHub-Repository installiert wird. Diese Bibliothek ermöglicht den vollständigen Zugriff auf alle BuildingPro-Suites-Dienste, sodass Sie problemlos mit den verschiedenen Funktionen und Datenquellen des BuildingPro-Suites-Systems interagieren können.
* **Python 3.12**: Alle Standardmodule und -funktionen von Python Version 3.12 stehen zur Verfügung. [➔ \[Externer Link\] Python-3.12-Bibliotheken](https://docs.python.org/release/3.12.0/library/index.html)

***

## Zusätzliche Python-Bibliotheken installieren

{% hint style="info" %}
Wenn Sie Bibliotheken benötigen, die nicht standardmäßig installiert sind, können Sie diese selbst im Grafana-Container (SSR) installieren. Gehen Sie dazu wie folgt vor:
{% endhint %}

1. **Zur Container-Shell wechseln** Interaktiv mit dem SSR-Container verbinden:

   ```bash
   docker exec -it ssr /bin/bash
   ```
2. **Paket installieren** Installieren Sie das gewünschte Python-Paket im externen Zielverzeichnis:

   ```bash
   pip install --target /ssr/pip_external <package_name>
   ```

   * Der Parameter `--target /ssr/pip_external` stellt sicher, dass das Paket in einem beschreibbaren Verzeichnis außerhalb der Kernumgebung installiert wird.
3. **Container neu starten** Damit das neu installierte Paket beim nächsten Skriptlauf verfügbar ist, starten Sie den Container neu:

   ```bash
   docker restart ssr
   ```
4. **Verfügbaren Speicherplatz prüfen** Standardmäßig stehen **1 GB** Speicherplatz im Verzeichnis `/ssr/pip_external` zur Verfügung. Vergewissern Sie sich vor der Installation großer Pakete, dass ausreichend freier Speicherplatz vorhanden ist.

{% hint style="warning" %}
Wenn `pip install` mit einem von null verschiedenen Rückgabecode endet, weist dies nicht automatisch auf einen Fehler hin – sofern keine weiteren Fehlermeldungen angezeigt werden, war die Installation in der Regel erfolgreich.
{% endhint %}


---

# 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://docs.buildings.ability.abb/collection/german/plattform/platform-core/script-engine/writing-python-scripts/pre-installed-python-libraries-in-the-eliona-system.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.
