psi-data-utils 0.0.1__tar.gz → 0.0.2__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,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: psi-data-utils
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Sample data fetching and management utilities for Predictive Science Inc.
5
5
  Author: Ryder Davidson
6
6
  Author-email: "Predictive Science Inc." <webmaster@predsci.com>
7
7
  License: Apache-2.0
8
8
  Project-URL: homepage, https://predsci.com/
9
- Project-URL: documentation, https://predsci.com/doc/psi-data
10
- Project-URL: repository, https://github.com/predsci/psi-data
9
+ Project-URL: documentation, https://predsci.com/doc/psi-data-utils
10
+ Project-URL: repository, https://github.com/predsci/psi-data-utils
11
11
  Keywords: solar physics,space physics,heliophysics,magnetohydrodynamic,science,mas,predsci,psi,modeling,fortran
12
12
  Classifier: Development Status :: 4 - Beta
13
13
  Classifier: Intended Audience :: Science/Research
@@ -52,7 +52,7 @@ Requires-Dist: pthree==1.0.1; extra == "docs"
52
52
  Provides-Extra: dev
53
53
  Requires-Dist: nox>=2025.11.12; extra == "dev"
54
54
  Provides-Extra: all
55
- Requires-Dist: psi-data[build,dev,docs,lint,test,types]; extra == "all"
55
+ Requires-Dist: psi-data-utils[build,dev,docs,lint,test,types]; extra == "all"
56
56
  Dynamic: license-file
57
57
 
58
58
  .. |psi| image:: https://predsci.com/doc/psi_logo.png
@@ -60,28 +60,28 @@ Dynamic: license-file
60
60
  :alt: Predictive Science Inc.
61
61
  :width: 20px
62
62
 
63
- .. |pypi| image:: https://img.shields.io/pypi/v/psi-data?logo=pypi&logoColor=white
64
- :target: https://pypi.org/project/psi-data
63
+ .. |pypi| image:: https://img.shields.io/pypi/v/psi-data-utils?logo=pypi&logoColor=white
64
+ :target: https://pypi.org/project/psi-data-utils
65
65
  :alt: PyPI
66
66
 
67
- .. |license| image:: https://img.shields.io/pypi/l/psi-data?logo=apache&logoColor=white
67
+ .. |license| image:: https://img.shields.io/pypi/l/psi-data-utils?logo=apache&logoColor=white
68
68
  :target: https://opensource.org/license/apache-2-0/
69
69
  :alt: License
70
70
 
71
- .. |pyversions| image:: https://img.shields.io/pypi/pyversions/psi-data.svg?logo=python&label=python&logoColor=white
72
- :target: https://pypi.org/project/psi-data
71
+ .. |pyversions| image:: https://img.shields.io/pypi/pyversions/psi-data-utils.svg?logo=python&label=python&logoColor=white
72
+ :target: https://pypi.org/project/psi-data-utils
73
73
  :alt: Python Versions
74
74
 
75
- .. |deps| image:: https://img.shields.io/librariesio/github/predsci/psi-data?logo=Libraries.io&logoColor=white
76
- :target: https://github.com/predsci/psi-data/blob/main/pyproject.toml
75
+ .. |deps| image:: https://img.shields.io/librariesio/github/predsci/psi-data-utils?logo=Libraries.io&logoColor=white
76
+ :target: https://github.com/predsci/psi-data-utils/blob/main/pyproject.toml
77
77
  :alt: Libraries.io
78
78
 
79
- .. |publish| image:: https://github.com/predsci/psi-data/actions/workflows/publish.yml/badge.svg?
80
- :target: https://github.com/predsci/psi-data/actions/workflows/publish.yml
79
+ .. |publish| image:: https://github.com/predsci/psi-data-utils/actions/workflows/publish.yml/badge.svg?
80
+ :target: https://github.com/predsci/psi-data-utils/actions/workflows/publish.yml
81
81
  :alt: Publish workflow
82
82
 
83
- .. |docs| image:: https://github.com/predsci/psi-data/actions/workflows/docs.yml/badge.svg?
84
- :target: https://predsci.com/doc/psi-data
83
+ .. |docs| image:: https://github.com/predsci/psi-data-utils/actions/workflows/docs.yml/badge.svg?
84
+ :target: https://predsci.com/doc/psi-data-utils
85
85
  :alt: Docs workflow
86
86
 
87
87
  |pypi|
@@ -91,24 +91,24 @@ Dynamic: license-file
91
91
  |publish|
92
92
  |docs|
93
93
 
