pygeobox 1.0.1__py3-none-any.whl → 1.0.3__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.
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pygeobox
3
- Version: 1.0.1
3
+ Version: 1.0.3
4
4
  Summary: SDK for Geobox's APIs
5
- Home-page: https://gitlab.com/geobox-sdks/pygeobox.git
6
- Author: Hamid Heydari
7
5
  Author-email: Hamid Heydari <heydari.h62@gmail.com>
8
6
  License: MIT
9
- Project-URL: Homepage, https://gitlab.com/geobox-sdks/pygeobox.git
7
+ Project-URL: Homepage, https://geobox.ir
8
+ Project-URL: Documentation, https://geobox.ir
10
9
  Requires-Python: >=3.7
11
10
  Description-Content-Type: text/markdown
12
11
  License-File: LICENSE
@@ -18,30 +17,14 @@ Requires-Dist: pyproj; extra == "geometry"
18
17
  Provides-Extra: tqdm
19
18
  Requires-Dist: tqdm; extra == "tqdm"
20
19
  Requires-Dist: ipywidgets; extra == "tqdm"
21
- Provides-Extra: test
22
- Requires-Dist: pytest; extra == "test"
23
- Requires-Dist: shapely; extra == "test"
24
- Requires-Dist: pyproj; extra == "test"
25
- Requires-Dist: pytest-cov; extra == "test"
26
- Provides-Extra: docs
27
- Requires-Dist: Sphinx; extra == "docs"
28
- Requires-Dist: sphinx-rtd-theme; extra == "docs"
29
- Requires-Dist: sphinx-copybutton; extra == "docs"
30
20
  Provides-Extra: all
31
21
  Requires-Dist: shapely; extra == "all"
32
22
  Requires-Dist: pyproj; extra == "all"
33
- Requires-Dist: pytest; extra == "all"
34
- Requires-Dist: pytest-cov; extra == "all"
35
23
  Requires-Dist: tqdm; extra == "all"
36
24
  Requires-Dist: ipywidgets; extra == "all"
37
- Requires-Dist: Sphinx; extra == "all"
38
- Requires-Dist: sphinx-rtd-theme; extra == "all"
39
- Requires-Dist: sphinx-copybutton; extra == "all"
40
- Dynamic: author
41
- Dynamic: home-page
42
25
  Dynamic: license-file
43
26
 
