cesiumjs-anywidget 0.6.0__py3-none-any.whl → 0.8.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cesiumjs_anywidget/__init__.py +19 -2
- cesiumjs_anywidget/geoid.py +298 -0
- cesiumjs_anywidget/index.js +1415 -490
- cesiumjs_anywidget/logger.py +73 -0
- cesiumjs_anywidget/styles.css +24 -1
- cesiumjs_anywidget/widget.py +552 -42
- {cesiumjs_anywidget-0.6.0.dist-info → cesiumjs_anywidget-0.8.0.dist-info}/METADATA +35 -11
- cesiumjs_anywidget-0.8.0.dist-info/RECORD +10 -0
- cesiumjs_anywidget-0.6.0.dist-info/RECORD +0 -8
- {cesiumjs_anywidget-0.6.0.dist-info → cesiumjs_anywidget-0.8.0.dist-info}/WHEEL +0 -0
- {cesiumjs_anywidget-0.6.0.dist-info → cesiumjs_anywidget-0.8.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cesiumjs-anywidget
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.8.0
|
|
4
4
|
Summary: A Jupyter widget for CesiumJS 3D globe visualization using anywidget
|
|
5
5
|
Project-URL: Homepage, https://github.com/Alex-PLACET/cesiumjs_anywidget
|
|
6
6
|
Project-URL: Repository, https://github.com/Alex-PLACET/cesiumjs_anywidget
|
|
@@ -213,19 +213,13 @@ Classifier: Intended Audience :: Developers
|
|
|
213
213
|
Classifier: Intended Audience :: Science/Research
|
|
214
214
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
215
215
|
Classifier: Programming Language :: Python :: 3
|
|
216
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
217
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
218
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
219
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
220
216
|
Classifier: Programming Language :: Python :: 3.12
|
|
221
|
-
Requires-Python: >=3.
|
|
217
|
+
Requires-Python: >=3.12
|
|
222
218
|
Requires-Dist: anywidget>=0.9.0
|
|
219
|
+
Requires-Dist: numpy>=2.4.0
|
|
220
|
+
Requires-Dist: pygeodesy>=25.11.5
|
|
221
|
+
Requires-Dist: scipy>=1.17.0
|
|
223
222
|
Requires-Dist: traitlets>=5.0.0
|
|
224
|
-
Provides-Extra: dev
|
|
225
|
-
Requires-Dist: jupyterlab>=4.0.0; extra == 'dev'
|
|
226
|
-
Requires-Dist: notebook>=7.0.0; extra == 'dev'
|
|
227
|
-
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
|
|
228
|
-
Requires-Dist: pytest>=7.0.0; extra == 'dev'
|
|
229
223
|
Description-Content-Type: text/markdown
|
|
230
224
|
|
|
231
225
|
# CesiumJS Anywidget
|
|
@@ -239,6 +233,7 @@ A Jupyter widget for interactive 3D globe visualization using [CesiumJS](https:/
|
|
|
239
233
|
- 🔄 **Bidirectional Sync**: Camera state syncs between Python and JavaScript
|
|
240
234
|
- 🗺️ **GeoJSON Support**: Load and visualize GeoJSON data
|
|
241
235
|
- 🏔️ **Terrain & Imagery**: World terrain and satellite imagery
|
|
236
|
+
- 🏙️ **Photorealistic 3D Tiles**: Google's photorealistic global 3D cities and landscapes
|
|
242
237
|
- 📏 **Measurement Tools**: Built-in distance, multi-point, and height measurement tools
|
|
243
238
|
- ⚙️ **Highly Configurable**: Customize viewer options and UI elements
|
|
244
239
|
|
|
@@ -393,6 +388,35 @@ widget = CesiumWidget(
|
|
|
393
388
|
)
|
|
394
389
|
```
|
|
395
390
|
|
|
391
|
+
### Google Photorealistic 3D Tiles
|
|
392
|
+
|
|
393
|
+
Visualize cities and landscapes in stunning photorealistic detail using Google's Photorealistic 3D Tiles:
|
|
394
|
+
|
|
395
|
+
```python
|
|
396
|
+
# Enable photorealistic tiles (recommended method)
|
|
397
|
+
widget = CesiumWidget()
|
|
398
|
+
widget.enable_photorealistic_3d_tiles(True)
|
|
399
|
+
|
|
400
|
+
# Fly to a city to see the tiles
|
|
401
|
+
widget.fly_to(latitude=40.7128, longitude=-74.0060, altitude=2000, pitch=-45)
|
|
402
|
+
|
|
403
|
+
# Or configure manually during creation
|
|
404
|
+
widget = CesiumWidget(
|
|
405
|
+
enable_photorealistic_tiles=True,
|
|
406
|
+
show_globe=False, # Disable base globe (recommended)
|
|
407
|
+
enable_terrain=False, # Disable terrain (tiles include terrain)
|
|
408
|
+
height="700px"
|
|
409
|
+
)
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
**Features:**
|
|
413
|
+
- Global coverage of major cities and populated areas
|
|
414
|
+
- Photorealistic imagery with 3D buildings and structures
|
|
415
|
+
- Automatic terrain integration
|
|
416
|
+
- Works with all camera controls and measurement tools
|
|
417
|
+
|
|
418
|
+
See [PHOTOREALISTIC_TILES.md](PHOTOREALISTIC_TILES.md) for detailed documentation and [examples/photorealistic_tiles_demo.ipynb](examples/photorealistic_tiles_demo.ipynb) for interactive examples.
|
|
419
|
+
|
|
396
420
|
## Development
|
|
397
421
|
|
|
398
422
|
Enable hot module replacement for live updates during development:
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
cesiumjs_anywidget/__init__.py,sha256=2HDc9vodXRcFenpEYK9lZrDpWrrf3JddbqSKQYJ60jE,508
|
|
2
|
+
cesiumjs_anywidget/geoid.py,sha256=UJQM2p5OPtLcmbE9FCEYSiOg_nBSaSQ3JyvYNkIYHAw,9475
|
|
3
|
+
cesiumjs_anywidget/logger.py,sha256=W8yxB8ni1modVH7VdSiT0IbIZFGTr1Y-FPQDfpHA5ao,2037
|
|
4
|
+
cesiumjs_anywidget/styles.css,sha256=1N2nya5nsd5Lhq9FuEoMJ1_CVXj9XghdMmX-KC5xwQI,1278
|
|
5
|
+
cesiumjs_anywidget/widget.py,sha256=8L6CFM0eynUcpI8l8lUvS9d0xM3YEHImziMzdkhqIZE,59471
|
|
6
|
+
cesiumjs_anywidget/index.js,sha256=dGG7AtlBXbx8SLkrjpSjRfolRx2Fo-_N4rgDHBR-F-g,113957
|
|
7
|
+
cesiumjs_anywidget-0.8.0.dist-info/METADATA,sha256=IzTaPprNida4dLL38TZyifsybrDFj_KJoUYzanca7as,25606
|
|
8
|
+
cesiumjs_anywidget-0.8.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
9
|
+
cesiumjs_anywidget-0.8.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
10
|
+
cesiumjs_anywidget-0.8.0.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
cesiumjs_anywidget/__init__.py,sha256=9WVcAtreHgk6C5clPG6sZy4m7s5AIbGU1DJ4oDpx3Is,165
|
|
2
|
-
cesiumjs_anywidget/styles.css,sha256=kt2i9fJuM6gaR7WkoQ2VGGoHzhqy6RpJVK2xwMKPV70,689
|
|
3
|
-
cesiumjs_anywidget/widget.py,sha256=Yh_pluGI23vu-RvB1oHiZtq7ySAxPlYzIHViDFvS85k,41258
|
|
4
|
-
cesiumjs_anywidget/index.js,sha256=22bGV7SzM8b69-kFEWoXhh94TQaUAM9cJmEV5Ykmmbc,78269
|
|
5
|
-
cesiumjs_anywidget-0.6.0.dist-info/METADATA,sha256=D2p5Jx2HOWr-B9krknzNtGWhV53BKMjojhTCYti6SMg,24780
|
|
6
|
-
cesiumjs_anywidget-0.6.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
7
|
-
cesiumjs_anywidget-0.6.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
8
|
-
cesiumjs_anywidget-0.6.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|