94
- |psi| **psi-data** | *PSI's Sample Data Utilities*
94
+ |psi| **psi-data-utils** | *PSI's Sample Data Utilities*
95
95
  --------------------------------------------------------------------
96
96
 
97
- **psi-data** is a Python package developed by `Predictive Science Inc. <https://www.predsci.com>`_ for
97
+ **psi-data-utils** is a Python package developed by `Predictive Science Inc. <https://www.predsci.com>`_ for
98
98
  fetching sample PSI datasets *viz.* for use in documentation and tutorial build pipelines. This package
99
99
  is intended to be a lightweight utility for downloading and caching PSI data products, and it is not meant
100
100
  to be a general-purpose data access library.
101
101
 
102
- To get started with **psi-data**, visit the
103
- `User Guide <https://predsci.com/doc/psi-data/guide/>`_ for installation instructions,
102
+ To get started with **psi-data-utils**, visit the
103
+ `User Guide <https://predsci.com/doc/psi-data-utils/guide/>`_ for installation instructions,
104
104
  an overview of features, and development/contribution guidelines. Please direct any questions or
105
- issues to the `issue tracker <https://github.com/predsci/psi-data/issues>`_,
105
+ issues to the `issue tracker <https://github.com/predsci/psi-data-utils/issues>`_,
106
106
  or `contact <https://www.predsci.com/portal/contact.php>`_ Predictive Science Inc. directly.
107
107
 
108
108
  ----
109
109
 
110
110
  `Predictive Science Inc. <https://predsci.com>`_ |
111
- `Repository <https://github.com/predsci/psi-data>`_ |
112
- `Documentation <https://predsci.com/doc/psi-data>`_ |
113
- `Distribution <https://pypi.org/project/psi-data>`_
111
+ `Repository <https://github.com/predsci/psi-data-utils>`_ |
112
+ `Documentation <https://predsci.com/doc/psi-data-utils>`_ |
113
+ `Distribution <https://pypi.org/project/psi-data-utils>`_
114
114
 
@@ -0,0 +1,57 @@
1
+ .. |psi| image:: https://predsci.com/doc/psi_logo.png
2
+ :target: https://predsci.com
3
+ :alt: Predictive Science Inc.
4
+ :width: 20px
5
+
6
+ .. |pypi| image:: https://img.shields.io/pypi/v/psi-data-utils?logo=pypi&logoColor=white
7
+ :target: https://pypi.org/project/psi-data-utils
8
+ :alt: PyPI
9
+
10
+ .. |license| image:: https://img.shields.io/pypi/l/psi-data-utils?logo=apache&logoColor=white
11
+ :target: https://opensource.org/license/apache-2-0/
12
+ :alt: License
13
+
14
+ .. |pyversions| image:: https://img.shields.io/pypi/pyversions/psi-data-utils.svg?logo=python&label=python&logoColor=white
15
+ :target: https://pypi.org/project/psi-data-utils
16
+ :alt: Python Versions
17
+
18
+ .. |deps| image:: https://img.shields.io/librariesio/github/predsci/psi-data-utils?logo=Libraries.io&logoColor=white
19
+ :target: https://github.com/predsci/psi-data-utils/blob/main/pyproject.toml
20
+ :alt: Libraries.io
21
+
22
+ .. |publish| image:: https://github.com/predsci/psi-data-utils/actions/workflows/publish.yml/badge.svg?
23
+ :target: https://github.com/predsci/psi-data-utils/actions/workflows/publish.yml
24
+ :alt: Publish workflow
25
+
26
+ .. |docs| image:: https://github.com/predsci/psi-data-utils/actions/workflows/docs.yml/badge.svg?
27
+ :target: https://predsci.com/doc/psi-data-utils
28
+ :alt: Docs workflow
29
+
30
+ |pypi|
31
+ |license|
32
+ |pyversions|
33
+ |deps|
34
+ |publish|
35
+ |docs|
36
+
37
+ |psi| **psi-data-utils** | *PSI's Sample Data Utilities*
38
+ --------------------------------------------------------------------
39
+
40
+ **psi-data-utils** is a Python package developed by `Predictive Science Inc. <https://www.predsci.com>`_ for
41
+ fetching sample PSI datasets *viz.* for use in documentation and tutorial build pipelines. This package
42
+ is intended to be a lightweight utility for downloading and caching PSI data products, and it is not meant
43
+ to be a general-purpose data access library.
44
+
45
+ To get started with **psi-data-utils**, visit the
46
+ `User Guide <https://predsci.com/doc/psi-data-utils/guide/>`_ for installation instructions,
47
+ an overview of features, and development/contribution guidelines. Please direct any questions or
48
+ issues to the `issue tracker <https://github.com/predsci/psi-data-utils/issues>`_,
49
+ or `contact <https://www.predsci.com/portal/contact.php>`_ Predictive Science Inc. directly.
50
+
51
+ ----
52
+
53
+ `Predictive Science Inc. <https://predsci.com>`_ |
54
+ `Repository <https://github.com/predsci/psi-data-utils>`_ |
55
+ `Documentation <https://predsci.com/doc/psi-data-utils>`_ |
56
+ `Distribution <https://pypi.org/project/psi-data-utils>`_
57
+
@@ -27,20 +27,24 @@ for _name in __all__:
27
27
  _obj.__module__ = __name__
