Skip to main content

Deck.gl widget for trame

Project description

Test and Release

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)

JavaScript dependency

This Python package bundle the @deck.gl/jupyter-widget@8.4.7 JavaScript library. If you would like us to upgrade it, please reach out.

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.4.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

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

trame_deckgl-2.0.4-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

Details for the file trame_deckgl-2.0.4.tar.gz.

File metadata

  • Download URL: trame_deckgl-2.0.4.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trame_deckgl-2.0.4.tar.gz
Algorithm Hash digest
SHA256 ead87e21943f1db0d30f3b074e57bd4b49e081e79c8d2ca0ea80b80a50e6fefd
MD5 b8a62cca6cf9fd01442a703f49cf7a87
BLAKE2b-256 e5ade806ff1b2b1cd3bb8a18396ea29e24daf49bc8f40d63643fd4bbba317db7

See more details on using hashes here.

Provenance

The following attestation bundles were made for trame_deckgl-2.0.4.tar.gz:

Publisher: test_and_release.yml on Kitware/trame-deckgl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file trame_deckgl-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: trame_deckgl-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trame_deckgl-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1a7cb457d895a3c2ae23843aa1b40703ef41adb62e0a8dc00d7570a62fdb8248
MD5 52a7ec64b4829486bc92f9c6a4ebfdd1
BLAKE2b-256 4864b50f5824e661eaa3cca1ddb4778b682713432b008cecfa22370e461d3720

See more details on using hashes here.

Provenance

The following attestation bundles were made for trame_deckgl-2.0.4-py3-none-any.whl:

Publisher: test_and_release.yml on Kitware/trame-deckgl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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