Skip to main content

A pure python version of ta-lib.

Project description

taleb

PyPi

A pure python version of ta-lib.

Dependencies :globe_with_meridians:

Python 3.11.6:

Raison D'être :thought_balloon:

taleb is a pure python implementation of the ta-lib C library that doesn't call out to any library other than python dependencies. Thus it doesn't require ta-lib to be installed on a system before use, and is extremely portable. In addition to this it uses vectorisation where applicable. This library has the exact API as ta-lib-python where implemented.

import taleb
import numpy as np

close = np.random.random(100)
taleb.MOM(close)

It is designed to be a drop-in replacement where instead of importing talib you import taleb.

Installation :inbox_tray:

This is a python package hosted on pypi, so to install simply run the following command:

pip install taleb

Note that upon running this package for the first time, you may notice a slight delay as it downloads the relevant R packages.

Usage example :eyes:

To get familiar with the individual functions and charts check out the documents in the ta-lib documentation. This library ports over 200 functions.

License :memo:

The project is available under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taleb-0.0.4.tar.gz (18.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page