Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:TA Lib Ta lib python Version Selection Guide

From Leeroopedia


Knowledge Sources
Domains Installation, Version_Management
Last Updated 2026-02-09 22:00 GMT

Overview

Concrete guide for selecting the correct TA-Lib Python wrapper and C library version combination based on platform and Python version.

Description

This is a Pattern Doc' documenting the version selection decision process. The version is defined in talib/__init__.py (__version__ = '0.6.9) and pyproject.toml (version = "0.6.9").

Usage

Check the compatibility table and select the appropriate version before installing.

Code Reference

Source Location

  • Repository: ta-lib-python
  • File: talib/__init__.py:L135 (__version__), pyproject.toml:L7 (project version)

Signature

# Version information access
import talib
print(talib.__version__)       # '0.6.9' (Python wrapper)
print(talib.__ta_version__)    # C library version string

Import

import talib

I/O Contract

Inputs

Name Type Required Description
(none) Version info is read-only

Outputs

Name Type Description
__version__ str Python wrapper version ('0.6.9')
__ta_version__ str TA-Lib C library version string

Usage Examples

Check Installed Versions

import talib

print(f"Python wrapper: {talib.__version__}")
print(f"C library: {talib.__ta_version__}")
print(f"Functions available: {len(talib.get_functions())}")

Related Pages

Implements Principle

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment