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
Documentation
Dependencies
geopy
(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.0.tar.gz
(47.4 kB
view details)
File details
Details for the file cesiumpy-0.1.0.tar.gz
.
File metadata
- Download URL: cesiumpy-0.1.0.tar.gz
- Upload date:
- Size: 47.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3de346b62b874a2c5411d8ccd18f36c4ff0ba4028fec735ba8ddb35d1b74f593 |
|
MD5 | c2b93a03117be418ee3b483b843b8bf1 |
|
BLAKE2b-256 | 36a4304c8bb0c243baf170f5348efa5f9111548b3896daa0cb28485b49acabbd |