#real-time #jupyter #analytics #python

perspective-server

A data visualization and analytics component, especially well-suited for large and/or streaming datasets

24 stable releases

Uses new Rust 2024

new 3.4.3 Mar 20, 2025
3.3.4 Feb 10, 2025
3.2.1 Dec 23, 2024
3.1.7 Nov 30, 2024
3.0.0-rc.1 Jul 27, 2024

#154 in Visualization

Download history 277/week @ 2024-12-04 102/week @ 2024-12-11 140/week @ 2024-12-18 49/week @ 2024-12-25 43/week @ 2025-01-08 120/week @ 2025-01-15 112/week @ 2025-01-22 198/week @ 2025-01-29 347/week @ 2025-02-05 46/week @ 2025-02-12 27/week @ 2025-02-19 343/week @ 2025-02-26 256/week @ 2025-03-05 352/week @ 2025-03-12 211/week @ 2025-03-19

1,163 downloads per month
Used in 2 crates

Apache-2.0

1.5MB
35K SLoC

C++ 30K SLoC // 0.1% comments Rust 4.5K SLoC // 0.1% comments JavaScript 51 SLoC // 0.3% comments Python 21 SLoC // 0.5% comments



Build Status npm PyPI crates.io


Perspective is an interactive analytics and data visualization component, which is especially well-suited for large and/or streaming datasets. Use it to create user-configurable reports, dashboards, notebooks and applications.

Features

  • A fast, memory efficient streaming query engine, written in C++ and compiled for WebAssembly, Python and Rust, with read/write/streaming for Apache Arrow, and a high-performance columnar expression language based on ExprTK.

  • A framework-agnostic User Interface packaged as a Custom Element, powered either in-browser via WebAssembly or virtually via WebSocket server (Python/Node/Rust).

  • A JupyterLab widget and Python client library, for interactive data analysis in a notebook, as well as scalable production applications.

Documentation

Examples

editablefilefractal
marketraycastingevictions
nypdstreamingcovid
webcammoviessuperstore
citibikeolympics

Media

@timkpaine @timbess @sc1f
@texodus @texodus

Dependencies

~3–6.5MB
~112K SLoC