anemoi-utils 0.3.12__tar.gz → 0.3.13__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.12 → anemoi_utils-0.3.13}/.readthedocs.yaml +0 -1
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/PKG-INFO +3 -5
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/pyproject.toml +4 -6
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/_version.py +2 -2
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/humanize.py +1 -1
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/s3.py +1 -1
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/timer.py +2 -2
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi_utils.egg-info/PKG-INFO +3 -5
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi_utils.egg-info/SOURCES.txt +0 -1
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi_utils.egg-info/requires.txt +2 -4
- anemoi_utils-0.3.12/docs/requirements.txt +0 -10
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/.github/workflows/python-publish.yml +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/.gitignore +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/.pre-commit-config.yaml +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/LICENSE +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/README.md +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/Makefile +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/_static/logo.png +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/_static/style.css +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/_templates/.gitkeep +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/conf.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/index.rst +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/installing.rst +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/modules/checkpoints.rst +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/modules/config.rst +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/modules/dates.rst +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/modules/grib.rst +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/modules/humanize.rst +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/modules/provenance.rst +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/modules/s3.rst +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/docs/modules/text.rst +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/setup.cfg +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/__init__.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/__main__.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/caching.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/checkpoints.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/cli.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/commands/__init__.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/commands/config.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/config.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/dates.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/grib.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/hindcasts.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/mars/__init__.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/mars/mars.yaml +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/provenance.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi/utils/text.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi_utils.egg-info/dependency_links.txt +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi_utils.egg-info/entry_points.txt +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/src/anemoi_utils.egg-info/top_level.txt +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/tests/test_dates.py +0 -0
- {anemoi_utils-0.3.12 → anemoi_utils-0.3.13}/tests/test_utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: anemoi-utils
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.13
|
|
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
|
|
@@ -239,19 +239,17 @@ Requires-Dist: pandoc; extra == "dev"
|
|
|
239
239
|
Requires-Dist: pytest; extra == "dev"
|
|
240
240
|
Requires-Dist: requests; extra == "dev"
|
|
241
241
|
Requires-Dist: sphinx; extra == "dev"
|
|
242
|
-
Requires-Dist: sphinx-argparse; extra == "dev"
|
|
242
|
+
Requires-Dist: sphinx-argparse<0.5; extra == "dev"
|
|
243
243
|
Requires-Dist: sphinx-rtd-theme; extra == "dev"
|
|
244
244
|
Requires-Dist: termcolor; extra == "dev"
|
|
245
|
-
Requires-Dist: tomli; extra == "dev"
|
|
246
245
|
Provides-Extra: docs
|
|
247
246
|
Requires-Dist: nbsphinx; extra == "docs"
|
|
248
247
|
Requires-Dist: pandoc; extra == "docs"
|
|
249
248
|
Requires-Dist: requests; extra == "docs"
|
|
250
249
|
Requires-Dist: sphinx; extra == "docs"
|
|
251
|
-
Requires-Dist: sphinx-argparse; extra == "docs"
|
|
250
|
+
Requires-Dist: sphinx-argparse<0.5; extra == "docs"
|
|
252
251
|
Requires-Dist: sphinx-rtd-theme; extra == "docs"
|
|
253
252
|
Requires-Dist: termcolor; extra == "docs"
|
|
254
|
-
Requires-Dist: tomli; extra == "docs"
|
|
255
253
|
Provides-Extra: grib
|
|
256
254
|
Requires-Dist: requests; extra == "grib"
|
|
257
255
|
Provides-Extra: provenance
|
|
@@ -68,23 +68,21 @@ optional-dependencies.dev = [
|
|
|
68
68
|
"pytest",
|
|
69
69
|
"requests",
|
|
70
70
|
"sphinx",
|
|
71
|
-
"sphinx-argparse",
|
|
71
|
+
"sphinx-argparse<0.5",
|
|
72
72
|
"sphinx-rtd-theme",
|
|
73
73
|
"termcolor",
|
|
74
|
-
"tomli",
|
|
75
74
|
]
|
|
76
|
-
|
|
77
|
-
# `pip install .[docs]`
|
|
75
|
+
|
|
78
76
|
optional-dependencies.docs = [
|
|
79
77
|
"nbsphinx",
|
|
80
78
|
"pandoc",
|
|
81
79
|
"requests",
|
|
82
80
|
"sphinx",
|
|
83
|
-
"sphinx-argparse",
|
|
81
|
+
"sphinx-argparse<0.5",
|
|
84
82
|
"sphinx-rtd-theme",
|
|
85
83
|
"termcolor",
|
|
86
|
-
"tomli",
|
|
87
84
|
]
|
|
85
|
+
|
|
88
86
|
optional-dependencies.grib = [
|
|
89
87
|
"requests",
|
|
90
88
|
]
|
|
@@ -268,7 +268,7 @@ class Download(Transfer):
|
|
|
268
268
|
def source_size(self, s3_object):
|
|
269
269
|
return s3_object["Size"]
|
|
270
270
|
|
|
271
|
-
def transfer_file(self, source, target, overwrite, resume, verbosity, progress, config=None):
|
|
271
|
+
def transfer_file(self, source, target, overwrite, resume, verbosity, progress=None, config=None):
|
|
272
272
|
try:
|
|
273
273
|
return self._transfer_file(source, target, overwrite, resume, verbosity, config=config)
|
|
274
274
|
except Exception as e:
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import logging
|
|
11
11
|
import time
|
|
12
12
|
|
|
13
|
-
from .humanize import
|
|
13
|
+
from .humanize import seconds_to_human
|
|
14
14
|
|
|
15
15
|
LOGGER = logging.getLogger(__name__)
|
|
16
16
|
|
|
@@ -31,4 +31,4 @@ class Timer:
|
|
|
31
31
|
return time.time() - self.start
|
|
32
32
|
|
|
33
33
|
def __exit__(self, *args):
|
|
34
|
-
self.logger.info("%s: %s.", self.title,
|
|
34
|
+
self.logger.info("%s: %s.", self.title, seconds_to_human(self.elapsed))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: anemoi-utils
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.13
|
|
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
|
|
@@ -239,19 +239,17 @@ Requires-Dist: pandoc; extra == "dev"
|
|
|
239
239
|
Requires-Dist: pytest; extra == "dev"
|
|
240
240
|
Requires-Dist: requests; extra == "dev"
|
|
241
241
|
Requires-Dist: sphinx; extra == "dev"
|
|
242
|
-
Requires-Dist: sphinx-argparse; extra == "dev"
|
|
242
|
+
Requires-Dist: sphinx-argparse<0.5; extra == "dev"
|
|
243
243
|
Requires-Dist: sphinx-rtd-theme; extra == "dev"
|
|
244
244
|
Requires-Dist: termcolor; extra == "dev"
|
|
245
|
-
Requires-Dist: tomli; extra == "dev"
|
|
246
245
|
Provides-Extra: docs
|
|
247
246
|
Requires-Dist: nbsphinx; extra == "docs"
|
|
248
247
|
Requires-Dist: pandoc; extra == "docs"
|
|
249
248
|
Requires-Dist: requests; extra == "docs"
|
|
250
249
|
Requires-Dist: sphinx; extra == "docs"
|
|
251
|
-
Requires-Dist: sphinx-argparse; extra == "docs"
|
|
250
|
+
Requires-Dist: sphinx-argparse<0.5; extra == "docs"
|
|
252
251
|
Requires-Dist: sphinx-rtd-theme; extra == "docs"
|
|
253
252
|
Requires-Dist: termcolor; extra == "docs"
|
|
254
|
-
Requires-Dist: tomli; extra == "docs"
|
|
255
253
|
Provides-Extra: grib
|
|
256
254
|
Requires-Dist: requests; extra == "grib"
|
|
257
255
|
Provides-Extra: provenance
|
|
@@ -16,20 +16,18 @@ pandoc
|
|
|
16
16
|
pytest
|
|
17
17
|
requests
|
|
18
18
|
sphinx
|
|
19
|
-
sphinx-argparse
|
|
19
|
+
sphinx-argparse<0.5
|
|
20
20
|
sphinx-rtd-theme
|
|
21
21
|
termcolor
|
|
22
|
-
tomli
|
|
23
22
|
|
|
24
23
|
[docs]
|
|
25
24
|
nbsphinx
|
|
26
25
|
pandoc
|
|
27
26
|
requests
|
|
28
27
|
sphinx
|
|
29
|
-
sphinx-argparse
|
|
28
|
+
sphinx-argparse<0.5
|
|
30
29
|
sphinx-rtd-theme
|
|
31
30
|
termcolor
|
|
32
|
-
tomli
|
|
33
31
|
|
|
34
32
|
[grib]
|
|
35
33
|
requests
|
|
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
|