Deck.gl widget for trame
Project description
trame-deckgl extend trame widgets with components that can interface with PyDeck while being powered by Deck.gl. Deck integration in trame allow you to create rich visualization by leveraging PyDeck (Apache License).
Installing
trame-deckgl can be installed with pip:
pip install --upgrade trame-deckgl
Usage
The Trame Tutorial is the place to go to learn how to use the library and start building your own application.
The API Reference documentation provides API-level documentation.
License
trame-deckgl is made available under the MIT License. For more details, see LICENSE This license has been chosen to match the one use by Deck.gl which is use within trame-deckgl.
Community
Trame | Discussions | Issues | RoadMap | Contact Us
Enjoying trame?
Share your experience with a testimonial or with a brand approval.
Example: PyDeck
The Deck component relies on the server for generating the map definition.
import pydeck as pdk
from trame.widgets import deckgl
deck = pdk.Deck(
map_provider="mapbox",
map_style="mapbox://styles/mapbox/light-v9",
initial_view_state={
"latitude": 37.76,
"longitude": -122.4,
"zoom": 11,
"pitch": 50,
},
layers=selected_layers,
)
widget = deckgl.Deck(mapboxApiKey=..., deck=deck)
widget.update(deck2)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file trame-deckgl-2.0.3.tar.gz
.
File metadata
- Download URL: trame-deckgl-2.0.3.tar.gz
- Upload date:
- Size: 706.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/43.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.2.1 tqdm/4.66.2 importlib-metadata/7.0.2 keyring/24.3.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eeb3aa4e3f62c1380c7a8afde3f0530db72e9b145895c3e23ac557709949194 |
|
MD5 | 539bdcc324159bee2fcc4e1b1955bf0b |
|
BLAKE2b-256 | 033e4374367947bf59923f58d9d432b8003470b22fe58ddea595c489b4ddcbc6 |
File details
Details for the file trame_deckgl-2.0.3-py3-none-any.whl
.
File metadata
- Download URL: trame_deckgl-2.0.3-py3-none-any.whl
- Upload date:
- Size: 708.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.10.0 readme-renderer/43.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.2.1 tqdm/4.66.2 importlib-metadata/7.0.2 keyring/24.3.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56bc537e6e06861c82b949ce70ef6957762dd502caf9d33ff53ff9d0198fbc79 |
|
MD5 | 05a32b527b8495e1ead1a48eb2d5fc83 |
|
BLAKE2b-256 | 2b3bbcc599b76a4354703d9868075c341aaf5249f6b6d585243f9f3d40326b11 |