Skip to main content

ipydeck

PyPI CI

ipydeck is yet another Jupyter widget for deck.gl, built on anywidget.

Features

  • Supports wider range of deck.gl layers
    • Including additional BitmapTileLayer
  • Supports updating layers

Installation

pip install ipydeck

Usage

From https://deck.gl/playground:

from ipydeck import Deck, Layer, ViewState

layers = [
    Layer(
        type="GeoJsonLayer",
        data="https://raw.githubusercontent.com/visgl/deck.gl-data/master/examples/geojson/vancouver-blocks.json",
        opacity=0.8,
        stroked=False,
        filled=True,
        extruded=True,
        wireframe=True,
        elevation_scale=0.1,
        get_elevation="@@=properties.valuePerSqm",
        get_fill_color=[199, 233, 180],
        get_line_color=[255, 255, 255],
    )
]

view_state = ViewState(
    latitude=49.254, longitude=-123.13, zoom=11, max_zoom=16, pitch=45, bearing=0
)

deck = Deck(
    layers=layers,
    initial_view_state=view_state,
    map_style="light",
)

deck

screenshot

Alternatives

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipydeck-0.4.9.tar.gz (836.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipydeck-0.4.9-py3-none-any.whl (844.8 kB view details)

Uploaded Python 3

File details

Details for the file ipydeck-0.4.9.tar.gz.

File metadata

  • Download URL: ipydeck-0.4.9.tar.gz
  • Upload date:
  • Size: 836.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ipydeck-0.4.9.tar.gz
Algorithm Hash digest
SHA256 5ab0876dd619ad1808cdf768e5316d6ec83aa1a8f392f30509a3d1614965af33
MD5 861a6e2450f06b41db4246efba46bab5
BLAKE2b-256 281c0abc58864167c29e75edb69b72b105f6e7b0ecfcb55a41b89f118344966c

See more details on using hashes here.

File details

Details for the file ipydeck-0.4.9-py3-none-any.whl.

File metadata

  • Download URL: ipydeck-0.4.9-py3-none-any.whl
  • Upload date:
  • Size: 844.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ipydeck-0.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4dbae3f65471f6cdeb7a5b0030eda9583f72bbb42847887ceeb08ff6e7ca54e7
MD5 8537931ef0604d01691a1997849d9028
BLAKE2b-256 75da774c370e02d8d76585815daf6f5ddf12d9ffcab228efa70dd5b541350be7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.9 This release

2 files

0.4.8

2 files

0.4.7

2 files

0.4.6

2 files

0.4.5

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page