# Libs

## Included Libraries

* ta-lib
* tulipy
* numpy

## Windows

You will need to install Python 3.13.3 x86 if you want to install Python packages through pip.

* [Python 3.13.3 x86](https://www.python.org/downloads/release/python-3133/)

```
pip3 install --target=<path\to\bot>\plugins\python313\Lib ta-lib
```

## Linux

phBot is bundled with [Python 3.13.3 x64.](https://www.python.org/ftp/python/3.13.3/Python-3.13.3.tar.xz) You will have to compile Python yourself in order to install the correct version of packages with pip.

```bat
LD_LIBRARY_PATH=/opt/python3.13.3/lib /opt/python3.13.3/bin/pip3 install -U --target=/home/$USER/.phBot-crypto/plugins/python313/Lib ta-lib
```

**Building Python**

```
./configure --prefix=/opt/python3.13.3 \
--enable-shared \
--enable-optimizations \
--with-ensurepip=install
```

```
make && sudo make install
```


---

# 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://crypto.phbot.org/python/libs.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.