44
- [<img width="200" alt="Geobox logo" src="LOGO.png">](https://www.geobox.ir/)
27
+ [<img width="200" alt="Geobox logo" src="https://www.geobox.ir/wp-content/uploads/2022/05/geologo-slider.png">](https://www.geobox.ir/)
45
28
 
46
29
  # Geobox
47
30
  SDK for Geobox's APIs
@@ -49,7 +32,7 @@ SDK for Geobox's APIs
49
32
  Installation
50
33
  ============
51
34
 
52
- Clone the Repo, cd Into the Repo Folder, Create and Enable Virtualenv, Install Dependencies and Run Tests:
35
+ Enable Virtualenv, Install Dependencies and Run Tests:
53
36
 
54
37
  ```
55
38
  pip install pygeobox
@@ -60,26 +43,28 @@ Install with Geometry Dependencies
60
43
  ```
61
44
  pip install pygeobox[geometry]
62
45
  ```
46
+ ```
47
+ from pygeobox import GeoboxClient
63
48
 
64
- Install with Documentation Dependencies
49
+ client = GeoboxClient()
65
50
 
66
- ```
67
- pip install pygeobox[docs]
68
- cd geobox_docs
69
- make.bat html
51
+ layer = client.get_vectors(search='tehran')[0]
52
+ features = layer.get_feature(feature_id=1)
53
+ geom = feature.geometry
70
54
  ```
71
55
 
72
- Install with Test Dependencies
56
+ Install with Progress Bar Support
73
57
 
74
58
  ```
75
- pip install pygeobox[test]
76
- pytest -vv
59
+ pip install pygeobox[tqdm]
77
60
  ```
61
+ ```
62
+ from pygeobox import GeoboxClient
78
63
 
79
- and generate coverage report
64
+ client = GeoboxClient()
80
65
 
81
- ```
82
- pytest --cov=geobox --cov-report=html
66
+ task = client.geet_tasks()[0]
67
+ task.wait() # shows progress bar by default. use progress_bar=False to disable it.
83
68
  ```
84
69
 
85
70
  Install with All Available Dependencies
@@ -0,0 +1,37 @@
1
+ pygeobox/__init__.py,sha256=1dD73hJOg690-O0dIJMDGOkuN8djQ_hNywyQ1bV8LMQ,1958
2
+ pygeobox/api.py,sha256=39TnmFFN2ZS4z3ffT7sWRTG7QXFJ9f7AKhkte6ISyPY,103860
3
+ pygeobox/apikey.py,sha256=j_oSYrzhgBHpw92PSKFhlSII_uFY0fMj9VsLmoRK9E0,7641
4
+ pygeobox/attachment.py,sha256=5aOy_NiXc55_h1HQpLqrxyfKz3acy6FmNflKeegfNr8,11928
5
+ pygeobox/base.py,sha256=iqCormp3gBLMM5piIWmNGWSBZQ5pkjGpEP21jVcf_S8,12645
6
+ pygeobox/basemap.py,sha256=ajnbp-CbqY79DPbAbLUsbiTuvz2F6tmVimYlHCKgVZQ,4548
7
+ pygeobox/dashboard.py,sha256=mCrVe-gfvX4W7sczyPnbiKcngMJANg7oymxrf-lHHj0,12078
8
+ pygeobox/enums.py,sha256=oxp6U5Flwe3Btoa4OC3zODEp_kuDtR2ch4HLZjnR79U,6621
9
+ pygeobox/exception.py,sha256=1NsOwxd0GCPd3z-XcwWBLj78TL4zkK88E2lU_aTUKAU,1554
10
+ pygeobox/feature.py,sha256=QZytCFmsxcGCDzFstCgXM_17efwfqIKDYcrrF3a-T3g,18510
11
+ pygeobox/field.py,sha256=cqU7-1rBcw92R6jGhuFBkhqL7N51Fj9TF5p9bDEJpUM,10821
12
+ pygeobox/file.py,sha256=MVEse-R6T0MQ2OL4u4fFzxug2eKpOd9d15xYluR8usY,18594
13
+ pygeobox/log.py,sha256=ZTmVErhyAszf7M5YFxT5mqXNNDGPnRwXPeGLDS1G6PE,3582
14
+ pygeobox/map.py,sha256=MYwrg8kCu17oT6KJ1SSdUN01qsV1C-Ajt1yJKuP73W8,32165
15
+ pygeobox/model3d.py,sha256=C4wjY0yubOAB9ikfq7cDTsPyMMk7iBPydn8Y-uGzxqg,12395
16
+ pygeobox/mosaic.py,sha256=ryjybbi2oQx0XiC2gVzKSckEgvylrsZ8HaQB97T7zjA,23672
17
+ pygeobox/plan.py,sha256=SgXmN85H16uw5X2rGUidlMBjQNF3rEiKczD0gETFMwM,11453
18
+ pygeobox/query.py,sha256=0jjkX4lGIu44IpIJx7KJROQ1riI0L_HW0YJjUuS3ZTA,24877
19
+ pygeobox/raster.py,sha256=5mwyGjOKAsrbdQLGbp083tImIrqu03nm8V_u6qX_RGE,27251
20
+ pygeobox/route.py,sha256=k0pfdUfEEj04XLZ1JPk9RcNZaeOuvUjvMtW95TviBAo,2786
21
+ pygeobox/scene.py,sha256=dC2Si0I1UjdnjKt7MngcLOrtHsUIVMiYrKU_Im5o7yw,11686
22
+ pygeobox/settings.py,sha256=5yjBoWB66YjFm7b-GfQEC3IzTBEorX4QLfpavmRuN7U,5825
23
+ pygeobox/task.py,sha256=jHFOAsbVgzvP2IAimPCF4wMyAx1A_4GlB835_vt7sBE,13108
24
+ pygeobox/tile3d.py,sha256=1Yp0y29GSQpfyYYz8eWpcM5FaY24Dp94T5u5PBeQxA0,10766
25
+ pygeobox/tileset.py,sha256=lGYppikvo5QC7Hj9YIJ2ldG19IfzA4FmB-hphAqjVBA,22827
26
+ pygeobox/usage.py,sha256=_54xL-n-2Bg9wGpoOBKnh85WqdpMWEtqxRJVaFlVWe0,7908
27
+ pygeobox/user.py,sha256=fFonrOOLILroYv8j7qpNnOZIOUbcj9pF3hSL8Q4YMzI,14895
28
+ pygeobox/utils.py,sha256=hDLIQjsiIFVKft_M-3ED_5C-qsQsbOm-WzFSO2yopKw,1159
29
+ pygeobox/vectorlayer.py,sha256=v9BdNGyNgUNx9LxEF8VPZMiw49T8CRRdIZzHYQywzoE,50551
30
+ pygeobox/version.py,sha256=WXaY_Kg3fmVocD9YlwV4hUFvMKiYXjrV0Vv1hKFOf4Q,9622
31
+ pygeobox/view.py,sha256=8cr-mLHuMY523M3U6f6xSkqYmL2BZYI0gKL7GYyPiF8,38231
32
+ pygeobox/workflow.py,sha256=o_UU6xD9QeAlXLqy1D233BeMOcG2QL3xHonhtGYbgMc,11921
33
+ pygeobox-1.0.3.dist-info/licenses/LICENSE,sha256=DeqQzjqfs7CSt4n84VP0AtXDzjVky6l6km-wLJJrtlg,1084
34
+ pygeobox-1.0.3.dist-info/METADATA,sha256=n0zAxEzuweLG7C22BD1RM1UfiAUsv-EVf5Lc_qGx5V0,1874
35
+ pygeobox-1.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
36
+ pygeobox-1.0.3.dist-info/top_level.txt,sha256=PTulZXr2hazmVhfFpmUETw5duPG8DxHht4W3Ldjhxpo,9
37
+ pygeobox-1.0.3.dist-info/RECORD,,
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 Geobox
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Geobox
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,37 +0,0 @@
1
- pygeobox/__init__.py,sha256=iRkJAFIjMXiAaLTVXvZcW5HM7ttyipGdxFZ15NCM8qU,1895
2
- pygeobox/api.py,sha256=wQnzAvzIHbZH-0JSYsXCW0o6JekRUovnSYwyKL0IiMI,101343
3
- pygeobox/apikey.py,sha256=AoxmwSjqn35Gy_K-m2FARVehcEMFf4lREyuCypugc2Q,7409
4
- pygeobox/attachment.py,sha256=BWXl8GTgpQQfnbQ6bWmq_xTI6W84OC0pOy92nMNrjnM,11631
5
- pygeobox/base.py,sha256=KWX1QFPPu6Q-bxsPqenGeF-uSqS5qCFnE5keZQhdXao,12281
6
- pygeobox/basemap.py,sha256=fDWwkMf-F2NTE1tVLijoxQku55825b6gj8nk69TMOII,4386
7
- pygeobox/dashboard.py,sha256=MYyT3YJEGPCbTXHcYoZmn14rFOaut1J3idEA8bCdFgI,11762
8
- pygeobox/enums.py,sha256=sNBtHlpCs7jIqIsLrdNtyThVZ2Mbsx_Cj7oxI1U5G5w,6267
9
- pygeobox/exception.py,sha256=jvpnv0M2Ck1FpxHTL_aKYWxGvLnCQ3d9vOrMIktjw1U,1507
10
- pygeobox/feature.py,sha256=QZytCFmsxcGCDzFstCgXM_17efwfqIKDYcrrF3a-T3g,18510
11
- pygeobox/field.py,sha256=RpuOzQEeVbnXjNNmJj309BpIwhDlq6LRKAoVnJQscYU,10512
12
- pygeobox/file.py,sha256=MVEse-R6T0MQ2OL4u4fFzxug2eKpOd9d15xYluR8usY,18594
13
- pygeobox/log.py,sha256=ZTmVErhyAszf7M5YFxT5mqXNNDGPnRwXPeGLDS1G6PE,3582
14
- pygeobox/map.py,sha256=98P1gbB5U_eu71Hu6EQ0kL_ponbPAnoOCitjEa35q4I,31307
15
- pygeobox/model3d.py,sha256=qRYCx-q9LpGhdu5oz3av0uUoiDimuk4BvXXwMW5bo9Q,12061
16
- pygeobox/mosaic.py,sha256=RmMyvzt6C2Fd8a0nJX5gUOGJnO3MrCWgwmYfhJ9d_Jw,23025
17
- pygeobox/plan.py,sha256=_ZV9F6loG92uQZGJl_9T08Kg85g3hnODmpccSkTYVdw,11193
18
- pygeobox/query.py,sha256=1guO9O9DAEb8oj_iMiW3PhEDgMVMAN9ccEp19dnwAWE,24209
19
- pygeobox/raster.py,sha256=9Qnv9CQvgVxuNx1khDPQhHZEcopXofIPYBnRrx40FVk,26495
20
- pygeobox/route.py,sha256=cKZTTHBHM8woWbhHIpCvrRX_doJcTkGktouee0z7oG0,2723
21
- pygeobox/scene.py,sha256=Sz2tiyJk-bXYjktfcp1d2gGrW3gt2T4D1FAMoRHOCng,11369
22
- pygeobox/settings.py,sha256=rGRdM18Vo7xnjfZXPLRMbKeoVC_lZmzkNRPS0SQv05o,5660
23
- pygeobox/task.py,sha256=Zj05Z6atxxCtJN_R1Jjd7ESfxRQcUkgl1msi2Tf3RkM,12754
24
- pygeobox/tile3d.py,sha256=MHDoj2OIUf3VMQtq7ysrayh8njAPSgwgPJCm4ySEB7A,10472
25
- pygeobox/tileset.py,sha256=F_oEV0TERMc2seLcYNu-i_TF4MNSdXPUWcxBCSR8aFw,22242
26
- pygeobox/usage.py,sha256=_54xL-n-2Bg9wGpoOBKnh85WqdpMWEtqxRJVaFlVWe0,7908
27
- pygeobox/user.py,sha256=tmcxr58R6c14Bv5gAxGUM8xmreRBnKv2fu8DP2SWFuE,14472
28
- pygeobox/utils.py,sha256=jKhEs6CWTSlJZDS5qw9O2KgkLnTL9GKvFyKJpp8n1fA,1116
29
- pygeobox/vectorlayer.py,sha256=3iF90R3OU7Rjp6ywOd8ZbewaEeLbEbqsdC6NVxvuAvM,49402
30
- pygeobox/version.py,sha256=0GLPhxCeEb2bAkdpPJWtXPXc1KP6kQ_TOMwLAL0ldo0,9374
31
- pygeobox/view.py,sha256=3dQ6-a87PGYOUr3RYUmB19GVIbsXI4CO5JKTrotNmac,37372
32
- pygeobox/workflow.py,sha256=6hKnSw4G0_ZlgmUb0g3fxT-UVsFbiYpF2FbEO5fpQv0,11606
33
- pygeobox-1.0.1.dist-info/licenses/LICENSE,sha256=AvFB7W94sJYKLDhBxLRshL3upexCOG8HQY_1JibB96w,1063
34
- pygeobox-1.0.1.dist-info/METADATA,sha256=Ev6jjF6lfOOp6RlfG1RM2yK96O36dZ89xzn4QwyN7uU,2343
35
- pygeobox-1.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
36
- pygeobox-1.0.1.dist-info/top_level.txt,sha256=PTulZXr2hazmVhfFpmUETw5duPG8DxHht4W3Ldjhxpo,9
37
- pygeobox-1.0.1.dist-info/RECORD,,