perspective-dev/perspective

GitHub: perspective-dev/perspective

一个高性能的交互式数据可视化与分析组件,专为大型和流式数据集设计,支持在浏览器、Python 和 Rust 环境中构建可配置的报表与仪表板。

Stars: 11035 | Forks: 1332




[![Build Status](https://img.shields.io/github/actions/workflow/status/perspective-dev/perspective/build.yaml?event=push&style=for-the-badge)](https://github.com/perspective-dev/perspective/actions/workflows/build.yaml) [![npm](https://img.shields.io/npm/v/@perspective-dev/client.svg?style=for-the-badge)](https://www.npmjs.com/package/@perspective-dev/client) [![PyPI](https://img.shields.io/pypi/v/perspective-python.svg?style=for-the-badge)](https://pypi.python.org/pypi/perspective-python) [![crates.io](https://img.shields.io/crates/v/perspective?style=for-the-badge)](https://crates.io/crates/perspective)
Perspective 是一个用于大型和流式数据集的交互式分析与数据可视化组件。 借助编译为 WebAssembly、Python 和 Rust 的高性能查询引擎,构建用户可配置的报表、 仪表板、笔记本和应用程序。 ## 功能 - 一个不依赖特定框架的用户界面,封装为 [Custom Element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements), 可在浏览器内(通过 WebAssembly)或远程(通过 WebSocket,并在 Python、Node.js 和 Rust 中集成)连接到数据模型。包含一个数据网格,以及 10 多种图表类型,如折线图、柱状图、面积图、散点图、热力图、矩形树图、旭日图、K 线图等。 - 一个用于可插拔引擎的数据模型 API,使 Perspective 的 UI 能够查询外部数据源(如 [DuckDB](https://duckdb.org/)),同时将视图配置转换为原生查询。 - 一个内置的快速、内存高效的流式数据模型,使用 C++ 编写,并编译为 [WebAssembly](https://webassembly.org/), [Python](https://www.python.org/), 和 [Rust](https://www.rust-lang.org/)。 支持对 [Apache Arrow](https://arrow.apache.org/) 的读/写/流式传输, 并带有基于 [ExprTK](https://github.com/ArashPartow/exprtk) 的列式表达式语言。 - 一个用于在笔记本中进行交互式数据分析的 [JupyterLab](https://jupyter.org/) 小部件和 Python 客户端库。 ## 文档 - [项目站点](https://perspective-dev.github.io/) - [用户指南](https://perspective-dev.github.io/guide/) - JavaScript API - [`@perspective-dev/client` 浏览器](https://perspective-dev.github.io/browser/modules/src_ts_perspective.browser.ts.html) - [`@perspective-dev/client` Node.js](https://perspective-dev.github.io/node/modules/src_ts_perspective.node.ts.html) - [`@perspective-dev/client` Clickhouse 虚拟服务器](https://perspective-dev.github.io/browser/modules/dist_esm_virtual_servers_clickhouse.js.html) - [`@perspective-dev/client` DuckDB 虚拟服务器](https://perspective-dev.github.io/browser/modules/dist_esm_virtual_servers_duckdb.js.html) - [`@perspective-dev/viewer` Web Component](https://perspective-dev.github.io/viewer/modules/perspective-viewer.html) - Python API - [`perspective`](https://perspective-dev.github.io/python/index.html) - [`perspective.widget`](https://perspective-dev.github.io/python/perspective/widget.html) - [`perspective.handlers.aiohttp`](https://perspective-dev.github.io/python/perspective/handlers/aiohttp.html) - [`perspective.handlers.starlette`](https://perspective-dev.github.io/python/perspective/handlers/starlett.html) - [`perspective.handlers.tornado`](https://perspective-dev.github.io/python/perspective/handlers/tornado.html) - [`perspective.virtual_servers.clickhouse`](https://perspective-dev.github.io/python/perspective/virtual_servers/clickhouse.html) - [`perspective.virtual_servers.duckdb`](https://perspective-dev.github.io/python/perspective/virtual_servers/duckdb.html) - Rust API - [`perspective`](https://docs.rs/perspective/latest/perspective/) - [`perspective-client`](https://docs.rs/perspective-client/latest/perspective_client/) - [`perspective-server`](https://docs.rs/perspective-server/latest/perspective_server/) - [`perspective-python`](https://docs.rs/perspective-python/latest/perspective_python/) - [`perspective-js`](https://docs.rs/perspective-js/latest/perspective_js/) - [`perspective-viewer`](https://docs.rs/perspective-viewer/latest/perspective_viewer/) ## 示例
editablefileduckdb
fractalmarketraycasting
evictionsnypdstreaming
covidwebcammovies
superstoreolympicsdataset
## 媒体
@timkpaine @timbess @sc1f
@texodus @texodus






Perspective 项目是 [The OpenJS Foundation](https://openjsf.org/) 的成员。 版权所有 [OpenJS Foundation](https://openjsf.org) 和 Perspective 贡献者。 保留所有权利。[OpenJS Foundation](https://openjsf.org) 已注册商标并使用商标。有关 [OpenJS Foundation](https://openjsf.org) 的商标列表,请参阅我们的 [商标政策](https://trademark-policy.openjsf.org/) 和 [商标列表](https://trademark-list.openjsf.org/)。未在 [OpenJS Foundation 商标列表](https://trademark-list.openjsf.org) 中标明的商标和徽标,均 是其各自所有者的商标™ 或注册®商标。使用它们 并不暗示任何从属关系或认可。 [The OpenJS Foundation](https://openjsf.org/) | [使用条款](https://terms-of-use.openjsf.org/) | [隐私政策](https://privacy-policy.openjsf.org/) | [章程](https://bylaws.openjsf.org/) | [行为准则](https://code-of-conduct.openjsf.org) | [商标政策](https://trademark-policy.openjsf.org/) | [商标列表](https://trademark-list.openjsf.org/) | [Cookie 政策](https://www.linuxfoundation.org/cookies/)
标签:AI工具, Python, Rust, WebAssembly, 代码示例, 可视化界面, 数据分析, 数据可视化, 无后门, 流式数据, 网络流量审计, 逆向工具