28
28
  del _name, _obj
29
29
 
30
+ from importlib.metadata import PackageNotFoundError
31
+ from importlib.metadata import version as _pkg_version
32
+ from pathlib import Path
33
+
34
+ # Must match the distribution name (``[project] name``) in pyproject.toml, which
35
+ # differs from the import package name ``psi_data``.
30
36
  try:
31
- from importlib.metadata import version as _pkg_version
32
- from importlib.metadata import PackageNotFoundError
33
- from pathlib import Path
34
- __version__ = _pkg_version("psi-data") # type: ignore[assignment]
35
- except PackageNotFoundError as e: # dev/editable without metadata
36
- try:
37
- import tomllib # Python 3.11+
38
- except ModuleNotFoundError: # pragma: no cover
39
- import tomli as tomllib # pip install tomli
40
-
41
- pyproject = Path(__file__).parents[1].resolve() / 'pyproject.toml'
42
- data = tomllib.loads(pyproject.read_text())
43
-
44
- project_version = data.get("project", {}).get("version", "0+unknown")
45
- project_version = project_version.replace('"', '').replace("'", '')
46
- __version__ = project_version
37
+ __version__ = _pkg_version("psi-data-utils") # type: ignore[assignment]
38
+ except PackageNotFoundError: # running from a source tree without install metadata
39
+ __version__ = "0+unknown"
40
+ # pyproject.toml is not shipped inside the installed package, so only read it
41
+ # when it is actually present (i.e. when running from the repository).
42
+ pyproject = Path(__file__).parents[1] / "pyproject.toml"
43
+ if pyproject.is_file():
44
+ try:
45
+ import tomllib # Python 3.11+
46
+ except ModuleNotFoundError: # pragma: no cover
47
+ import tomli as tomllib # Python < 3.11
48
+
49
+ data = tomllib.loads(pyproject.read_text())
50
+ __version__ = data.get("project", {}).get("version", "0+unknown")
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: psi-data-utils
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: Sample data fetching and management utilities for Predictive Science Inc.
5
5
  Author: Ryder Davidson
6
6
  Author-email: "Predictive Science Inc." <webmaster@predsci.com>
7
7
  License: Apache-2.0
8
8
  Project-URL: homepage, https://predsci.com/
9
- Project-URL: documentation, https://predsci.com/doc/psi-data
10
- Project-URL: repository, https://github.com/predsci/psi-data
9
+ Project-URL: documentation, https://predsci.com/doc/psi-data-utils
10
+ Project-URL: repository, https://github.com/predsci/psi-data-utils
11
11
  Keywords: solar physics,space physics,heliophysics,magnetohydrodynamic,science,mas,predsci,psi,modeling,fortran
12
12
  Classifier: Development Status :: 4 - Beta
13
13
  Classifier: Intended Audience :: Science/Research
@@ -52,7 +52,7 @@ Requires-Dist: pthree==1.0.1; extra == "docs"
52
52
  Provides-Extra: dev
53
53
  Requires-Dist: nox>=2025.11.12; extra == "dev"
54
54
  Provides-Extra: all
55
- Requires-Dist: psi-data[build,dev,docs,lint,test,types]; extra == "all"
55
+ Requires-Dist: psi-data-utils[build,dev,docs,lint,test,types]; extra == "all"
56
56
  Dynamic: license-file
57
57
 
58
58
  .. |psi| image:: https://predsci.com/doc/psi_logo.png
@@ -60,28 +60,28 @@ Dynamic: license-file
60
60
  :alt: Predictive Science Inc.
61
61
  :width: 20px
62
62
 
63
- .. |pypi| image:: https://img.shields.io/pypi/v/psi-data?logo=pypi&logoColor=white
64
- :target: https://pypi.org/project/psi-data
63
+ .. |pypi| image:: https://img.shields.io/pypi/v/psi-data-utils?logo=pypi&logoColor=white
64
+ :target: https://pypi.org/project/psi-data-utils
65
65
  :alt: PyPI
