Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.8.1b0

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.8.1b0
File Size Uploaded
pydeck-0.8.1b0.tar.gz 3.0 MB Details

Built distribution (wheel)

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

Total release size: 7.8 MB

Release files / pydeck-0.8.1b0.tar.gz

Download URL pydeck-0.8.1b0.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
9e0a67890ab061b8c6080e06f8c780934c00355a7114291c884f055f3fc0dc25
BLAKE2b-256 checksum
How to use checksums
2e74b5f3cfc27405077f4ed0c8eb3783b1c85336c08d82d7c995107b6e1f410f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release files / pydeck-0.8.1b0-py2.py3-none-any.whl

Download URL pydeck-0.8.1b0-py2.py3-none-any.whl
Size 4.8 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c89b3dd76f9991140a33b886b336c762105e9c9def8e842e891bc72dbce8a4ce
BLAKE2b-256 checksum
How to use checksums
104b2fc80540e2d3903452245bb657c7f758ec7342420507d1e4091b0161856e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.10

Release history Release notifications | RSS feed

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

This release

0.8.1b0 This release

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

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