Metadata-Version: 2.2
Name: lightningchart
Version: 2.2
Summary: An interactive high-performance data visualization library
Home-page: https://lightningchart.com/python-charts/
Author: LightningChart Ltd.
Author-email: lightningchart@lightningchart.com
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: Flask>=3.0.3
Requires-Dist: Flask_SocketIO>=5.4.1
Requires-Dist: gevent>=24.10.3
Requires-Dist: gevent-websocket>=0.10.1
Requires-Dist: msgpack>=1.1.0
Requires-Dist: requests
Requires-Dist: ipython
Requires-Dist: typing_extensions>=4.0; python_version < "3.11"
Provides-Extra: numpy
Requires-Dist: numpy; extra == "numpy"
Provides-Extra: pandas
Requires-Dist: pandas; extra == "pandas"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# LightningChart Python - Ultra-High-Performance Python Charts

**LightningChart Python** is a GPU-accelerated, WebGL-powered data visualization library for Python, designed to deliver **exceptional performance** and **real-time responsiveness** when creating charts using massive static or streaming datasets.

**Watch the showcase video below:**

[![Showcase video](https://img.youtube.com/vi/cGNZlXHGdo0/0.jpg)](https://www.youtube.com/watch?v=cGNZlXHGdo0)

## Key Features

- **High-performance rendering**: Leverages GPU acceleration and WebGL rendering for smooth interactivity and high refresh rates, even with millions of data points.
- **2D & 3D charts**: Support for an extensive range of visualization types, including line, scatter, heatmap, area, box, figure, spline, step, point-line, polar, bar, pre, funnel, pyramid, map, treemap, parallel coordinate, gauge and 3D charts including line, scatter, surface, scrolling surface, mesh model and box.
- **Real-time streaming**: Built to handle real-time updates efficiently for dynamic dashboards and monitoring solutions.
- **Seamless integration**: Works with familiar Python tools: NumPy, Pandas, and GUI frameworks like PyQt, as well as Jupyter notebooks and standalone scripts.
- **Licensing options**:
  - **Data Scientist (free/premium)**: Tailored for personal projects, including scripting and notebook-based workflows. Includes a 7-day free trial of premium features.
  - **Software Developer**: Per-seat, perpetual license designed for embedding charts in commercial, distributable software.

## Getting Started

### Installation

```bash
pip install lightningchart
```

### Basic Example

```python
import lightningchart as lc
import random

lc.set_license("your-license-key")

x = list(range(250))
y = [random.random() for _ in x]

chart = lc.ChartXY(theme=lc.Themes.Light, title="Line Chart")
chart.add_line_series().add(x, y)
chart.open()
```

## About Performance:

The following results are on average, and highlight how much faster LightningChart Python is compared to other Python charting libraries:

- **Real-time tests**: 3,630 times faster than other Python libraries tested
- **Static tests**: 22,155 times faster than other Python libraries tested

For more information on performance benchmarks, visit our [Performance Benchmark](https://lightningchart.com/python-charts/performance/) page.

## LightningChart Python Trader

For financial data visualization, consider [LightningChart Python Trader](https://pypi.org/project/lightningchart-trader/), the most comprehensive Python library for financial charting, featuring over **100 built-in technical indicators** (e.g., SMA, EMA, oscillators, volatility tools), drawing tools, and advanced technical analysis capabilities.

## Gallery

<table>
  <tr>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/chart-xy/line-series/#multi-channel-eeg-signals"><img src="https://lightningchart.com/pypi-material/lcpy-charts/multi-channel-line-series.png" alt="img01" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/chart-3d/line/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/line-series-3d.png" alt="img02" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/chart-3d/point/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/bubble-chart-3d.png" alt="img03" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/chart-3d/surface/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/surface-3d.png" alt="img04" width="220" loading="lazy"></a></td>
  </tr>
  <tr>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/chart-3d/mesh-model/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/mesh-model-file.png" alt="img05" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/chart-3d/scrolling-surface/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/scrolling-surface-3d.png" alt="img06" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/polar-chart/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/polar-chart.png" alt="img07" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/bar-chart/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/bar-chart.png" alt="img08" width="220" loading="lazy"></a></td>
  </tr>
  <tr>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/spider-chart/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/spider-chart.png" alt="img09" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/gauge-chart/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/gauge-indicators.png" alt="img10" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/pie-chart/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/donut-chart.png" alt="img11" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/treemap-chart/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/treemap.png" alt="img12" width="220" loading="lazy"></a></td>
  </tr>
  <tr>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/chart-xy/heatmap/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/heatmap.png" alt="img13" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/chart-xy/area/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/stacked-area-chart.png" alt="img14" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/chart-xy/figure/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/rectangle-series.png" alt="img15" width="220" loading="lazy"></a></td>
    <td><a href="https://lightningchart.com/python-charts/docs/examples/chart-xy/point/"><img src="https://lightningchart.com/pypi-material/lcpy-charts/bubble-chart.png" alt="img16" width="220" loading="lazy"></a></td>
  </tr>
</table>

- [More Examples](https://lightningchart.com/python-charts/docs/features/)

## Useful links

- [7-day Free trial License](https://lightningchart.com/python-charts/)
- [Student License](https://campaigns.lightningchart.com/python/)
- [Developer Documentation](https://lightningchart.com/python-charts/docs/)
- [API Documentation](https://lightningchart.com/python-charts/api-documentation/)
- [Guides](https://lightningchart.com/python-charts/docs/guides/)
- [Terms of use](https://lightningchart.com/eula/lightningchart-python/)