66
66
 
67
- .. |license| image:: https://img.shields.io/pypi/l/psi-data?logo=apache&logoColor=white
67
+ .. |license| image:: https://img.shields.io/pypi/l/psi-data-utils?logo=apache&logoColor=white
68
68
  :target: https://opensource.org/license/apache-2-0/
69
69
  :alt: License
70
70
 
71
- .. |pyversions| image:: https://img.shields.io/pypi/pyversions/psi-data.svg?logo=python&label=python&logoColor=white
72
- :target: https://pypi.org/project/psi-data
71
+ .. |pyversions| image:: https://img.shields.io/pypi/pyversions/psi-data-utils.svg?logo=python&label=python&logoColor=white
72
+ :target: https://pypi.org/project/psi-data-utils
73
73
  :alt: Python Versions
74
74
 
75
- .. |deps| image:: https://img.shields.io/librariesio/github/predsci/psi-data?logo=Libraries.io&logoColor=white
76
- :target: https://github.com/predsci/psi-data/blob/main/pyproject.toml
75
+ .. |deps| image:: https://img.shields.io/librariesio/github/predsci/psi-data-utils?logo=Libraries.io&logoColor=white
76
+ :target: https://github.com/predsci/psi-data-utils/blob/main/pyproject.toml
77
77
  :alt: Libraries.io
78
78
 
79
- .. |publish| image:: https://github.com/predsci/psi-data/actions/workflows/publish.yml/badge.svg?
80
- :target: https://github.com/predsci/psi-data/actions/workflows/publish.yml
79
+ .. |publish| image:: https://github.com/predsci/psi-data-utils/actions/workflows/publish.yml/badge.svg?
80
+ :target: https://github.com/predsci/psi-data-utils/actions/workflows/publish.yml
81
81
  :alt: Publish workflow
82
82
 
83
- .. |docs| image:: https://github.com/predsci/psi-data/actions/workflows/docs.yml/badge.svg?
84
- :target: https://predsci.com/doc/psi-data
83
+ .. |docs| image:: https://github.com/predsci/psi-data-utils/actions/workflows/docs.yml/badge.svg?
84
+ :target: https://predsci.com/doc/psi-data-utils
85
85
  :alt: Docs workflow
86
86
 
87
87
  |pypi|
@@ -91,24 +91,24 @@ Dynamic: license-file
91
91
  |publish|
92
92
  |docs|
93
93
 
94
- |psi| **psi-data** | *PSI's Sample Data Utilities*
94
+ |psi| **psi-data-utils** | *PSI's Sample Data Utilities*
95
95
  --------------------------------------------------------------------
96
96
 
97
- **psi-data** is a Python package developed by `Predictive Science Inc. <https://www.predsci.com>`_ for
97
+ **psi-data-utils** is a Python package developed by `Predictive Science Inc. <https://www.predsci.com>`_ for
98
98
  fetching sample PSI datasets *viz.* for use in documentation and tutorial build pipelines. This package
99
99
  is intended to be a lightweight utility for downloading and caching PSI data products, and it is not meant
100
100
  to be a general-purpose data access library.
101
101
 
102
- To get started with **psi-data**, visit the
103
- `User Guide <https://predsci.com/doc/psi-data/guide/>`_ for installation instructions,
102
+ To get started with **psi-data-utils**, visit the
103
+ `User Guide <https://predsci.com/doc/psi-data-utils/guide/>`_ for installation instructions,
104
104
  an overview of features, and development/contribution guidelines. Please direct any questions or
105
- issues to the `issue tracker <https://github.com/predsci/psi-data/issues>`_,
105
+ issues to the `issue tracker <https://github.com/predsci/psi-data-utils/issues>`_,
106
106
  or `contact <https://www.predsci.com/portal/contact.php>`_ Predictive Science Inc. directly.
107
107
 
108
108
  ----
109
109
 
110
110
  `Predictive Science Inc. <https://predsci.com>`_ |
111
- `Repository <https://github.com/predsci/psi-data>`_ |
112
- `Documentation <https://predsci.com/doc/psi-data>`_ |
113
- `Distribution <https://pypi.org/project/psi-data>`_
111
+ `Repository <https://github.com/predsci/psi-data-utils>`_ |
112
+ `Documentation <https://predsci.com/doc/psi-data-utils>`_ |
113
+ `Distribution <https://pypi.org/project/psi-data-utils>`_
114
114
 
@@ -4,7 +4,7 @@ pooch[progress]
4
4
  importlib_resources>=1.3
