Skip to main content

python wrapper for cesium.js

Project description

Lightweight Python wrapper for Cesium.js. Mainly intended to be used with Jupyter Notebook.

Installation

Use pip.

pip install cesiumpy

Example

Running 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
https://raw.githubusercontent.com/sinhrks/cesiumpy/master/doc/source/_static/main.png

Documentation

Dependencies

  • geopy, six and enum34 (Python 3.3 or earlier)

  • (Optional) scipy and shapely

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

cesiumpy-0.1.1.tar.gz (49.1 kB view hashes)

Uploaded Source

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