terrakio-core 0.4.8__tar.gz → 0.4.93__tar.gz

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.

Potentially problematic release.


This version of terrakio-core might be problematic. Click here for more details.

Files changed (33) hide show
  1. terrakio_core-0.4.93/.gitignore +166 -0
  2. terrakio_core-0.4.93/PKG-INFO +31 -0
  3. terrakio_core-0.4.93/pyproject.toml +33 -0
  4. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/__init__.py +1 -1
  5. terrakio_core-0.4.93/terrakio_core/accessors.py +949 -0
  6. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/async_client.py +6 -2
  7. terrakio_core-0.4.93/terrakio_core/convenience_functions/create_dataset_file.py +132 -0
  8. terrakio_core-0.4.93/terrakio_core/convenience_functions/geoquries.py +102 -0
  9. terrakio_core-0.4.8/terrakio_core/convenience_functions/convenience_functions.py → terrakio_core-0.4.93/terrakio_core/convenience_functions/zonal_stats.py +166 -263
  10. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/endpoints/mass_stats.py +42 -147
  11. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/sync_client.py +0 -340
  12. terrakio_core-0.4.8/PKG-INFO +0 -47
  13. terrakio_core-0.4.8/pyproject.toml +0 -52
  14. terrakio_core-0.4.8/setup.cfg +0 -4
  15. terrakio_core-0.4.8/terrakio_core/accessors.py +0 -477
  16. terrakio_core-0.4.8/terrakio_core.egg-info/PKG-INFO +0 -47
  17. terrakio_core-0.4.8/terrakio_core.egg-info/SOURCES.txt +0 -25
  18. terrakio_core-0.4.8/terrakio_core.egg-info/dependency_links.txt +0 -1
  19. terrakio_core-0.4.8/terrakio_core.egg-info/requires.txt +0 -21
  20. terrakio_core-0.4.8/terrakio_core.egg-info/top_level.txt +0 -1
  21. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/README.md +0 -0
  22. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/client.py +0 -0
  23. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/config.py +0 -0
  24. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/endpoints/auth.py +0 -0
  25. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/endpoints/dataset_management.py +0 -0
  26. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/endpoints/group_management.py +0 -0
  27. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/endpoints/model_management.py +0 -0
  28. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/endpoints/space_management.py +0 -0
  29. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/endpoints/user_management.py +0 -0
  30. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/exceptions.py +0 -0
  31. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/helper/bounded_taskgroup.py +0 -0
  32. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/helper/decorators.py +0 -0
  33. {terrakio_core-0.4.8 → terrakio_core-0.4.93}/terrakio_core/helper/tiles.py +0 -0