5
5
 
6
6
  [all]
7
- psi-data[build,dev,docs,lint,test,types]
7
+ psi-data-utils[build,dev,docs,lint,test,types]
8
8
 
9
9
  [build]
10
10
  python-build
@@ -11,7 +11,7 @@ requires = ["setuptools >= 74.0.0"]
11
11
  # ----------------
12
12
  [project]
13
13
  name = "psi-data-utils"
14
- version = "0.0.1"
14
+ version = "0.0.2"
15
15
  description = "Sample data fetching and management utilities for Predictive Science Inc."
16
16
  authors = [
17
17
  {name = "Predictive Science Inc.", email = "webmaster@predsci.com"},
@@ -62,8 +62,8 @@ dependencies = [
62
62
  # ------------
63
63
  [project.urls]
64
64
  homepage = "https://predsci.com/"
65
- documentation = "https://predsci.com/doc/psi-data"
66
- repository = "https://github.com/predsci/psi-data"
65
+ documentation = "https://predsci.com/doc/psi-data-utils"
66
+ repository = "https://github.com/predsci/psi-data-utils"
67
67
 
68
68
  # Project Dependencies
69
69
  # --------------------
@@ -93,7 +93,7 @@ dev = [
93
93
  "nox>=2025.11.12",
94
94
  ]
95
95
  all = [
96
- "psi-data[build,test,types,lint,docs,dev]",
96
+ "psi-data-utils[build,test,types,lint,docs,dev]",
97
97
  ]
98
98
 
99
99
  # Tools & Extensions
@@ -1,57 +0,0 @@
1
- .. |psi| image:: https://predsci.com/doc/psi_logo.png
2
- :target: https://predsci.com
3
- :alt: Predictive Science Inc.
4
- :width: 20px
5
-
6
- .. |pypi| image:: https://img.shields.io/pypi/v/psi-data?logo=pypi&logoColor=white
7
- :target: https://pypi.org/project/psi-data
8
- :alt: PyPI
9
-
10
- .. |license| image:: https://img.shields.io/pypi/l/psi-data?logo=apache&logoColor=white
11
- :target: https://opensource.org/license/apache-2-0/
12
- :alt: License
13
-
14
- .. |pyversions| image:: https://img.shields.io/pypi/pyversions/psi-data.svg?logo=python&label=python&logoColor=white
15
- :target: https://pypi.org/project/psi-data
16
- :alt: Python Versions
17
-
18
- .. |deps| image:: https://img.shields.io/librariesio/github/predsci/psi-data?logo=Libraries.io&logoColor=white
19
- :target: https://github.com/predsci/psi-data/blob/main/pyproject.toml
20
- :alt: Libraries.io
21
-
22
- .. |publish| image:: https://github.com/predsci/psi-data/actions/workflows/publish.yml/badge.svg?
23
- :target: https://github.com/predsci/psi-data/actions/workflows/publish.yml
24
- :alt: Publish workflow
25
-
26
- .. |docs| image:: https://github.com/predsci/psi-data/actions/workflows/docs.yml/badge.svg?
27
- :target: https://predsci.com/doc/psi-data
28
- :alt: Docs workflow
29
-
30
- |pypi|
31
- |license|
32
- |pyversions|
33
- |deps|
34
- |publish|
35
- |docs|
36
-
37
- |psi| **psi-data** | *PSI's Sample Data Utilities*
38
- --------------------------------------------------------------------
39
-
40
- **psi-data** is a Python package developed by `Predictive Science Inc. <https://www.predsci.com>`_ for
41
- fetching sample PSI datasets *viz.* for use in documentation and tutorial build pipelines. This package
42
- is intended to be a lightweight utility for downloading and caching PSI data products, and it is not meant
43
- to be a general-purpose data access library.
44
-
45
- To get started with **psi-data**, visit the
46
- `User Guide <https://predsci.com/doc/psi-data/guide/>`_ for installation instructions,
47
- an overview of features, and development/contribution guidelines. Please direct any questions or
48
- issues to the `issue tracker <https://github.com/predsci/psi-data/issues>`_,
49
- or `contact <https://www.predsci.com/portal/contact.php>`_ Predictive Science Inc. directly.
50
-
51
- ----
52
-
53
- `Predictive Science Inc. <https://predsci.com>`_ |
54
- `Repository <https://github.com/predsci/psi-data>`_ |
55
- `Documentation <https://predsci.com/doc/psi-data>`_ |
56
- `Distribution <https://pypi.org/project/psi-data>`_
57
-
File without changes
File without changes