ipydeck
ipydeck is yet another Jupyter widget for deck.gl, built on anywidget.
Features
- Supports wider range of deck.gl layers
- Including additional
BitmapTileLayer
- Including additional
- Supports updating layers
- Supports marimo
Installation
# with pip
pip install ipydeck
# with uv
uv add 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
Alternatives
License
MIT
Metadata
Release files for ipydeck 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ipydeck-0.5.0.tar.gz | 1.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ipydeck-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.2 MB
Release files / ipydeck-0.5.0.tar.gz
| Download URL | ipydeck-0.5.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4491aef91d359466c60a75dc9f7c9a81b46ffb4125dbf169fab5dc88c434c8b1
|
|
BLAKE2b-256 checksum How to use checksums |
2eefa046b9e5bc752738bead857462830560cf51d0fdc914ee18532d3bbe0e7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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}
|
Release files / ipydeck-0.5.0-py3-none-any.whl
| Download URL | ipydeck-0.5.0-py3-none-any.whl |
|---|---|
| Size | 1.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b51fd60f2ae550e394781673581afce1ca830f2d9a7fca3b4762462b14fe09ef
|
|
BLAKE2b-256 checksum How to use checksums |
58d1d96ae98f26368d9077951458d862a87eed0a8eb38d35faa2e3593ac85ac6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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}
|