python wrapper of cesium.js for 3D geospatial visualization
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
Documentation
Bundled Datasets
World countries: https://github.com/mledoze/countries (ODbL)
Dependencies
geopy, traitlets, 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.3.2.tar.gz
(4.6 MB
view details)
File details
Details for the file cesiumpy-0.3.2.tar.gz
.
File metadata
- Download URL: cesiumpy-0.3.2.tar.gz
- Upload date:
- Size: 4.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cd7b12704f8ae213d577d3f31ffab43560cda4b109942043bc1ec14e5059771 |
|
MD5 | 5596489d52bae3d0246308c906252323 |
|
BLAKE2b-256 | 4bb7c9c3fd6dcc0868c1a7f393785ad6419872f15f35842d64b31937836b3a23 |