$npx skillfedfor your agent

TA-Lib

Python wrapper for TA-Lib

With conditionsPyPI MathematicsReleased Jul 2026945.9K downloads / moPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — ta_lib-0.7.1-cp310-cp310-macosx_13_0_x86_64.whl · ta_lib-0.7.1-cp310-cp310-macosx_14_0_arm64.whl · ta_lib-0.7.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
v0.7.1 · released 2026-07-16 · Python >=3.9 · 2 runtime deps: build, numpy

Yes, with conditions. TA-Lib is actively maintained, widely used in trading and finance, has no known vulnerabilities, and offers good performance via Cython. However, you must pre-install the underlying C library on your system—this is non-trivial on some platforms. The unclear license status also warrants verification before use in proprietary work. If you can handle the C library dependency and need a mature indicator library, it is worth installing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • The underlying TA-Lib C library must be installed separately on your system before installing the Python wrapper (e.g., via Homebrew on macOS, MSI on Windows, or from source on Linux).
  • Medium install friction: requires the underlying TA-Lib C library to be pre-installed on your system before installing the Python wrapper.
  • Binary wheels are available for Python 3.9, 3.10, 3.11, 3.12, 3.13, 3.14 on Linux, macOS, and Windows, but compilation from source may be needed on unsupported platforms.

License · maintenance · safety

(unclear) — License status is unclear—no SPDX identifier or raw license text is recorded in the package metadata. Verify the actual license terms before use in proprietary or copyleft-sensitive projects.

last release 2026-07-16 (29 days) · last repo commit 2026-07-29 · 12,185 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 945,941 downloads/mo, #4,667 on PyPI

Verify before relying

pip install TA-Lib
import numpy

close_prices = numpy.array([1.0, 2.0, 3.0])
# Call indicator functions from the installed TA-Lib wrapper
  • Full list of all 150+ indicators and their exact names.
  • Performance improvement claim of 2-4 times faster than SWIG interface—no benchmark data in fact sheet.
  • Whether Polars and Pandas integration is built-in or requires separate setup.
  • Compatibility of underlying TA-Lib C library version 0.7.1 with all supported Python versions.
Same gist for agents: .md · .json

What it is and what it does

TA-Lib is a Python binding to a widely-used C library for technical analysis of financial market data. It exposes a large collection of indicators (ADX, MACD, RSI, Stochastic, Bollinger Bands, and others) plus candlestick pattern recognition, designed for traders and financial software developers. The wrapper uses Cython and numpy instead of SWIG, aiming for better performance and cleaner integration.

Installation requires the underlying TA-Lib C library to be present on your system first—this is the main friction point. Once installed, you import the module and call indicator functions with price arrays (typically numpy arrays). The package supports Python 3.9 through 3.14 and offers binary wheels for common platforms, though some configurations may require building from source.

Use it for

  • Calculate technical indicators on historical price data for backtesting trading strategies.
  • Detect candlestick patterns in OHLC data to identify potential trade signals.
  • Build real-time trading systems that compute indicators on incoming market data streams.
  • Analyze financial time series with numpy arrays for research or portfolio analysis.
  • Integrate technical analysis into a larger trading platform or quantitative finance application.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

TA-Lib is actively maintained, widely used in trading and finance, has no known vulnerabilities, and offers good performance via Cython. However, you must pre-install the underlying C library on your system—this is non-trivial on some platforms. The unclear license status also warrants verification before use in proprietary work. If you can handle the C library dependency and need a mature indicator library, it is worth installing.

Install

ta-lib on PyPI

Before you install

Medium install friction: requires the underlying TA-Lib C library to be pre-installed on your system before installing the Python wrapper. Binary wheels are available for Python 3.9, 3.10, 3.11, 3.12, 3.13, 3.14 on Linux, macOS, and Windows, but compilation from source may be needed on unsupported platforms. Active maintenance with recent release.

The underlying TA-Lib C library must be installed separately on your system before installing the Python wrapper (e.g., via Homebrew on macOS, MSI on Windows, or from source on Linux).

License in practice

License status is unclear—no SPDX identifier or raw license text is recorded in the package metadata. Verify the actual license terms before use in proprietary or copyleft-sensitive projects.

Quickstart

pip install TA-Lib
import numpy

close_prices = numpy.array([1.0, 2.0, 3.0])
# Call indicator functions from the installed TA-Lib wrapper

Verify before relying

  • Full list of all 150+ indicators and their exact names.
  • Performance improvement claim of 2-4 times faster than SWIG interface—no benchmark data in fact sheet.
  • Whether Polars and Pandas integration is built-in or requires separate setup.
  • Compatibility of underlying TA-Lib C library version 0.7.1 with all supported Python versions.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependencies
2 packages
buildnumpy
MaintenanceActively maintained 29 days since the last release
Last repo commit
First released
Downloads945,941 / month, #4,667 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryIntended Audience :: Science/ResearchOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: CythonProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Office/Business :: FinancialTopic :: Scientific/Engineering :: Mathematics

Evidence: ta_lib-0.7.1-cp310-cp310-macosx_13_0_x86_64.whl; ta_lib-0.7.1-cp310-cp310-macosx_14_0_arm64.whl; ta_lib-0.7.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; ta_lib-0.7.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; ta_lib-0.7.1-cp310-cp310-musllinux_1_2_aarch64.whl; ta_lib-0.7.1-cp310-cp310-musllinux_1_2_x86_64.whl; ta_lib-0.7.1-cp310-cp310-win32.whl; ta_lib-0.7.1-cp310-cp310-win_amd64.whl; ta_lib-0.7.1-cp310-cp310-win_arm64.whl; ta_lib-0.7.1-cp311-cp311-macosx_13_0_x86_64.whl; ta_lib-0.7.1-cp311-cp311-macosx_14_0_arm64.whl; ta_lib-0.7.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; ta_lib-0.7.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; ta_lib-0.7.1-cp311-cp311-musllinux_1_2_aarch64.whl; ta_lib-0.7.1-cp311-cp311-musllinux_1_2_x86_64.whl; ta_lib-0.7.1-cp311-cp311-win32.whl; ta_lib-0.7.1-cp311-cp311-win_amd64.whl; ta_lib-0.7.1-cp311-cp311-win_arm64.whl; ta_lib-0.7.1-cp312-cp312-macosx_13_0_x86_64.whl; ta_lib-0.7.1-cp312-cp312-macosx_14_0_arm64.whl

Tags

Capabilities
technical analysis indicatorsfinancial market data analysistrading indicators pythoncandlestick pattern recognitionMACD RSI Bollinger Bandsta-lib wrapperstock analysis library
Topics
tradingtechnical-analysisfinance

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “candlestick pattern recognition”

  • TA-LibPython wrapper for the TA-Lib C library providing technical analysis…
  • ft-pandas-taProvides 130+ technical analysis indicators and candlestick patterns…
  • pandas-taProvides over 150 technical analysis indicators and 60 candlestick…

Give your agent the search over MCP, or paste the wish link into any chat.

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also ft-pandas-ta · pandas-ta-classic · pandas-ta · ta · stockstats · technical · tushare · baostock · yahooquery · openbb-tradingeconomics