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)
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.
Metadata
Release files for trame-deckgl 2.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trame_deckgl-2.0.4.tar.gz | 2.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trame_deckgl-2.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 MB
Release files / trame_deckgl-2.0.4.tar.gz
| Download URL | trame_deckgl-2.0.4.tar.gz |
|---|---|
| Size | 2.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ead87e21943f1db0d30f3b074e57bd4b49e081e79c8d2ca0ea80b80a50e6fefd
|
|
BLAKE2b-256 checksum How to use checksums |
e5ade806ff1b2b1cd3bb8a18396ea29e24daf49bc8f40d63643fd4bbba317db7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logRelease files / trame_deckgl-2.0.4-py3-none-any.whl
| Download URL | trame_deckgl-2.0.4-py3-none-any.whl |
|---|---|
| Size | 6.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a7cb457d895a3c2ae23843aa1b40703ef41adb62e0a8dc00d7570a62fdb8248
|
|
BLAKE2b-256 checksum How to use checksums |
4864b50f5824e661eaa3cca1ddb4778b682713432b008cecfa22370e461d3720
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency log