jupytergis-core 0.1.7__py3-none-any.whl → 0.2.1__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.
Files changed (84) hide show
  1. jupytergis_core/_version.py +1 -1
  2. jupytergis_core/jgis_ydoc.py +10 -1
  3. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/package.json +4 -4
  4. jupytergis_core-0.2.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/206.96bf5064280104ca1dfc.js +1 -0
  5. jupytergis_core-0.2.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/522.26c37ca2966d1fe3683c.js +8 -0
  6. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/701.9d04cf6155fcf7ee1121.js.LICENSE.txt → jupytergis_core-0.2.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/522.26c37ca2966d1fe3683c.js.LICENSE.txt +13 -2
  7. jupytergis_core-0.2.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/557.8b7e6570b121d16e9b75.js +1 -0
  8. jupytergis_core-0.2.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.fb5db0cf2ba651643784.js +8 -0
  9. jupytergis_core-0.2.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.dd0c17bfa03200081503.js +1 -0
  10. jupytergis_core-0.2.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.6217d6628c8bdbd81c6e.js +1 -0
  11. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/third-party-licenses.json +32 -80
  12. {jupytergis_core-0.1.7.dist-info → jupytergis_core-0.2.1.dist-info}/METADATA +3 -2
  13. jupytergis_core-0.2.1.dist-info/RECORD +72 -0
  14. {jupytergis_core-0.1.7.dist-info → jupytergis_core-0.2.1.dist-info}/WHEEL +1 -1
  15. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/134.37bf595d62ab300eb6f7.js +0 -1
  16. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/197.34d9096e78e2f4b7138c.js +0 -1
  17. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/226.280aa14a2e4c0654c374.js +0 -1
  18. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/36.b2f6adaa2d1def5c163f.js +0 -1
  19. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/366.33cb40029b4f4da3d3ad.js +0 -1
  20. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/509.233ac263af6747c26484.js +0 -1
  21. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/557.af53141561158309d445.js +0 -1
  22. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/701.9d04cf6155fcf7ee1121.js +0 -8
  23. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/733.b43ed14b1ef61a811cc0.js +0 -1
  24. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/777.b41e81dd6b0af001baab.js +0 -2
  25. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.959deb5eafbb3ab489c6.js +0 -7
  26. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/991.f0524d50b5e938656070.js +0 -1
  27. jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/remoteEntry.95356109bff94a55da74.js +0 -1
  28. jupytergis_core-0.1.7.dist-info/RECORD +0 -79
  29. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/etc/jupyter/jupyter_server_config.d/jupytergis_core.json +0 -0
  30. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/02ff7d503bbd90b21fc4.png +0 -0
  31. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/062a9554f6b4caac9713.png +0 -0
  32. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/064f37cecb8130ad66e8.png +0 -0
  33. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/08da2741746ddab81d04.png +0 -0
  34. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/0c6a0352b82839119f95.png +0 -0
  35. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/13c485bb93f5567f02fd.png +0 -0
  36. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1474207a6b3ca1001e78.png +0 -0
  37. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/154.0d16fbe1d1182d138b2c.js +0 -0
  38. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/1d440270da19a2f22fee.png +0 -0
  39. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2218dfba22fc2b08e948.png +0 -0
  40. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/234.2f0fc49f516ad354aa18.js +0 -0
  41. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.aea9e291ba3dd16790fb.js +0 -0
  42. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/27.aea9e291ba3dd16790fb.js.LICENSE.txt +0 -0
  43. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2ab791b60c4058e664f8.png +0 -0
  44. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2b24b6a745c11511f055.png +0 -0
  45. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2d676bc0a01c2cd2fccb.png +0 -0
  46. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/2f02309ea499725612ea.png +0 -0
  47. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/32c7a73662cceb5bb1d7.png +0 -0
  48. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/350eec4ce9ae4bc10bca.wasm +0 -0
  49. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/363ca7c5f78deb6fd033.png +0 -0
  50. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3ae0bf244442de7efc35.png +0 -0
  51. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/3d48be10ffea86eb15de.png +0 -0
  52. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/407.fa2f7a0dc4d3371a5e2c.js +0 -0
  53. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/415edc3fa381260cf31e.png +0 -0
  54. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/42cbddf5e883673bc4e2.png +0 -0
  55. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/432.19e693d578a221132366.js +0 -0
  56. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/460.a2074380632031c05e8d.js +0 -0
  57. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/472.08add5249d72d563ba32.js +0 -0
  58. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/527ef171d5df15dc7da5.png +0 -0
  59. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/542.3038c6cef679f15b8d9a.js +0 -0
  60. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/552.9f37fbb73d9f60b6c3f3.js +0 -0
  61. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/555.7d0c1d2ee9e49a619cb9.js +0 -0
  62. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5bb02252f243f8c7494f.png +0 -0
  63. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5d181edc3c046e1454a1.png +0 -0
  64. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/5f32ad48aefe00e51312.png +0 -0
  65. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/618.86523276f857e0a3362e.js +0 -0
  66. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/6e4f6b4d0dfca3bd4450.png +0 -0
  67. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/71d436fb44627b6bfbd7.png +0 -0
  68. /jupytergis_core-0.1.7.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/777.b41e81dd6b0af001baab.js.LICENSE.txt → /jupytergis_core-0.2.1.data/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/803.fb5db0cf2ba651643784.js.LICENSE.txt +0 -0
  69. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/8814e17f6b110e8f3e42.png +0 -0
  70. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/88b2ae0d29edb684eae5.png +0 -0
  71. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/971a42d174dd17b9451a.png +0 -0
  72. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a86d626c9ed2e222d190.png +0 -0
  73. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/a9e286b0c0264a9fc737.png +0 -0
  74. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ab309078b494f850430a.png +0 -0
  75. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/b36717fbb06f21d53b01.png +0 -0
  76. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/ba4b6e82fe5a816c40a5.png +0 -0
  77. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/bb2b310570da7a3587e9.png +0 -0
  78. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/d83457b1b925c1718f6d.png +0 -0
  79. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/e473e1e9f20af114bbb4.data +0 -0
  80. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/f2617180c6907263a7ff.png +0 -0
  81. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/fe99a6dbf5a71d308989.png +0 -0
  82. {jupytergis_core-0.1.7.data → jupytergis_core-0.2.1.data}/data/share/jupyter/labextensions/@jupytergis/jupytergis-core/static/style.js +0 -0
  83. {jupytergis_core-0.1.7.dist-info → jupytergis_core-0.2.1.dist-info}/entry_points.txt +0 -0
  84. {jupytergis_core-0.1.7.dist-info → jupytergis_core-0.2.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,4 +1,4 @@
1
1
  # This file is auto-generated by Hatchling. As such, do not:
2
2
  # - modify
3
3
  # - track in version control e.g. be sure to add to .gitignore
4
- __version__ = VERSION = '0.1.7'
4
+ __version__ = VERSION = '0.2.1'
@@ -13,6 +13,7 @@ class YJGIS(YBaseDoc):
13
13
  self._ydoc["sources"] = self._ysources = Map()
14
14
  self._ydoc["options"] = self._yoptions = Map()
15
15
  self._ydoc["layerTree"] = self._ylayerTree = Array()
16
+ self._ydoc["metadata"] = self._ymetadata = Map()
16
17
 
17
18
  def version(self) -> str:
18
19
  return "0.1.0"
@@ -26,13 +27,15 @@ class YJGIS(YBaseDoc):
26
27
  layers = self._ylayers.to_py()
27
28
  sources = self._ysources.to_py()
28
29
  options = self._yoptions.to_py()
30
+ meta = self._ymetadata.to_py()
29
31
  layers_tree = self._ylayerTree.to_py()
30
32
  return json.dumps(
31
33
  dict(
32
34
  layers=layers,
33
35
  sources=sources,
34
36
  options=options,
35
- layerTree=layers_tree
37
+ layerTree=layers_tree,
38
+ metadata=meta,
36
39
  ),
37
40
  sort_keys=True,
38
41
  indent=2,
@@ -59,6 +62,9 @@ class YJGIS(YBaseDoc):
59
62
  self._ylayerTree.clear()
60
63
  self._ylayerTree.extend(valueDict.get("layerTree", []))
61
64
 
65
+ self._ymetadata.clear()
66
+ self._ymetadata.update(valueDict.get("metadata", {}))
67
+
62
68
  def observe(self, callback: Callable[[str, Any], None]):
63
69
  self.unobserve()
64
70
  self._subscriptions[self._ystate] = self._ystate.observe(
@@ -76,3 +82,6 @@ class YJGIS(YBaseDoc):
76
82
  self._subscriptions[self._ylayerTree] = self._ylayerTree.observe(
77
83
  partial(callback, "layerTree")
78
84
  )
85
+ self._subscriptions[self._ymetadata] = self._ymetadata.observe_deep(
86
+ partial(callback, "meta")
87
+ )
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupytergis/jupytergis-core",
3
- "version": "0.1.7",
3
+ "version": "0.2.1",
4
4
  "description": "JupyterGIS core extension",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -53,8 +53,8 @@
53
53
  },
54
54
  "dependencies": {
55
55
  "@jupyter/collaborative-drive": "^3.0.0",
56
- "@jupytergis/base": "^0.1.7",
57
- "@jupytergis/schema": "^0.1.7",
56
+ "@jupytergis/base": "^0.2.1",
57
+ "@jupytergis/schema": "^0.2.1",
58
58
  "@jupyterlab/application": "^4.3.0",
59
59
  "@jupyterlab/apputils": "^4.3.0",
60
60
  "@jupyterlab/docregistry": "^4.3.0",
@@ -118,7 +118,7 @@
118
118
  }
119
119
  },
120
120
  "_build": {
121
- "load": "static/remoteEntry.95356109bff94a55da74.js",
121
+ "load": "static/remoteEntry.6217d6628c8bdbd81c6e.js",
122
122
  "extension": "./extension",
123
123
  "style": "./style"
124
124
  }