> 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).

# Vorinstallierte Python-Bibliotheken im BuildingPro-Suites-System

## Standardmäßig installierte Bibliotheken

Die folgenden Python-Bibliotheken sind im BuildingPro-Suites-System bereits installiert und für Ihre Skripte verfügbar:

* **pytz**: Bietet Unterstützung für Zeitzonen in Python.
* **numpy**: Eine grundlegende Bibliothek für numerische Berechnungen und das Arbeiten mit Arrays.
* **pandas**: Eine leistungsstarke Bibliothek für Datenanalyse und -bearbeitung.
* **keras\_tuner**: Eine Bibliothek zur Hyperparameter-Optimierung 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 und erlaubt es Ihnen, einfach mit den verschiedenen Funktionen und Datenquellen des BuildingPro-Suites-Systems zu interagieren.
* **Python 3.12**: Alle Standardmodule und -funktionen von Python Version 3.12 sind verfügbar. [➔ \[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 standardmäßig nicht installiert sind, können Sie diese selbst im Grafana-Container (SSR) installieren. Gehen Sie wie folgt vor:
{% endhint %}

1. **Wechseln Sie in die Container-Shell** Stellen Sie eine interaktive Verbindung zum SSR-Container her:

   ```bash
   docker exec -it ssr /bin/bash
   ```
2. **Paket installieren** Installieren Sie das gewünschte Python-Paket in das externe 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, **1 GB** Speicherplatz im `/ssr/pip_external` -Verzeichnis verfügbar. Stellen Sie sicher, dass vor der Installation großer Pakete genügend freier Speicherplatz vorhanden ist.

{% hint style="warning" %}
Wenn `pip install` mit einem von null verschiedenen Rückgabecode endet, bedeutet dies nicht automatisch einen Fehler – solange 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 dynamically by asking a question.

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

```
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=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
