Skip to main content

perspective-python

PyPI

Perspective is an open-source data grid, pivot table and charting component for large, real-time and streaming datasets.

perspective-python is the Python distribution of Perspective:

  • A streaming query engine — Table and View — with incremental pivots, aggregates, filters, expressions and joins, reading and writing Apache Arrow, CSV, JSON, pandas, polars and pyarrow. Tables can be memory-mapped from disk with page_to_disk=True to exceed available memory.
  • PerspectiveWidget, an interactive data grid, pivot table and charting widget for JupyterLab, Jupyter Notebook, VS Code notebooks, Google Colab and marimo, built on anywidget.
  • WebSocket handlers for Tornado, Starlette (FastAPI) and aiohttp, which serve real-time dashboards to <perspective-viewer> in the browser.
  • Virtual servers which run the same UI directly against DuckDB, ClickHouse, PostgreSQL and Polars, with no data copy.

Installation

pip install perspective-python

For notebooks, install the jupyter extra:

pip install "perspective-python[jupyter]"

An interactive pivot table in Jupyter

import pandas as pd
from perspective.widget import PerspectiveWidget

df = pd.read_csv("superstore.csv")
PerspectiveWidget(df, plugin="Y Bar", group_by=["Region"], columns=["Sales"])

A streaming Table

import perspective

server = perspective.Server()
client = server.new_local_client()
table = client.table({"symbol": "string", "price": "float"}, name="prices")
table.update([{"symbol": "AAPL", "price": 189.5}])

A real-time dashboard server

import tornado.ioloop
import tornado.web
from perspective.handlers.tornado import PerspectiveTornadoHandler

app = tornado.web.Application([
    (r"/websocket", PerspectiveTornadoHandler, {"perspective_server": server}),
])

app.listen(8888)
tornado.ioloop.IOLoop.current().start()

Any number of browser clients can then open the prices table over WebSocket and receive every update() as it happens.

Documentation

Metadata

Release files for perspective-python 5.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for perspective-python 5.9.1
File Size Uploaded Provenance Actions
perspective_python-5.9.1.tar.gz 9.4 MB Without provenance Details for perspective_python-5.9.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for perspective-python 5.9.1
File Actions
perspective_python-5.9.1-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for perspective_python-5.9.1-cp311-abi3-win_amd64.whl
perspective_python-5.9.1-cp311-abi3-pyemscripten_2026_0_wasm32.whl CPython 3.11 abi3 PyEmscripten 2026.0+ WebAssembly Details for perspective_python-5.9.1-cp311-abi3-pyemscripten_2026_0_wasm32.whl
perspective_python-5.9.1-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for perspective_python-5.9.1-cp311-abi3-manylinux_2_28_x86_64.whl
perspective_python-5.9.1-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for perspective_python-5.9.1-cp311-abi3-manylinux_2_28_aarch64.whl
perspective_python-5.9.1-cp311-abi3-macosx_14_0_arm64.whl CPython 3.11 abi3 macOS 14.0+ ARM64 Details for perspective_python-5.9.1-cp311-abi3-macosx_14_0_arm64.whl

Total release size: 79.4 MB

Release files / perspective_python-5.9.1.tar.gz

Download URL perspective_python-5.9.1.tar.gz
Size 9.4 MB
Tags Source
SHA-256 checksum
How to use checksums
2557f24b6ef9b70ab29629abcce89a29f892bb67888f6492f5933c1e53259741
BLAKE2b-256 checksum
How to use checksums
f2db813412e04d82743b5dbe0a7103715e1e4c5bd5dd7bbfdd830a69fa3b21bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / perspective_python-5.9.1-cp311-abi3-win_amd64.whl

Download URL perspective_python-5.9.1-cp311-abi3-win_amd64.whl
Size 14.9 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
520c5ccdbea371a40caa99007535e3ce80bb3dfaaa3b04796fd892f8bb481636
BLAKE2b-256 checksum
How to use checksums
0ee366cc7dc4e3b5fba5f9b87f930f6406d790a5cb799b0cabc0ca1776349f0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / perspective_python-5.9.1-cp311-abi3-pyemscripten_2026_0_wasm32.whl

Download URL perspective_python-5.9.1-cp311-abi3-pyemscripten_2026_0_wasm32.whl
Size 8.4 MB
Tags CPython 3.11 PyEmscripten 2026.0+ WebAssembly abi3
SHA-256 checksum
How to use checksums
93527951792d5aed9067a9233d170ce57ebf5fdd355b554d6d286619f9dc623e
BLAKE2b-256 checksum
How to use checksums
5d0dcc77517b76c5d4e973623ab91243a91f183f07110f22bed0033a14f0a7dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / perspective_python-5.9.1-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL perspective_python-5.9.1-cp311-abi3-manylinux_2_28_x86_64.whl
Size 16.3 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
0191cd5c152453b49054af84902717c8b0212aa9a7af4fff7a8a5ff2d2860735
BLAKE2b-256 checksum
How to use checksums
08b76e91912fcd0909bc2c6506239827af7cc20597a8522fa41927047d43d567
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / perspective_python-5.9.1-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL perspective_python-5.9.1-cp311-abi3-manylinux_2_28_aarch64.whl
Size 15.8 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
200b65e2342e66cbc0e3197a66eb112e5468b0e089d672b598ce29cf426af748
BLAKE2b-256 checksum
How to use checksums
fea1c4a77f4e379ab36c2e3d2d1c7571141cf734479a4cf11c6dc7bb6aa59f99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / perspective_python-5.9.1-cp311-abi3-macosx_14_0_arm64.whl

Download URL perspective_python-5.9.1-cp311-abi3-macosx_14_0_arm64.whl
Size 14.6 MB
Tags CPython 3.11 abi3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
009d223473dbbd26d1402fb93ff84b26f13314ef83fbc7777095e93e4474916c
BLAKE2b-256 checksum
How to use checksums
fb3bc3d20297fb8e07c041f6993da1fa19c48ddb67e3a2fa49ec9e76b6d03030
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Security for perspective-python 5.9.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

5.9.1 This release

6 release files No provenance

1.1.1

1.1.0

1.0.8

1.0.7

0.1.11

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page