erddapy 3.3.0__tar.gz → 3.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: erddapy
3
- Version: 3.3.0
3
+ Version: 3.3.1
4
4
  Summary: Python interface for ERDDAP
5
5
  Maintainer-email: Alex Kerney <akerney@gmri.org>, Callum Rollo <c.rollo@outlook.com>, Filipe Fernandes <ocefpaf+erddapy@gmail.com>
6
6
  License: Copyright 2017 Filipe Fernandes
@@ -40,11 +40,33 @@ Classifier: Programming Language :: Python :: 3.11
40
40
  Classifier: Programming Language :: Python :: 3.12
41
41
  Classifier: Programming Language :: Python :: 3.13
42
42
  Classifier: Programming Language :: Python :: 3.14
43
+ Classifier: Programming Language :: Python :: 3.15
43
44
  Requires-Python: >=3.11
44
45
  Description-Content-Type: text/markdown
45
46
  License-File: LICENSE.txt
46
- Requires-Dist: pandas<4,>=0.25.2
47
+ Requires-Dist: pandas
47
48
  Requires-Dist: requests
49
+ Requires-Dist: xarray
50
+ Provides-Extra: dev
51
+ Requires-Dist: dask; extra == "dev"
52
+ Requires-Dist: pooch; extra == "dev"
53
+ Requires-Dist: prek; extra == "dev"
54
+ Requires-Dist: pytest; extra == "dev"
55
+ Requires-Dist: pytest-cov; extra == "dev"
56
+ Requires-Dist: pytest-recording; extra == "dev"
57
+ Provides-Extra: docs
58
+ Requires-Dist: cartopy>=0.21; extra == "docs"
59
+ Requires-Dist: geopandas; extra == "docs"
60
+ Requires-Dist: joblib; extra == "docs"
61
+ Requires-Dist: nbclassic; extra == "docs"
62
+ Requires-Dist: nbconvert; extra == "docs"
63
+ Requires-Dist: nbsphinx; extra == "docs"
64
+ Requires-Dist: regionmask>=0.9; extra == "docs"
65
+ Requires-Dist: sphinx; extra == "docs"
66
+ Provides-Extra: extras
67
+ Requires-Dist: joblib; extra == "extras"
68
+ Requires-Dist: netcdf4; extra == "extras"
69
+ Requires-Dist: scitools-iris>=3.3; extra == "extras"
48
70
  Dynamic: license-file
49
71
 
50
72
  <h1 align="center" style="margin:1em;">
@@ -274,7 +274,7 @@ def parse_dates(
274
274
  return parse_date_time.timestamp()
275
275
 
276
276
 
277
- def get_search_url( # noqa: PLR0913
277
+ def get_search_url( # noqa: PLR0913, PLR0917
278
278
  server: str,
279
279
  response: str = "html",
280
280
  search_for: str | None = None,
@@ -121,9 +121,6 @@ class ERDDAP:
121
121
  _servers = servers()
122
122
  if server.lower() in _servers:
123
123
  server = _servers[server.lower()].url
124
- else:
125
- msg = f"Cannot initialize {server=}."
126
- raise ValueError(msg)
127
124
  self.server = server.rstrip("/")
128
125
  self.protocol = protocol
129
126
  self.response = response
@@ -3,8 +3,6 @@ LICENSE.txt
3
3
  MANIFEST.in
4
4
  README.md
5
5
  pyproject.toml
6
- requirements-dev.txt
7
- requirements.txt
8
6
  erddapy/__init__.py
9
7
  erddapy/erddapy.py
10
8
  erddapy/multiple_server_search.py
@@ -19,10 +19,36 @@ classifiers = [
19
19
  "Programming Language :: Python :: 3.12",
20
20
  "Programming Language :: Python :: 3.13",
21
21
  "Programming Language :: Python :: 3.14",
22
+ "Programming Language :: Python :: 3.15",
22
23
  ]
23
- dynamic = [
24
- "dependencies",
25
- "version",
24
+ dynamic = [ "version" ]
25
+ dependencies = [
26
+ "pandas",
27
+ "requests",
28
+ "xarray",
29
+ ]
30
+ optional-dependencies.dev = [
31
+ "dask",
32
+ "pooch",
33
+ "prek",
34
+ "pytest",
35
+ "pytest-cov",
36
+ "pytest-recording",
37
+ ]
38
+ optional-dependencies.docs = [
39
+ "cartopy>=0.21",
40
+ "geopandas",
41
+ "joblib",
42
+ "nbclassic",
43
+ "nbconvert",
44
+ "nbsphinx",
45
+ "regionmask>=0.9",
46
+ "sphinx",
47
+ ]
48
+ optional-dependencies.extras = [
49
+ "joblib",
50
+ "netcdf4",
51
+ "scitools-iris>=3.3",
26
52
  ]
27
53
  urls.documentation = "https://ioos.github.io/erddapy"
28
54
  urls.homepage = "https://github.com/ioos/erddapy"
@@ -30,13 +56,8 @@ urls.repository = "https://github.com/ioos/erddapy"
30
56
  entry-points."xarray.backends".erddapy = "erddapy.xarray_erddap:ERDDAPyBackendEntrypoint"
31
57
 
32
58
  [tool.setuptools]
33
- packages = [
34
- "erddapy",
35
- ]
59
+ packages = [ "erddapy" ]
36
60
  include-package-data = true
37
- dynamic.dependencies = { file = [
38
- "requirements.txt",
39
- ] }
40
61
 
41
62
  [tool.setuptools_scm]
42
63
  tag_regex = "^(?P<prefix>v)?(?P<version>[^\\+]+)(?P<suffix>.*)?$"
@@ -1,27 +0,0 @@
1
- cartopy>=0.21
2
- cartopy_offlinedata
3
- check-manifest
4
- geopandas
5
- interrogate
6
- joblib
7
- jupyter
8
- mypy
9
- nbclassic
10
- nbconvert
11
- nbsphinx
12
- netcdf4
13
- pandas-stubs
14
- pendulum>=2.0.1
15
- pooch
16
- pytest
17
- pytest-cov
18
- pytest-recording
19
- pytest-sugar
20
- regionmask>=0.9
21
- scitools-iris>=3.3.0
22
- setuptools_scm
23
- sphinx
24
- twine
25
- types-requests
26
- wheel
27
- xarray
@@ -1,2 +0,0 @@
1
- pandas>=0.25.2,<4
2
- 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