groundhog-hpc 0.7.2__py3-none-any.whl → 0.7.4__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.
- groundhog_hpc/__init__.py +17 -0
- groundhog_hpc/app/main.py +16 -0
- {groundhog_hpc-0.7.2.dist-info → groundhog_hpc-0.7.4.dist-info}/METADATA +6 -2
- {groundhog_hpc-0.7.2.dist-info → groundhog_hpc-0.7.4.dist-info}/RECORD +7 -7
- {groundhog_hpc-0.7.2.dist-info → groundhog_hpc-0.7.4.dist-info}/WHEEL +0 -0
- {groundhog_hpc-0.7.2.dist-info → groundhog_hpc-0.7.4.dist-info}/entry_points.txt +0 -0
- {groundhog_hpc-0.7.2.dist-info → groundhog_hpc-0.7.4.dist-info}/licenses/LICENSE +0 -0
groundhog_hpc/__init__.py
CHANGED
|
@@ -27,6 +27,23 @@ Example:
|
|
|
27
27
|
Run with: `hog run script.py main`
|
|
28
28
|
"""
|
|
29
29
|
|
|
30
|
+
import sys
|
|
31
|
+
|
|
32
|
+
# Check Python version before any other imports that might fail
|
|
33
|
+
if sys.version_info >= (3, 14):
|
|
34
|
+
raise RuntimeError(
|
|
35
|
+
"Groundhog temporarily does not support Python 3.14 or later due to an "
|
|
36
|
+
"upstream incompatibility in the Globus Compute SDK. This will be resolved "
|
|
37
|
+
"in a future release.\n\n"
|
|
38
|
+
"If you installed with uv tool install:\n"
|
|
39
|
+
" uv tool uninstall groundhog-hpc\n"
|
|
40
|
+
" uv tool install --python 3.13 groundhog-hpc\n\n"
|
|
41
|
+
"If you installed with pipx:\n"
|
|
42
|
+
" pipx uninstall groundhog-hpc\n"
|
|
43
|
+
" pipx install --python python3.13 groundhog-hpc\n\n"
|
|
44
|
+
"Or use a virtual environment with Python 3.13 or earlier."
|
|
45
|
+
)
|
|
46
|
+
|
|
30
47
|
import importlib.metadata
|
|
31
48
|
import os
|
|
32
49
|
|
groundhog_hpc/app/main.py
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
This module implements the `hog` CLI tool entry point and command registration.
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
+
import sys
|
|
7
|
+
|
|
8
|
+
# Check Python version before any other imports that might fail
|
|
9
|
+
if sys.version_info >= (3, 14):
|
|
10
|
+
print(
|
|
11
|
+
"Error: Groundhog temporarily does not support Python 3.14 or later due to an\n"
|
|
12
|
+
"upstream incompatibility in the Globus Compute SDK. This will be resolved in a\n"
|
|
13
|
+
"future release.\n\n"
|
|
14
|
+
"Please reinstall with Python 3.13 or earlier:\n"
|
|
15
|
+
" uv tool install --python 3.13 groundhog-hpc\n\n"
|
|
16
|
+
"Or if using pipx:\n"
|
|
17
|
+
" pipx install --python python3.13 groundhog-hpc",
|
|
18
|
+
file=sys.stderr,
|
|
19
|
+
)
|
|
20
|
+
sys.exit(1)
|
|
21
|
+
|
|
6
22
|
import os
|
|
7
23
|
from typing import Optional
|
|
8
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: groundhog-hpc
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.4
|
|
4
4
|
Summary: Iterative HPC function development. As many 'first tries' as you need.
|
|
5
5
|
Author-email: Owen Price Skelly <OwenPriceSkelly@uchicago.edu>
|
|
6
6
|
License: MIT
|
|
@@ -8,7 +8,7 @@ License-File: LICENSE
|
|
|
8
8
|
Keywords: FaaS,Function Serving,Globus Compute,HPC
|
|
9
9
|
Classifier: Intended Audience :: Science/Research
|
|
10
10
|
Classifier: Topic :: Scientific/Engineering
|
|
11
|
-
Requires-Python:
|
|
11
|
+
Requires-Python: <3.14,>=3.10
|
|
12
12
|
Requires-Dist: globus-compute-sdk>=3.12.0
|
|
13
13
|
Requires-Dist: jinja2>=3.0.0
|
|
14
14
|
Requires-Dist: packaging>=24.0
|
|
@@ -23,6 +23,10 @@ Description-Content-Type: text/markdown
|
|
|
23
23
|
|
|
24
24
|
Home of `hog` ☀️🦫🕳️
|
|
25
25
|
|
|
26
|
+
<p align="center">
|
|
27
|
+
<img src="./docs/groundhog_logo.png" alt="Groundhog Logo" width="300">
|
|
28
|
+
</p>
|
|
29
|
+
|
|
26
30
|
## Quickstart
|
|
27
31
|
|
|
28
32
|
Groundhog makes it easy to run, tweak, and re-run python functions on HPC clusters via [Globus Compute](https://www.globus.org/compute) using simple decorators.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
groundhog_hpc/__init__.py,sha256=
|
|
1
|
+
groundhog_hpc/__init__.py,sha256=510AWxKLY1XzPb0zM540O0gBNo-YUdbuqQd0WPsruFY,2224
|
|
2
2
|
groundhog_hpc/compute.py,sha256=wQnjfYR4FSo2z2BJLVr99OIXz_AjRbiRy4-6qW0W2uE,4819
|
|
3
3
|
groundhog_hpc/console.py,sha256=lipheM-NECkcqjK-ehzyD_zG-FzyJQrNT__4tGNFMr0,6941
|
|
4
4
|
groundhog_hpc/decorators.py,sha256=njmmv45stY8ou6mK8tlF6XmRqrfqOaQJ55bPVqGYq1Y,5204
|
|
@@ -14,7 +14,7 @@ groundhog_hpc/utils.py,sha256=ig7mEgmhf-JJ_LQq81yUtZzxstk27Ns2I2P-wC3QS5g,7611
|
|
|
14
14
|
groundhog_hpc/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
groundhog_hpc/app/add.py,sha256=zZW0eWnwRWJwpXL8V_Saaeb6X2D3G_y5ws19mDk0v3g,4534
|
|
16
16
|
groundhog_hpc/app/init.py,sha256=7F6qbWJe6cEoAxLdWumqPDNrHHbqFHzSLpvHOXhQdMQ,5005
|
|
17
|
-
groundhog_hpc/app/main.py,sha256=
|
|
17
|
+
groundhog_hpc/app/main.py,sha256=D7lgp3kgrGUyspd5Zuj0rFJrR1AgiqLPRDkpy4hcgBY,1895
|
|
18
18
|
groundhog_hpc/app/remove.py,sha256=0BbUqGTy4Xj5PDegr6oAirdZc01GuYxv4CH4hYMRn-4,3872
|
|
19
19
|
groundhog_hpc/app/run.py,sha256=xH7d4JzTtPqMDeWrXiIlyP-1aLRCfEkTjFZGyJqmQ4o,6141
|
|
20
20
|
groundhog_hpc/app/utils.py,sha256=3XfES3Vp4l9m2JEmFeADdFXxTj5g1QMakbvaP3XLQP4,5434
|
|
@@ -27,8 +27,8 @@ groundhog_hpc/configuration/resolver.py,sha256=VoYZ0S2X7BF6wOXz9NaxS71vqANYRsVi5
|
|
|
27
27
|
groundhog_hpc/templates/groundhog_run.py.jinja,sha256=-MwRi_k9LswYhi7pvnPwR-SzwBXvrugLofBc_-Yteuk,633
|
|
28
28
|
groundhog_hpc/templates/init_script.py.jinja,sha256=O3-DkastzzpFl8XKsfI3EX3eM0fAsDqalPMCZHeULSE,1017
|
|
29
29
|
groundhog_hpc/templates/shell_command.sh.jinja,sha256=d5j36_CDPZ_MEsI4KS9BuLu1FFu_rByWmQyVIm10tKQ,2009
|
|
30
|
-
groundhog_hpc-0.7.
|
|
31
|
-
groundhog_hpc-0.7.
|
|
32
|
-
groundhog_hpc-0.7.
|
|
33
|
-
groundhog_hpc-0.7.
|
|
34
|
-
groundhog_hpc-0.7.
|
|
30
|
+
groundhog_hpc-0.7.4.dist-info/METADATA,sha256=84QOiNz54gHeZX8RPuptLuy0wVQE19gt1zygQv3eUSY,2338
|
|
31
|
+
groundhog_hpc-0.7.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
32
|
+
groundhog_hpc-0.7.4.dist-info/entry_points.txt,sha256=Dk9LTPJ-3vxm-sGsAaddEawPpIDzhM-ZVuyHKjzUCd0,51
|
|
33
|
+
groundhog_hpc-0.7.4.dist-info/licenses/LICENSE,sha256=4WiSzz3h9qYXwc4sFWWFzc45ws_0HLZJmbT6_69IBjs,1078
|
|
34
|
+
groundhog_hpc-0.7.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|