sxs 2025.0.20__py3-none-any.whl → 2025.0.22__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.
sxs/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "2025.0.20"
1
+ __version__ = "2025.0.22"
sxs/handlers.py CHANGED
@@ -385,9 +385,10 @@ def load_via_sxs_id(
385
385
  import requests
386
386
  from .utilities import sxs_path_to_system_path
387
387
  url = f"{doi_url}{sxsid}"
388
- response = requests.head(url, allow_redirects=True, timeout=timeout)
388
+ headers = {"User-Agent": "curl/8.18.0"}
389
+ response = requests.head(url, allow_redirects=True, timeout=timeout, headers=headers)
389
390
  if response.status_code != 200:
390
- raise ValueError(f"Could not load via DOI {url=}")
391
+ raise ValueError(f"Could not load via DOI {url=}, status_code = {response.status_code}, Response = {response.reason}")
391
392
  final_url = f"{response.url}/{location}"
392
393
  truepath = truepath or Path(sxs_path_to_system_path(sxsid)) / location
393
394
  return load(final_url, download, cache, progress, truepath, **kwargs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sxs
3
- Version: 2025.0.20
3
+ Version: 2025.0.22
4
4
  Summary: Interface to data produced by the Simulating eXtreme Spacetimes collaboration
5
5
  Project-URL: Homepage, https://github.com/sxs-collaboration/sxs
6
6
  Project-URL: Documentation, https://sxs.readthedocs.io/
@@ -1,7 +1,7 @@
1
1
  sxs/__init__.py,sha256=C8VhmrUPAa70Y-C2KfZv9BhS6ef-eB7uaNtwm18IRhk,2637
2
- sxs/__version__.py,sha256=WL126X6qd-XDIyPiUN5RKa9p25GrVWfEPkC7F8oUm6I,26
2
+ sxs/__version__.py,sha256=xAQjE2CoEjOWGwE89i4Wgv0T4Vi5sk-1P7dji-IB02M,26
3
3
  sxs/citation.py,sha256=QAiRnasTXpufZCaoxTKR5ESSJQ2ww7FgWyxoaaAQifw,7167
4
- sxs/handlers.py,sha256=rUS0TmbewpllnZHkS5TXCx6nxGA-E8xrBGLlejBPEAg,18820
4
+ sxs/handlers.py,sha256=fhqDkLAdZPWHLB5ezZd4ynBUoBp2VZKePgcJnPp5Y20,18949
5
5
  sxs/juliapkg.json,sha256=j-T3x1iSsGEw7mttbjaUvo0GPXB5611bp9Cob_XLDBo,178
6
6
  sxs/time_series.py,sha256=GhsE-p4NoHZ5WZ4v5mYX7bRe5HO_sKWYNRKDJTvnjwI,41765
7
7
  sxs/catalog/__init__.py,sha256=9-WTMTPDmqqkFyIHOtEbPA6etXm3_RSRrLWvHtLrjLg,205
@@ -83,8 +83,8 @@ sxs/zenodo/api/__init__.py,sha256=EM_eh4Q8R5E0vIfMhyIR1IYFfOBu6vA0UTasgX9gHys,21
83
83
  sxs/zenodo/api/deposit.py,sha256=J4RGvGjh0cEOrN4bBZWEDcPAhNscqB2fzLlvRZ5HTHM,36948
84
84
  sxs/zenodo/api/login.py,sha256=hXyxLrx1PALaEEH76XrBvlO5Wwz-qa-MCjkI8UyB3t0,18005
85
85
  sxs/zenodo/api/records.py,sha256=nKkhoHZ95CTztHF9Zzaug5p7IiUCJG4Em1i-l-WqH6U,3689
86
- sxs-2025.0.20.dist-info/METADATA,sha256=9YEV7SXhTMtoBO_eWI8MaZ9pEqhnJJroIam_rUFRhC0,11941
87
- sxs-2025.0.20.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
88
- sxs-2025.0.20.dist-info/entry_points.txt,sha256=51VqSnJT5UOMI4RilR9giG9DNrIDgnsSkuNuYldEnTs,89
89
- sxs-2025.0.20.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
90
- sxs-2025.0.20.dist-info/RECORD,,
86
+ sxs-2025.0.22.dist-info/METADATA,sha256=7-3W2KRg5N5LOf45gVjeDyZwhBLaTmiHXs3LFaTe7lY,11941
87
+ sxs-2025.0.22.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
88
+ sxs-2025.0.22.dist-info/entry_points.txt,sha256=51VqSnJT5UOMI4RilR9giG9DNrIDgnsSkuNuYldEnTs,89
89
+ sxs-2025.0.22.dist-info/licenses/LICENSE,sha256=ptVOd5m7LDM5ZF0x32cxb8c2Nd5NDmAhy6DX7xt_7VA,1080
90
+ sxs-2025.0.22.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.27.0
2
+ Generator: hatchling 1.28.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any