Sign inSign up

wuuker/python-talib

By wuuker

Updated over 2 years ago

Python 3 image with TA-Lib, Pandas, Numpy already installed

Image
0

10K+

wuuker/python-talib repository overview

Note

I've moved the newer images onto GitHub Container Registry (GHCR), feel free to visit the GHCR page of the image for TA-Lib images on newer Ubuntu & Python version.

I've moved the newer images onto GitHub Container Registry (GHCR), feel free to visit the GHCR page of the image for TA-Lib images on newer Ubuntu & Python version.

I've moved the newer images onto GitHub Container Registry (GHCR), feel free to visit the GHCR page of the image for TA-Lib images on newer Ubuntu & Python version.

BREAKING CHANGE SINCE python3.11-mantic

Since python3.11-mantic (all images which its tag ends with 20231104 and so on), when trying to use NumPy or TA-Lib in your Python script, you have to enable the virtual environment first. The virtual environment could be easily be activated by adding the following line in the very beginning of your shell script or anything that bootstraps your docker container:

. /ctr-py-venv/bin/activate

This behavioral change is made by newly introduced feature since Python 3.11(PEP-668, a related Stack Overflow discussion is here).

This PEP aims to prevent conflicts between system-managed Python packages and user-installed version, so I chose to go with the limitation and make a virtual environment in the container image.

Leave comments on my GitHub repository if you have any thoughts about this.

Overview

The image contains Python 3 with NumPy, TA-Lib installed, which should save your precious time downloading and compiling the source code, especially for TA-Lib.

This is a multi-arch images, including amd64, arm64 (aarch64), which means you can deploy the same image across your x86 server, Raspberry Pi or other ARM devices.

Report issues or feature request on GitHub repo

Tag summary

Content type

Image

Digest

sha256:b1c525500

Size

113.9 MB

Last updated

over 2 years ago

docker pull wuuker/python-talib