@@ -0,0 +1,166 @@
1
+ # Python bytecode cache directories
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # Distribution / packaging
7
+ dist/
8
+ build/
9
+ *.egg-info/
10
+ *.egg
11
+ eggs/
12
+ lib/
13
+ lib64/
14
+ parts/
15
+ sdist/
16
+ var/
17
+ wheels/
18
+ *.dist-info/
19
+
20
+ # UV package manager
21
+ .python-version
22
+ .python-versions
23
+
24
+ # Virtual environments
25
+ venv/
26
+ env/
27
+ ENV/
28
+ .venv/
29
+ .env/
30
+ api_venv/
31
+ *.venv
32
+ virtualenv/
33
+ pipenv/
34
+
35
+ # PyInstaller
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .nox/
47
+ .coverage
48
+ .coverage.*
49
+ .cache
50
+ nosetests.xml
51
+ coverage.xml
52
+ *.cover
53
+ *.py,cover
54
+ .hypothesis/
55
+ .pytest_cache/
56
+
57
+ # Jupyter Notebook
58
+ .ipynb_checkpoints
59
+
60
+ # IPython
61
+ profile_default/
62
+ ipython_config.py
63
+
64
+ # pyenv
65
+ .python-version
66
+
67
+ # pipenv
68
+ Pipfile.lock
69
+
70
+ # poetry
71
+ poetry.lock
72
+
73
+ # Celery
74
+ celerybeat-schedule
75
+ celerybeat.pid
76
+
77
+ # SageMath parsed files
78
+ *.sage.py
79
+
80
+ # Environments
81
+ .env
82
+ .env.local
83
+ .env.development.local
84
+ .env.test.local
85
+ .env.production.local
86
+
87
+ # mypy
88
+ .mypy_cache/
89
+ .dmypy.json
90
+ dmypy.json
91
+
92
+ # Pyre type checker
93
+ .pyre/
94
+
95
+ # pytype static type analyzer
96
+ .pytype/
97
+
98
+ # IDE specific files
99
+ .idea/
100
+ .vscode/
101
+ *.swp
102
+ *.swo
103
+ *~
104
+
105
+ # OS specific files
106
+ .DS_Store
107
+ .DS_Store?
108
+ Thumbs.db
109
+ ehthumbs.db
110
+ Desktop.ini
111
+
112
+ # macOS specific files
113
+ .AppleDouble
114
+ .LSOverride
115
+ Icon
116
+ ._*
117
+ .DocumentRevisions-V100
118
+ .fseventsd
119
+ .Spotlight-V100
120
+ .TemporaryItems
121
+ .Trashes
122
+ .VolumeIcon.icns
123
+ .com.apple.timemachine.donotpresent
124
+
125
+ # Windows specific files
126
+ Thumbs.db
127
+ ehthumbs.db
128
+ Desktop.ini
129
+ $RECYCLE.BIN/
130
+ *.cab
131
+ *.msi
132
+ *.msix
133
+ *.msm
134
+ *.msp
135
+ *.lnk
136
+
137
+ # Linux specific files
138
+ *~
139
+ .fuse_hidden*
140
+ .directory
141
+ .Trash-*
142
+ .nfs*
143
+
144
+ # Temporary files
145
+ *.tmp
146
+ *.temp
147
+ *.log
148
+ *.bak
149
+ *.swp
150
+ *.swo
151
+
152
+ # Local configuration files
153
+ .local/
154
+ local_settings.py
155
+ instance/
156
+ .webassets-cache
157
+
158
+ # Database files
159
+ *.db
160
+ *.sqlite3
161
+ *.sqlite
162
+
163
+ # Secrets and sensitive files
164
+ .secrets/
165
+ secrets.json
166
+ .env.secrets
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: terrakio-core
3
+ Version: 0.4.93
4
+ Summary: Core package for the terrakio-python-api
5
+ Requires-Python: >=3.11
6
+ Requires-Dist: aiofiles>=24.1.0
7
+ Requires-Dist: aiohttp>=3.12.15
8
+ Requires-Dist: geopandas>=1.1.1
9
+ Requires-Dist: h5netcdf>=1.6.3
10
+ Requires-Dist: h5py>=3.14.0
11
+ Requires-Dist: netcdf4>=1.7.2
12
+ Requires-Dist: onnxruntime>=1.22.1
13
+ Requires-Dist: psutil>=7.0.0
14
+ Requires-Dist: scipy>=1.16.1
15
+ Requires-Dist: shapely>=2.1.1
16
+ Requires-Dist: xarray>=2025.7.1
17
+ Provides-Extra: ml
18
+ Requires-Dist: scikit-learn>=1.7.1; extra == 'ml'
19
+ Requires-Dist: skl2onnx>=1.19.1; extra == 'ml'
20
+ Requires-Dist: torch>=2.7.1; extra == 'ml'
21
+ Description-Content-Type: text/markdown
22
+
23
+ # Terrakio Core
24
+
25
+ Core components for Terrakio API clients. This package provides the foundational classes and utilities used by both the regular and admin API clients.
26
+
27
+ This package is typically not used directly but is a dependency for:
28
+ - `terrakio-api`: Regular user client
29
+ - `terrakio-admin-api`: Administrative client
30
+
31
+ For documentation and usage examples, see the [main repository](https://github.com/HaizeaAnalytics/terrakio-python-api).
@@ -0,0 +1,33 @@
1
+ [project]
2
+ name = "terrakio-core"
3
+ version = "0.4.93"
4
+ description = "Core package for the terrakio-python-api"
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ dependencies = [
8
+ "aiofiles>=24.1.0",
9
+ "aiohttp>=3.12.15",
10
+ "geopandas>=1.1.1",
11
+ "h5netcdf>=1.6.3",
12
+ "h5py>=3.14.0",
13
+ "netcdf4>=1.7.2",
14
+ "onnxruntime>=1.22.1",
15
+ "psutil>=7.0.0",
16
+ "scipy>=1.16.1",
17
+ "shapely>=2.1.1",
18
+ "xarray>=2025.7.1",
19
+ ]
20
+
21
+ [project.optional-dependencies]
22
+ ml = [
23
+ "scikit-learn>=1.7.1",
24
+ "skl2onnx>=1.19.1",
25
+ "torch>=2.7.1",
26
+ ]
27
+
28
+ [build-system]
29
+ requires = ["hatchling"]
30
+ build-backend = "hatchling.build"
31
+
32
+ [tool.hatch.build.targets.wheel]
33
+ packages = ["terrakio_core"]
@@ -5,7 +5,7 @@ Terrakio Core
5
5
  Core components for Terrakio API clients.
6
6
  """
7
7
 
8
- __version__ = "0.4.8"
8
+ __version__ = "0.4.93"
9
9
 
10
10
  from .async_client import AsyncClient
11
11
  from .sync_client import SyncClient as Client