cesiumjs-anywidget 0.6.0__py3-none-any.whl → 0.7.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 +23 -2
- cesiumjs_anywidget/exif_utils.py +281 -0
- cesiumjs_anywidget/geoid.py +299 -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.7.0.dist-info}/METADATA +45 -6
- cesiumjs_anywidget-0.7.0.dist-info/RECORD +11 -0
- cesiumjs_anywidget-0.6.0.dist-info/RECORD +0 -8
- {cesiumjs_anywidget-0.6.0.dist-info → cesiumjs_anywidget-0.7.0.dist-info}/WHEEL +0 -0
- {cesiumjs_anywidget-0.6.0.dist-info → cesiumjs_anywidget-0.7.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.7.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,28 @@ 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: exifread>=3.5.1
|
|
220
|
+
Requires-Dist: ipycanvas>=0.14.3
|
|
221
|
+
Requires-Dist: jupyterlab>=4.3.8
|
|
222
|
+
Requires-Dist: matplotlib>=3.7.5
|
|
223
|
+
Requires-Dist: numpy>=1.24.4
|
|
224
|
+
Requires-Dist: opencv-python>=4.11.0.86
|
|
225
|
+
Requires-Dist: pillow>=10.4.0
|
|
226
|
+
Requires-Dist: pygeodesy>=25.11.5
|
|
227
|
+
Requires-Dist: scipy>=1.10.1
|
|
223
228
|
Requires-Dist: traitlets>=5.0.0
|
|
224
229
|
Provides-Extra: dev
|
|
230
|
+
Requires-Dist: huggingface-hub>=1.3.4; extra == 'dev'
|
|
225
231
|
Requires-Dist: jupyterlab>=4.0.0; extra == 'dev'
|
|
226
232
|
Requires-Dist: notebook>=7.0.0; extra == 'dev'
|
|
233
|
+
Requires-Dist: piexif>=1.1.3; extra == 'dev'
|
|
234
|
+
Requires-Dist: pyarrow>=23.0.0; extra == 'dev'
|
|
227
235
|
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
|
|
228
236
|
Requires-Dist: pytest>=7.0.0; extra == 'dev'
|
|
237
|
+
Requires-Dist: sidecar>=0.8.0; extra == 'dev'
|
|
229
238
|
Description-Content-Type: text/markdown
|
|
230
239
|
|
|
231
240
|
# CesiumJS Anywidget
|
|
@@ -239,6 +248,7 @@ A Jupyter widget for interactive 3D globe visualization using [CesiumJS](https:/
|
|
|
239
248
|
- 🔄 **Bidirectional Sync**: Camera state syncs between Python and JavaScript
|
|
240
249
|
- 🗺️ **GeoJSON Support**: Load and visualize GeoJSON data
|
|
241
250
|
- 🏔️ **Terrain & Imagery**: World terrain and satellite imagery
|
|
251
|
+
- 🏙️ **Photorealistic 3D Tiles**: Google's photorealistic global 3D cities and landscapes
|
|
242
252
|
- 📏 **Measurement Tools**: Built-in distance, multi-point, and height measurement tools
|
|
243
253
|
- ⚙️ **Highly Configurable**: Customize viewer options and UI elements
|
|
244
254
|
|
|
@@ -393,6 +403,35 @@ widget = CesiumWidget(
|
|
|
393
403
|
)
|
|
394
404
|
```
|
|
395
405
|
|
|
406
|
+
### Google Photorealistic 3D Tiles
|
|
407
|
+
|
|
408
|
+
Visualize cities and landscapes in stunning photorealistic detail using Google's Photorealistic 3D Tiles:
|
|
409
|
+
|
|
410
|
+
```python
|
|
411
|
+
# Enable photorealistic tiles (recommended method)
|
|
412
|
+
widget = CesiumWidget()
|
|
413
|
+
widget.enable_photorealistic_3d_tiles(True)
|
|
414
|
+
|
|
415
|
+
# Fly to a city to see the tiles
|
|
416
|
+
widget.fly_to(latitude=40.7128, longitude=-74.0060, altitude=2000, pitch=-45)
|
|
417
|
+
|
|
418
|
+
# Or configure manually during creation
|
|
419
|
+
widget = CesiumWidget(
|
|
420
|
+
enable_photorealistic_tiles=True,
|
|
421
|
+
show_globe=False, # Disable base globe (recommended)
|
|
422
|
+
enable_terrain=False, # Disable terrain (tiles include terrain)
|
|
423
|
+
height="700px"
|
|
424
|
+
)
|
|
425
|
+
```
|
|
426
|
+
|
|
427
|
+
**Features:**
|
|
428
|
+
- Global coverage of major cities and populated areas
|
|
429
|
+
- Photorealistic imagery with 3D buildings and structures
|
|
430
|
+
- Automatic terrain integration
|
|
431
|
+
- Works with all camera controls and measurement tools
|
|
432
|
+
|
|
433
|
+
See [PHOTOREALISTIC_TILES.md](PHOTOREALISTIC_TILES.md) for detailed documentation and [examples/photorealistic_tiles_demo.ipynb](examples/photorealistic_tiles_demo.ipynb) for interactive examples.
|
|
434
|
+
|
|
396
435
|
## Development
|
|
397
436
|
|
|
398
437
|
Enable hot module replacement for live updates during development:
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
cesiumjs_anywidget/__init__.py,sha256=mdoSqnikLbSjLK8SYDpey40DHKzgsNUAQoIeLR2PMBQ,665
|
|
2
|
+
cesiumjs_anywidget/exif_utils.py,sha256=Avk_JZAPk8EjGGluLK9tc-V8GE52rR0aDYgM113p2Z4,8439
|
|
3
|
+
cesiumjs_anywidget/geoid.py,sha256=aS-GtzQ0f8XOm-FHbCpDuIQ5PN4QpMYYS4Wf8q1gb-I,9485
|
|
4
|
+
cesiumjs_anywidget/logger.py,sha256=W8yxB8ni1modVH7VdSiT0IbIZFGTr1Y-FPQDfpHA5ao,2037
|
|
5
|
+
cesiumjs_anywidget/styles.css,sha256=1N2nya5nsd5Lhq9FuEoMJ1_CVXj9XghdMmX-KC5xwQI,1278
|
|
6
|
+
cesiumjs_anywidget/widget.py,sha256=8L6CFM0eynUcpI8l8lUvS9d0xM3YEHImziMzdkhqIZE,59471
|
|
7
|
+
cesiumjs_anywidget/index.js,sha256=dGG7AtlBXbx8SLkrjpSjRfolRx2Fo-_N4rgDHBR-F-g,113957
|
|
8
|
+
cesiumjs_anywidget-0.7.0.dist-info/METADATA,sha256=iN4D86KZ5Q6S_rbKmiAdgymyNItlzdULdAu2IXYPFSs,26209
|
|
9
|
+
cesiumjs_anywidget-0.7.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
10
|
+
cesiumjs_anywidget-0.7.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
11
|
+
cesiumjs_anywidget-0.7.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
|