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.0

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.0
File Size Uploaded Provenance Actions
perspective_python-5.9.0.tar.gz 9.3 MB Without provenance Details for perspective_python-5.9.0.tar.gz

Built distributions (wheels)

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

Total release size: 79.4 MB

Release files / perspective_python-5.9.0.tar.gz

Download URL perspective_python-5.9.0.tar.gz
Size 9.3 MB
Tags Source
SHA-256 checksum
How to use checksums
546cb83addea04a905d41cdf3b7a37db6366d27626e4666b087cc0808253b8ce
BLAKE2b-256 checksum
How to use checksums
29298d605f0984c4c96b6e07781ea947cfdbb75f14c170eb7e41804854e2dc9c
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.0-cp311-abi3-win_amd64.whl

Download URL perspective_python-5.9.0-cp311-abi3-win_amd64.whl
Size 14.9 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
2e08ad32127418a962807817c688a13b117e5119f4fc415e94bebcb14d889b8e
BLAKE2b-256 checksum
How to use checksums
9e2199738398c22625773e3045afdc96e99216aad1d2e330e68ce95405b3bd9d
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.0-cp311-abi3-pyemscripten_2026_0_wasm32.whl

Download URL perspective_python-5.9.0-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
6309696ec157db6ee313f37ece3b70798f6b747161141fe491ee1fe4a6740df6
BLAKE2b-256 checksum
How to use checksums
d2dae4e8335b45e07be526dadf2da3ec1fe1ea9e050d3169c8f8fbb389cd9f65
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.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL perspective_python-5.9.0-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
df37cbf5cdff0b0afaf02ccb4935d903107e5d27bd5fd0db5557a5c25470b670
BLAKE2b-256 checksum
How to use checksums
e8646aa98ba602785b543e763a5f0247621f441ce144995c74dfa0e1985fe4ef
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.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL perspective_python-5.9.0-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
288c92acb467e5815f2a6b1b8443fdfac18778f48657f83153f802fd0771163c
BLAKE2b-256 checksum
How to use checksums
28a37981abe89f21104651e4916ea635ada1225602770907c3edf8eb80205390
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.0-cp311-abi3-macosx_14_0_arm64.whl

Download URL perspective_python-5.9.0-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
483aa0b2681771052a409646126318501642f087db2d6f4757b69614f7243b90
BLAKE2b-256 checksum
How to use checksums
affdc6101c22797af03ac0cf2b8b7b91deb8c1ef529fc1cab874e9702a42d823
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.0

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.0 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