Skip to main content

Binder Documentation Status Anaconda-Server Badge Downloads

pydeck: Large-scale interactive data visualization in Python

demo

The pydeck library is a set of Python bindings for making spatial visualizations with deck.gl, optimized for a Jupyter environment. To get started, see the documentation.

To install pydeck, see the instructions here.

For interactive demos, click the binder logo below:

Binder

Sample code

The following code renders a visualization similar to the one above in a Jupyter notebook:

import pydeck as pdk

# 2014 locations of car accidents in the UK
UK_ACCIDENTS_DATA = ('https://raw.githubusercontent.com/uber-common/'
                     'deck.gl-data/master/examples/3d-heatmap/heatmap-data.csv')

# Define a layer to display on a map
layer = pdk.Layer(
    'HexagonLayer',
    UK_ACCIDENTS_DATA,
    get_position=['lng', 'lat'],
    auto_highlight=True,
    elevation_scale=50,
    pickable=True,
    elevation_range=[0, 3000],
    extruded=True,                 
    coverage=1)

# Set the viewport location
view_state = pdk.ViewState(
    longitude=-1.415,
    latitude=52.2323,
    zoom=6,
    min_zoom=5,
    max_zoom=15,
    pitch=40.5,
    bearing=-27.36)

# Render
r = pdk.Deck(layers=[layer], initial_view_state=view_state)
r.to_html('demo.html')

If you're developing outside a Jupyter environment, you can run:

r.to_html('demo.html', notebook_display=False)

See the gallery for more examples.

Issues and contributing

If you encounter an issue, file it in the deck.gl issues page and include your browser's console output, if any.

If you'd like to contribute to pydeck, please follow the deck.gl contribution guidelines and the pydeck development installation instructions.

Metadata

Release files for pydeck 0.9.3

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

Source distribution (sdist)

Source distribution for pydeck 0.9.3
File Size Uploaded Provenance Actions
pydeck-0.9.3.tar.gz 5.9 MB Without provenance Details for pydeck-0.9.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pydeck 0.9.3
File Interpreter ABI Platform Actions
pydeck-0.9.3-py2.py3-none-any.whl Python 3, Python 2 none any Details for pydeck-0.9.3-py2.py3-none-any.whl

Total release size: 17.3 MB

Release files / pydeck-0.9.3.tar.gz

Download URL pydeck-0.9.3.tar.gz
Size 5.9 MB
Tags Source
SHA-256 checksum
How to use checksums
695775cbfe51f5fdffbd9735ba469987fdc5efc96bc40a0ee4808170509c78b2
BLAKE2b-256 checksum
How to use checksums
f4c9f71032fca47ecc09d30904d9a610234b07139f89eabc2f054b141edcc30f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / pydeck-0.9.3-py2.py3-none-any.whl

Download URL pydeck-0.9.3-py2.py3-none-any.whl
Size 11.4 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d8a47c11c81fb12d51b1feb42427ff4f0e13cb599e48931021b2cba98b6849a6
BLAKE2b-256 checksum
How to use checksums
6f343998411437aff304a9ed4fa37a6fe1ef3132bcd2b5eac59851b80c86123c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for pydeck 0.9.3

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

0.9.3 This release

2 release files No provenance

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