Key differences

  • mplfinance has 2.1× as many GitHub stars as lightweight-charts-python (4.5K vs 2.2K).
  • mplfinance is downloaded 33× as often on PyPI (96.9K vs 3K per week).
  • lightweight-charts-python is licensed under MIT; mplfinance under BSD-style.
  • lightweight-charts-python is written primarily in TypeScript, mplfinance in Python.
  • mplfinance is the older project: its repository was created in 2019, lightweight-charts-python's in 2023.
  • lightweight-charts-python has had no commits since Sep 28, 2024.
  • mplfinance has had no commits since Apr 2, 2024.

By the numbers

  • lightweight-charts-python
  • mplfinance
GitHub stars
2.2K 4.5K
PyPI downloads / week
3K 96.9K
Commits, last 12 months
0 0
Contributors
7 39
Forks
442 679
Show data as a table
lightweight-charts-python vs mplfinance by the numbers
Metriclightweight-charts-pythonmplfinance
GitHub stars2,1664,457
PyPI downloads / week2,96796,933
Commits, last 12 months00
Contributors739
Forks442679

Development activity

Commits per month to each default branch, last 12 complete months.

  • lightweight-charts-python
  • mplfinance
01 Nov 2025 Dec Jan 2026 Feb Mar Apr May Jun Jul Aug Sep Oct
01 Nov 2025 Feb 2026 May Aug
Show data as a table
lightweight-charts-python vs mplfinance: commits per month
Monthlightweight-charts-pythonmplfinance
Nov 202500
Dec 202500
Jan 202600
Feb 202600
Mar 202600
Apr 202600
May 202600
Jun 202600
Jul 202600
Aug 202600
Sep 202600
Oct 202600

Side by side

Attributelightweight-charts-pythonmplfinance
DescriptionPython interface to TradingView's Lightweight Charts for financial charts.Financial market data visualization (candlestick, OHLC, volume) using matplotlib.
CategoryPython financial charting librariesPython financial charting libraries
LicenseMITBSD-style
LanguageTypeScriptPython
StatusInactiveInactive
Latest releasev2.1 ()v0.12.10b0 ()
Last commit
Repository created
Open issues108155
Install
pip install lightweight-charts
pip install mplfinance

Which should you choose?

Popularity and activity are only part of the story. Consider which ecosystem you work in, the chart types and interactions you need, how much data you render, and whether the license fits your project. Both tool pages list alternatives if neither is quite right.

  • lightweight-charts-python

    Python interface to TradingView's Lightweight Charts for financial charts.

    2.2K starsTypeScriptMIT

  • mplfinance

    Financial market data visualization (candlestick, OHLC, volume) using matplotlib.

    4.5K starsPythonBSD-style