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.0rc6.tar.gz (706.8 kB 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.0rc6-py3-none-any.whl (708.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: trame-deckgl-2.0.0rc6.tar.gz
  • Upload date:
  • Size: 706.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for trame-deckgl-2.0.0rc6.tar.gz
Algorithm Hash digest
SHA256 adf115e063df6131e202201cb6f116eb6bfa096ebe1148f10ca02499fcda8985
MD5 f3dc08e228585385c0bfa66c182311d0
BLAKE2b-256 0d43e1fccd27745e407e41a29ac7bff0621e1351c53c3103c212054095a7efc7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: trame_deckgl-2.0.0rc6-py3-none-any.whl
  • Upload date:
  • Size: 708.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for trame_deckgl-2.0.0rc6-py3-none-any.whl
Algorithm Hash digest
SHA256 22c930b87aaf60d3a8cfe0b87b9cacfc57b35a2232721539ba11b68d9ffe4531
MD5 480aba233b68b07606c5d4315f1d48a2
BLAKE2b-256 7eb22889f56eca194b5f77e766dc11ed3a1de7026963b43d40b6f950ef9684ed

See more details on using hashes here.

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