Lightweight Python wrapper for Cesium.js. Mainly intended to be used with Jupyter Notebook.
Use pip:
pip install cesiumpyRunning following script on Jupyter Notebook will show an embedded interactive 3D map:
import cesiumpy
v = cesiumpy.Viewer()
v.entities.add(
cesiumpy.Box(
dimensions=(40e4, 30e4, 50e4),
material=cesiumpy.color.RED,
position=(-120, 40, 0),
)
v- World countries: https://github.com/mledoze/countries (ODbL)
geopy,traitlets,sixandenum34(Python 3.3 or earlier)- (Optional)
scipyandshapely
)