Skip to main content

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

https://zenodo.org/badge/410108340.svg

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


Download files

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

Source Distribution

trame-deckgl-2.0.0rc3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

trame_deckgl-2.0.0rc3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file trame-deckgl-2.0.0rc3.tar.gz.

File metadata

  • Download URL: trame-deckgl-2.0.0rc3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.5

File hashes

Hashes for trame-deckgl-2.0.0rc3.tar.gz
Algorithm Hash digest
SHA256 05742ddc7f20c4c751be60500263484a5e347e81ae6976d0199bbf041338031b
MD5 1d8eb20571db6918c7560c2f64a558a8
BLAKE2b-256 2a7eff75d6137afd5f78d722c3e904f3ecd624e6e7a54345f2cb4b283a77513f

See more details on using hashes here.

Provenance

File details

Details for the file trame_deckgl-2.0.0rc3-py3-none-any.whl.

File metadata

File hashes

Hashes for trame_deckgl-2.0.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 8a60d0a3a0c89159cf265060b38a6542f55c507305b2321c911f60c49d9b33be
MD5 4bf5b94c6a2d2a19d904061d035f335e
BLAKE2b-256 4958fd3475f424690fbb5cba91c3bb04818e61f08ad555a064e13720af8c2d0d

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page