anemoi-utils 0.3.0__tar.gz → 0.3.1__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 anemoi-utils might be problematic. Click here for more details.
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/.github/workflows/python-publish.yml +1 -3
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/.pre-commit-config.yaml +18 -29
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/PKG-INFO +9 -4
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/pyproject.toml +12 -5
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/_version.py +2 -2
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi_utils.egg-info/PKG-INFO +9 -4
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi_utils.egg-info/SOURCES.txt +0 -1
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi_utils.egg-info/requires.txt +9 -3
- anemoi_utils-0.3.0/tests/requirements.txt +0 -1
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/.gitignore +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/.readthedocs.yaml +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/LICENSE +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/README.md +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/Makefile +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/_static/logo.png +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/_static/style.css +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/_templates/.gitkeep +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/conf.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/index.rst +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/installing.rst +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/modules/checkpoints.rst +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/modules/config.rst +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/modules/dates.rst +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/modules/grib.rst +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/modules/humanize.rst +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/modules/provenance.rst +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/modules/text.rst +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/docs/requirements.txt +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/setup.cfg +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/__init__.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/__main__.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/caching.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/checkpoints.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/cli.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/commands/__init__.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/commands/checkpoint.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/config.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/dates.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/grib.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/humanize.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/mars/__init__.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/mars/mars.yaml +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/provenance.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/text.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi/utils/timer.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi_utils.egg-info/dependency_links.txt +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi_utils.egg-info/entry_points.txt +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/src/anemoi_utils.egg-info/top_level.txt +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/tests/test_dates.py +0 -0
- {anemoi_utils-0.3.0 → anemoi_utils-0.3.1}/tests/test_utils.py +0 -0
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
repos:
|
|
2
|
-
|
|
3
2
|
# Empty notebookds
|
|
4
3
|
- repo: local
|
|
5
4
|
hooks:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
- id: clear-notebooks-output
|
|
6
|
+
name: clear-notebooks-output
|
|
7
|
+
files: tools/.*\.ipynb$
|
|
8
|
+
stages: [commit]
|
|
9
|
+
language: python
|
|
10
|
+
entry: jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace
|
|
11
|
+
additional_dependencies: [jupyter]
|
|
15
12
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
16
13
|
rev: v4.6.0
|
|
17
14
|
hooks:
|
|
@@ -23,13 +20,11 @@ repos:
|
|
|
23
20
|
- id: no-commit-to-branch # Prevent committing to main / master
|
|
24
21
|
- id: check-added-large-files # Check for large files added to git
|
|
25
22
|
- id: check-merge-conflict # Check for files that contain merge conflict
|
|
26
|
-
|
|
27
23
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
|
28
24
|
rev: 24.4.2
|
|
29
25
|
hooks:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
- id: black
|
|
27
|
+
args: [--line-length=120]
|
|
33
28
|
- repo: https://github.com/pycqa/isort
|
|
34
29
|
rev: 5.13.2
|
|
35
30
|
hooks:
|
|
@@ -38,44 +33,38 @@ repos:
|
|
|
38
33
|
- -l 120
|
|
39
34
|
- --force-single-line-imports
|
|
40
35
|
- --profile black
|
|
41
|
-
|
|
42
|
-
|
|
43
36
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
44
37
|
rev: v0.4.6
|
|
45
38
|
hooks:
|
|
46
39
|
- id: ruff
|
|
47
|
-
|
|
40
|
+
# Next line if for documenation cod snippets
|
|
41
|
+
exclude: '^(dev/.*|[A-Za-z].*_)\.py$'
|
|
48
42
|
args:
|
|
49
43
|
- --line-length=120
|
|
50
44
|
- --fix
|
|
51
45
|
- --exit-non-zero-on-fix
|
|
52
46
|
- --preview
|
|
53
|
-
|
|
54
47
|
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
|
55
48
|
rev: v0.9.1
|
|
56
49
|
hooks:
|
|
57
|
-
|
|
58
|
-
|
|
50
|
+
- id: sphinx-lint
|
|
59
51
|
# For now, we use it. But it does not support a lot of sphinx features
|
|
60
52
|
- repo: https://github.com/dzhu/rstfmt
|
|
61
53
|
rev: v0.0.14
|
|
62
54
|
hooks:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
55
|
+
- id: rstfmt
|
|
56
|
+
exclude: 'cli/.*' # Because we use argparse
|
|
66
57
|
- repo: https://github.com/b8raoult/pre-commit-docconvert
|
|
67
|
-
rev: "0.1.
|
|
58
|
+
rev: "0.1.5"
|
|
68
59
|
hooks:
|
|
69
60
|
- id: docconvert
|
|
70
61
|
args: ["numpy"]
|
|
71
|
-
|
|
72
62
|
- repo: https://github.com/b8raoult/optional-dependencies-all
|
|
73
|
-
rev: "0.0.
|
|
63
|
+
rev: "0.0.6"
|
|
74
64
|
hooks:
|
|
75
65
|
- id: optional-dependencies-all
|
|
76
|
-
args: ["--inplace", "--
|
|
77
|
-
|
|
66
|
+
args: ["--inplace", "--exclude-keys=dev,docs,tests", "--group=dev=all,docs,tests"]
|
|
78
67
|
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
79
68
|
rev: "2.1.3"
|
|
80
69
|
hooks:
|
|
81
|
-
|
|
70
|
+
- id: pyproject-fmt
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: anemoi-utils
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: A package to hold various functions to support training of ML models on ECMWF data.
|
|
5
5
|
Author-email: "European Centre for Medium-Range Weather Forecasts (ECMWF)" <software.support@ecmwf.int>
|
|
6
6
|
License: Apache License
|
|
@@ -229,15 +229,18 @@ Requires-Dist: tqdm
|
|
|
229
229
|
Provides-Extra: all
|
|
230
230
|
Requires-Dist: gitpython; extra == "all"
|
|
231
231
|
Requires-Dist: nvsmi; extra == "all"
|
|
232
|
-
Requires-Dist: pyyaml; extra == "all"
|
|
233
232
|
Requires-Dist: requests; extra == "all"
|
|
234
233
|
Requires-Dist: termcolor; extra == "all"
|
|
235
|
-
Requires-Dist: tomli; extra == "all"
|
|
236
|
-
Requires-Dist: tqdm; extra == "all"
|
|
237
234
|
Provides-Extra: dev
|
|
238
235
|
Requires-Dist: gitpython; extra == "dev"
|
|
236
|
+
Requires-Dist: nbsphinx; extra == "dev"
|
|
239
237
|
Requires-Dist: nvsmi; extra == "dev"
|
|
238
|
+
Requires-Dist: pandoc; extra == "dev"
|
|
239
|
+
Requires-Dist: pytest; extra == "dev"
|
|
240
240
|
Requires-Dist: requests; extra == "dev"
|
|
241
|
+
Requires-Dist: sphinx; extra == "dev"
|
|
242
|
+
Requires-Dist: sphinx-argparse; extra == "dev"
|
|
243
|
+
Requires-Dist: sphinx-rtd-theme; extra == "dev"
|
|
241
244
|
Requires-Dist: termcolor; extra == "dev"
|
|
242
245
|
Requires-Dist: tomli; extra == "dev"
|
|
243
246
|
Provides-Extra: docs
|
|
@@ -254,5 +257,7 @@ Requires-Dist: requests; extra == "grib"
|
|
|
254
257
|
Provides-Extra: provenance
|
|
255
258
|
Requires-Dist: gitpython; extra == "provenance"
|
|
256
259
|
Requires-Dist: nvsmi; extra == "provenance"
|
|
260
|
+
Provides-Extra: tests
|
|
261
|
+
Requires-Dist: pytest; extra == "tests"
|
|
257
262
|
Provides-Extra: text
|
|
258
263
|
Requires-Dist: termcolor; extra == "text"
|
|
@@ -57,18 +57,21 @@ dependencies = [
|
|
|
57
57
|
optional-dependencies.all = [
|
|
58
58
|
"gitpython",
|
|
59
59
|
"nvsmi",
|
|
60
|
-
"pyyaml",
|
|
61
60
|
"requests",
|
|
62
61
|
"termcolor",
|
|
63
|
-
"tomli",
|
|
64
|
-
"tqdm",
|
|
65
62
|
]
|
|
66
63
|
optional-dependencies.dev = [
|
|
67
64
|
"gitpython",
|
|
65
|
+
"nbsphinx",
|
|
68
66
|
"nvsmi",
|
|
67
|
+
"pandoc",
|
|
68
|
+
"pytest",
|
|
69
69
|
"requests",
|
|
70
|
+
"sphinx",
|
|
71
|
+
"sphinx-argparse",
|
|
72
|
+
"sphinx-rtd-theme",
|
|
70
73
|
"termcolor",
|
|
71
|
-
"tomli",
|
|
74
|
+
"tomli",
|
|
72
75
|
]
|
|
73
76
|
# Loaded by read-the-docs
|
|
74
77
|
# `pip install .[docs]`
|
|
@@ -80,7 +83,7 @@ optional-dependencies.docs = [
|
|
|
80
83
|
"sphinx-argparse",
|
|
81
84
|
"sphinx-rtd-theme",
|
|
82
85
|
"termcolor",
|
|
83
|
-
"tomli",
|
|
86
|
+
"tomli",
|
|
84
87
|
]
|
|
85
88
|
optional-dependencies.grib = [
|
|
86
89
|
"requests",
|
|
@@ -90,6 +93,10 @@ optional-dependencies.provenance = [
|
|
|
90
93
|
"gitpython",
|
|
91
94
|
"nvsmi",
|
|
92
95
|
]
|
|
96
|
+
optional-dependencies.tests = [
|
|
97
|
+
"pytest",
|
|
98
|
+
]
|
|
99
|
+
|
|
93
100
|
optional-dependencies.text = [
|
|
94
101
|
"termcolor",
|
|
95
102
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: anemoi-utils
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: A package to hold various functions to support training of ML models on ECMWF data.
|
|
5
5
|
Author-email: "European Centre for Medium-Range Weather Forecasts (ECMWF)" <software.support@ecmwf.int>
|
|
6
6
|
License: Apache License
|
|
@@ -229,15 +229,18 @@ Requires-Dist: tqdm
|
|
|
229
229
|
Provides-Extra: all
|
|
230
230
|
Requires-Dist: gitpython; extra == "all"
|
|
231
231
|
Requires-Dist: nvsmi; extra == "all"
|
|
232
|
-
Requires-Dist: pyyaml; extra == "all"
|
|
233
232
|
Requires-Dist: requests; extra == "all"
|
|
234
233
|
Requires-Dist: termcolor; extra == "all"
|
|
235
|
-
Requires-Dist: tomli; extra == "all"
|
|
236
|
-
Requires-Dist: tqdm; extra == "all"
|
|
237
234
|
Provides-Extra: dev
|
|
238
235
|
Requires-Dist: gitpython; extra == "dev"
|
|
236
|
+
Requires-Dist: nbsphinx; extra == "dev"
|
|
239
237
|
Requires-Dist: nvsmi; extra == "dev"
|
|
238
|
+
Requires-Dist: pandoc; extra == "dev"
|
|
239
|
+
Requires-Dist: pytest; extra == "dev"
|
|
240
240
|
Requires-Dist: requests; extra == "dev"
|
|
241
|
+
Requires-Dist: sphinx; extra == "dev"
|
|
242
|
+
Requires-Dist: sphinx-argparse; extra == "dev"
|
|
243
|
+
Requires-Dist: sphinx-rtd-theme; extra == "dev"
|
|
241
244
|
Requires-Dist: termcolor; extra == "dev"
|
|
242
245
|
Requires-Dist: tomli; extra == "dev"
|
|
243
246
|
Provides-Extra: docs
|
|
@@ -254,5 +257,7 @@ Requires-Dist: requests; extra == "grib"
|
|
|
254
257
|
Provides-Extra: provenance
|
|
255
258
|
Requires-Dist: gitpython; extra == "provenance"
|
|
256
259
|
Requires-Dist: nvsmi; extra == "provenance"
|
|
260
|
+
Provides-Extra: tests
|
|
261
|
+
Requires-Dist: pytest; extra == "tests"
|
|
257
262
|
Provides-Extra: text
|
|
258
263
|
Requires-Dist: termcolor; extra == "text"
|
|
@@ -5,16 +5,19 @@ tqdm
|
|
|
5
5
|
[all]
|
|
6
6
|
gitpython
|
|
7
7
|
nvsmi
|
|
8
|
-
pyyaml
|
|
9
8
|
requests
|
|
10
9
|
termcolor
|
|
11
|
-
tomli
|
|
12
|
-
tqdm
|
|
13
10
|
|
|
14
11
|
[dev]
|
|
15
12
|
gitpython
|
|
13
|
+
nbsphinx
|
|
16
14
|
nvsmi
|
|
15
|
+
pandoc
|
|
16
|
+
pytest
|
|
17
17
|
requests
|
|
18
|
+
sphinx
|
|
19
|
+
sphinx-argparse
|
|
20
|
+
sphinx-rtd-theme
|
|
18
21
|
termcolor
|
|
19
22
|
tomli
|
|
20
23
|
|
|
@@ -35,5 +38,8 @@ requests
|
|
|
35
38
|
gitpython
|
|
36
39
|
nvsmi
|
|
37
40
|
|
|
41
|
+
[tests]
|
|
42
|
+
pytest
|
|
43
|
+
|
|
38
44
|
[text]
|
|
39
45
|
termcolor
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# Empty for now
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|