sdhdf 2025.4.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.
Files changed (46) hide show
  1. sdhdf-2025.4.1/.github/CONTRIBUTING.md +89 -0
  2. sdhdf-2025.4.1/.github/dependabot.yml +11 -0
  3. sdhdf-2025.4.1/.github/release.yml +5 -0
  4. sdhdf-2025.4.1/.github/workflows/cd.yml +56 -0
  5. sdhdf-2025.4.1/.github/workflows/ci.yml +66 -0
  6. sdhdf-2025.4.1/.gitignore +167 -0
  7. sdhdf-2025.4.1/.pre-commit-config.yaml +80 -0
  8. sdhdf-2025.4.1/.readthedocs.yaml +17 -0
  9. sdhdf-2025.4.1/LICENSE +21 -0
  10. sdhdf-2025.4.1/PKG-INFO +152 -0
  11. sdhdf-2025.4.1/README.md +74 -0
  12. sdhdf-2025.4.1/docs/Makefile +20 -0
  13. sdhdf-2025.4.1/docs/_static/css/custom.css +22 -0
  14. sdhdf-2025.4.1/docs/conf.py +94 -0
  15. sdhdf-2025.4.1/docs/index.rst +25 -0
  16. sdhdf-2025.4.1/docs/make.bat +35 -0
  17. sdhdf-2025.4.1/docs/usage.rst +9 -0
  18. sdhdf-2025.4.1/noxfile.py +96 -0
  19. sdhdf-2025.4.1/pyproject.toml +121 -0
  20. sdhdf-2025.4.1/sdhdf/__init__.py +6 -0
  21. sdhdf-2025.4.1/sdhdf/_version.py +21 -0
  22. sdhdf-2025.4.1/sdhdf/data/__init__.py +0 -0
  23. sdhdf-2025.4.1/sdhdf/data/rfi/__init__.py +0 -0
  24. sdhdf-2025.4.1/sdhdf/data/rfi/parkes_rfi.csv +43 -0
  25. sdhdf-2025.4.1/sdhdf/data/tests/__init__.py +0 -0
  26. sdhdf-2025.4.1/sdhdf/data/tests/sdhdf_v1.9.3.hdf +0 -0
  27. sdhdf-2025.4.1/sdhdf/data/tests/sdhdf_v2.0.hdf +0 -0
  28. sdhdf-2025.4.1/sdhdf/data/tests/sdhdf_v2.1.hdf +0 -0
  29. sdhdf-2025.4.1/sdhdf/data/tests/sdhdf_v2.2.hdf +0 -0
  30. sdhdf-2025.4.1/sdhdf/data/tests/sdhdf_v3.0.hdf +0 -0
  31. sdhdf-2025.4.1/sdhdf/data/tests/sdhdf_v4.0.hdf +0 -0
  32. sdhdf-2025.4.1/sdhdf/definitions/__init__.py +0 -0
  33. sdhdf-2025.4.1/sdhdf/definitions/sdhdf_def_v2.0.json +69 -0
  34. sdhdf-2025.4.1/sdhdf/definitions/sdhdf_def_v2.1.json +69 -0
  35. sdhdf-2025.4.1/sdhdf/definitions/sdhdf_def_v2.9.json +70 -0
  36. sdhdf-2025.4.1/sdhdf/definitions/sdhdf_def_v3.0.json +70 -0
  37. sdhdf-2025.4.1/sdhdf/definitions/sdhdf_def_v4.0.json +72 -0
  38. sdhdf-2025.4.1/sdhdf/exceptions.py +10 -0
  39. sdhdf-2025.4.1/sdhdf/flagging.py +75 -0
  40. sdhdf-2025.4.1/sdhdf/history.py +34 -0
  41. sdhdf-2025.4.1/sdhdf/logger.py +22 -0
  42. sdhdf-2025.4.1/sdhdf/sdhdf.py +1024 -0
  43. sdhdf-2025.4.1/sdhdf/tables.py +101 -0
  44. sdhdf-2025.4.1/sdhdf/version.pyi +4 -0
  45. sdhdf-2025.4.1/tests/test_package.py +9 -0
  46. sdhdf-2025.4.1/tests/test_versions.py +17 -0
@@ -0,0 +1,89 @@
1
+ See the [Scientific Python Developer Guide][spc-dev-intro] for a detailed
2
+ description of best practices for developing scientific packages.
3
+
4
+ [spc-dev-intro]: https://learn.scientific-python.org/development/
5
+
6
+ # Quick development
7
+
8
+ The fastest way to start with development is to use nox. If you don't have nox,
9
+ you can use `pipx run nox` to run it without installing, or `pipx install nox`.
10
+ If you don't have pipx (pip for applications), then you can install with
11
+ `pip install pipx` (the only case were installing an application with regular
12
+ pip is reasonable). If you use macOS, then pipx and nox are both in brew, use
13
+ `brew install pipx nox`.
14
+
15
+ To use, run `nox`. This will lint and test using every installed version of
16
+ Python on your system, skipping ones that are not installed. You can also run
17
+ specific jobs:
18
+
19
+ ```console
20
+ $ nox -s lint # Lint only
21
+ $ nox -s tests # Python tests
22
+ $ nox -s docs -- --serve # Build and serve the docs
23
+ $ nox -s build # Make an SDist and wheel
24
+ ```
25
+
26
+ Nox handles everything for you, including setting up an temporary virtual
27
+ environment for each run.
28
+
29
+ # Setting up a development environment manually
30
+
31
+ You can set up a development environment by running:
32
+
33
+ ```bash
34
+ python3 -m venv .venv
35
+ source ./.venv/bin/activate
36
+ pip install -v -e .[dev]
37
+ ```
38
+
39
+ If you have the
40
+ [Python Launcher for Unix](https://github.com/brettcannon/python-launcher), you
41
+ can instead do:
42
+
43
+ ```bash
44
+ py -m venv .venv
45
+ py -m install -v -e .[dev]
46
+ ```
47
+
48
+ # Pre-commit
49
+
50
+ You should prepare pre-commit, which will help you by checking that commits pass
51
+ required checks:
52
+
53
+ ```bash
54
+ pip install pre-commit # or brew install pre-commit on macOS
55
+ pre-commit install # Will install a pre-commit hook into the git repo
56
+ ```
57
+
58
+ You can also/alternatively run `pre-commit run` (changes only) or
59
+ `pre-commit run --all-files` to check even without installing the hook.
60
+
61
+ # Testing
62
+
63
+ Use pytest to run the unit checks:
64
+
65
+ ```bash
66
+ pytest
67
+ ```
68
+
69
+ # Coverage
70
+
71
+ Use pytest-cov to generate coverage reports:
72
+
73
+ ```bash
74
+ pytest --cov=sdhdf
75
+ ```
76
+
77
+ # Building docs
78
+
79
+ You can build the docs using:
80
+
81
+ ```bash
82
+ nox -s docs
83
+ ```
84
+
85
+ You can see a preview with:
86
+
87
+ ```bash
88
+ nox -s docs -- --serve
89
+ ```
@@ -0,0 +1,11 @@
1
+ version: 2
2
+ updates:
3
+ # Maintain dependencies for GitHub Actions
4
+ - package-ecosystem: "github-actions"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "weekly"
8
+ groups:
9
+ actions:
10
+ patterns:
11
+ - "*"
@@ -0,0 +1,5 @@
1
+ changelog:
2
+ exclude:
3
+ authors:
4
+ - dependabot
5
+ - pre-commit-ci
@@ -0,0 +1,56 @@
1
+ name: CD
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ pull_request:
6
+ push:
7
+ branches:
8
+ - main
9
+ release:
10
+ types:
11
+ - published
12
+
13
+ concurrency:
14
+ group: ${{ github.workflow }}-${{ github.ref }}
15
+ cancel-in-progress: true
16
+
17
+ env:
18
+ # Many color libraries just need this to be set to any value, but at least
19
+ # one distinguishes color depth, where "3" -> "256-bit color".
20
+ FORCE_COLOR: 3
21
+
22
+ jobs:
23
+ dist:
24
+ name: Distribution build
25
+ runs-on: ubuntu-latest
26
+
27
+ steps:
28
+ - uses: actions/checkout@v4
29
+ with:
30
+ fetch-depth: 0
31
+
32
+ - uses: hynek/build-and-inspect-python-package@v2
33
+
34
+ publish:
35
+ needs: [dist]
36
+ name: Publish to PyPI
37
+ environment: pypi
38
+ permissions:
39
+ id-token: write
40
+ attestations: write
41
+ contents: read
42
+ runs-on: ubuntu-latest
43
+ if: github.event_name == 'release' && github.event.action == 'published'
44
+
45
+ steps:
46
+ - uses: actions/download-artifact@v4
47
+ with:
48
+ name: Packages
49
+ path: dist
50
+
51
+ - name: Generate artifact attestation for sdist and wheel
52
+ uses: actions/attest-build-provenance@v2.2.3
53
+ with:
54
+ subject-path: "dist/*"
55
+
56
+ - uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,66 @@
1
+ name: CI
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ pull_request:
6
+ push:
7
+ branches:
8
+ - main
9
+
10
+ concurrency:
11
+ group: ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress: true
13
+
14
+ env:
15
+ # Many color libraries just need this to be set to any value, but at least
16
+ # one distinguishes color depth, where "3" -> "256-bit color".
17
+ FORCE_COLOR: 3
18
+
19
+ jobs:
20
+ pre-commit:
21
+ name: Format
22
+ runs-on: ubuntu-latest
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+ with:
26
+ fetch-depth: 0
27
+ - uses: actions/setup-python@v5
28
+ with:
29
+ python-version: "3.x"
30
+ - uses: pre-commit/action@v3.0.1
31
+ with:
32
+ extra_args: --hook-stage manual --all-files
33
+
34
+ checks:
35
+ name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
36
+ runs-on: ${{ matrix.runs-on }}
37
+ needs: [pre-commit]
38
+ strategy:
39
+ fail-fast: false
40
+ matrix:
41
+ python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
42
+ runs-on: [ubuntu-latest]
43
+
44
+
45
+ steps:
46
+ - uses: actions/checkout@v4
47
+ with:
48
+ fetch-depth: 0
49
+
50
+ - uses: actions/setup-python@v5
51
+ with:
52
+ python-version: ${{ matrix.python-version }}
53
+ allow-prereleases: true
54
+
55
+ - name: Install package
56
+ run: python -m pip install uv && uv pip install .[dev] --system
57
+
58
+ - name: Test package
59
+ run: >-
60
+ python -m pytest -ra --cov --cov-report=xml --cov-report=term
61
+ --durations=20
62
+
63
+ - name: Upload coverage report
64
+ uses: codecov/codecov-action@v5.4.0
65
+ with:
66
+ token: ${{ secrets.CODECOV_TOKEN }}
@@ -0,0 +1,167 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
98
+ __pypackages__/
99
+
100
+ # Celery stuff
101
+ celerybeat-schedule
102
+ celerybeat.pid
103
+
104
+ # SageMath parsed files
105
+ *.sage.py
106
+
107
+ # Environments
108
+ .env
109
+ .venv
110
+ env/
111
+ venv/
112
+ ENV/
113
+ env.bak/
114
+ venv.bak/
115
+
116
+ # Spyder project settings
117
+ .spyderproject
118
+ .spyproject
119
+
120
+ # Rope project settings
121
+ .ropeproject
122
+
123
+ # mkdocs documentation
124
+ /site
125
+
126
+ # mypy
127
+ .mypy_cache/
128
+ .dmypy.json
129
+ dmypy.json
130
+
131
+ # Pyre type checker
132
+ .pyre/
133
+
134
+ # pytype static type analyzer
135
+ .pytype/
136
+
137
+ # Cython debug symbols
138
+ cython_debug/
139
+
140
+ # setuptools_scm
141
+ src/*/_version.py
142
+
143
+
144
+ # ruff
145
+ .ruff_cache/
146
+
147
+ # OS specific stuff
148
+ .DS_Store
149
+ .DS_Store?
150
+ ._*
151
+ .Spotlight-V100
152
+ .Trashes
153
+ ehthumbs.db
154
+ Thumbs.db
155
+
156
+ # Common editor files
157
+ *~
158
+ *.swp
159
+ *.ipynb
160
+ *.fits
161
+
162
+ .idea
163
+
164
+ # version file
165
+ sdhdf/_version.py
166
+ docs/examples/demo.rst
167
+ docs/examples/output_*
@@ -0,0 +1,80 @@
1
+ ci:
2
+ autoupdate_commit_msg: "chore: update pre-commit hooks"
3
+ autofix_commit_msg: "style: pre-commit fixes"
4
+
5
+ repos:
6
+ - repo: https://github.com/adamchainz/blacken-docs
7
+ rev: "1.19.1"
8
+ hooks:
9
+ - id: blacken-docs
10
+ additional_dependencies: [black==24.*]
11
+
12
+ - repo: https://github.com/pre-commit/pre-commit-hooks
13
+ rev: "v5.0.0"
14
+ hooks:
15
+ - id: check-added-large-files
16
+ - id: check-case-conflict
17
+ - id: check-merge-conflict
18
+ - id: check-symlinks
19
+ - id: check-yaml
20
+ - id: debug-statements
21
+ - id: end-of-file-fixer
22
+ - id: mixed-line-ending
23
+ - id: name-tests-test
24
+ args: ["--pytest-test-first"]
25
+ - id: requirements-txt-fixer
26
+ - id: trailing-whitespace
27
+
28
+ - repo: https://github.com/pre-commit/pygrep-hooks
29
+ rev: "v1.10.0"
30
+ hooks:
31
+ - id: rst-backticks
32
+ - id: rst-directive-colons
33
+ - id: rst-inline-touching-normal
34
+
35
+ - repo: https://github.com/astral-sh/ruff-pre-commit
36
+ rev: "v0.11.2"
37
+ hooks:
38
+ - id: ruff
39
+ args: ["--fix", "--show-fixes"]
40
+ - id: ruff-format
41
+
42
+ - repo: https://github.com/pre-commit/mirrors-mypy
43
+ rev: "v1.15.0"
44
+ hooks:
45
+ - id: mypy
46
+ files: sdhdf|tests
47
+ args: ["--ignore-missing-imports"]
48
+ additional_dependencies:
49
+ - pytest
50
+ - pydantic
51
+
52
+ - repo: https://github.com/codespell-project/codespell
53
+ rev: "v2.4.1"
54
+ hooks:
55
+ - id: codespell
56
+
57
+ - repo: https://github.com/shellcheck-py/shellcheck-py
58
+ rev: "v0.10.0.1"
59
+ hooks:
60
+ - id: shellcheck
61
+
62
+ - repo: https://github.com/abravalheri/validate-pyproject
63
+ rev: "v0.24.1"
64
+ hooks:
65
+ - id: validate-pyproject
66
+ additional_dependencies: ["validate-pyproject-schema-store[all]"]
67
+
68
+ - repo: https://github.com/python-jsonschema/check-jsonschema
69
+ rev: "0.32.1"
70
+ hooks:
71
+ - id: check-dependabot
72
+ - id: check-github-workflows
73
+ - id: check-readthedocs
74
+
75
+ - repo: https://github.com/kynan/nbstripout
76
+ rev: 0.8.1
77
+ hooks:
78
+ - id: nbstripout
79
+
80
+ exclude: "spinifex/data/tests/test.MS/"
@@ -0,0 +1,17 @@
1
+ # Read the Docs configuration file
2
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
+
4
+ version: 2
5
+
6
+ build:
7
+ os: ubuntu-22.04
8
+ tools:
9
+ python: "3.12"
10
+ commands:
11
+ - asdf plugin add uv
12
+ - asdf install uv latest
13
+ - asdf global uv latest
14
+ - uv venv
15
+ - uv pip install .[dev]
16
+ - .venv/bin/python -m sphinx -T -b html -d docs/_build/doctrees -D
17
+ language=en docs $READTHEDOCS_OUTPUT/html
sdhdf-2025.4.1/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 CSIRO
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,152 @@
1
+ Metadata-Version: 2.4
2
+ Name: sdhdf
3
+ Version: 2025.4.1
4
+ Summary: A collection of tools for interrogating Spectral-Domain Hierarchical Data Format (SDHDF) files
5
+ Project-URL: Homepage, https://bitbucket.csiro.au/projects/CPDA/repos/sdhdf_tools/browse
6
+ Project-URL: Bug Tracker, https://jira.csiro.au/projects/CPDA/
7
+ Author: Lawrence Toomey, George Hobbs, Alec Thomson
8
+ License: MIT License
9
+
10
+ Copyright (c) 2025 CSIRO
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+ License-File: LICENSE
30
+ Classifier: Development Status :: 3 - Alpha
31
+ Classifier: Environment :: Web Environment
32
+ Classifier: Intended Audience :: Developers
33
+ Classifier: Intended Audience :: Science/Research
34
+ Classifier: License :: OSI Approved :: MIT License
35
+ Classifier: Operating System :: OS Independent
36
+ Classifier: Programming Language :: Python
37
+ Classifier: Programming Language :: Python :: 3
38
+ Classifier: Programming Language :: Python :: 3 :: Only
39
+ Classifier: Programming Language :: Python :: 3.9
40
+ Classifier: Programming Language :: Python :: 3.10
41
+ Classifier: Programming Language :: Python :: 3.11
42
+ Classifier: Programming Language :: Python :: 3.12
43
+ Classifier: Programming Language :: Python :: 3.13
44
+ Classifier: Topic :: Scientific/Engineering
45
+ Classifier: Topic :: Scientific/Engineering :: Astronomy
46
+ Classifier: Typing :: Typed
47
+ Requires-Python: >=3.9
48
+ Requires-Dist: astropy>=5
49
+ Requires-Dist: dask
50
+ Requires-Dist: distributed
51
+ Requires-Dist: h5py>=3.7
52
+ Requires-Dist: matplotlib>=3.5
53
+ Requires-Dist: numpy>=1.21
54
+ Requires-Dist: pandas>=1.4
55
+ Requires-Dist: tables>=3.7
56
+ Requires-Dist: tabulate
57
+ Requires-Dist: tqdm
58
+ Requires-Dist: xarray>=2022
59
+ Provides-Extra: dev
60
+ Requires-Dist: furo; extra == 'dev'
61
+ Requires-Dist: ipykernel; extra == 'dev'
62
+ Requires-Dist: jupyter; extra == 'dev'
63
+ Requires-Dist: myst-parser; extra == 'dev'
64
+ Requires-Dist: nbconvert>=7.2; extra == 'dev'
65
+ Requires-Dist: nbsphinx; extra == 'dev'
66
+ Requires-Dist: nox; extra == 'dev'
67
+ Requires-Dist: pre-commit; extra == 'dev'
68
+ Requires-Dist: pytest-cov>=3; extra == 'dev'
69
+ Requires-Dist: pytest>=6; extra == 'dev'
70
+ Requires-Dist: ruff>=0.9.9; extra == 'dev'
71
+ Requires-Dist: sphinx-argparse; extra == 'dev'
72
+ Requires-Dist: sphinx-autoapi>=2; extra == 'dev'
73
+ Requires-Dist: sphinx-autodoc-typehints; extra == 'dev'
74
+ Requires-Dist: sphinx-mdinclude>=0.5; extra == 'dev'
75
+ Requires-Dist: sphinx-rtd-theme>=1.1; extra == 'dev'
76
+ Requires-Dist: sphinx>=4.2; extra == 'dev'
77
+ Description-Content-Type: text/markdown
78
+
79
+ # pyINSPECTA
80
+
81
+ [![Actions Status][actions-badge]][actions-link]
82
+ [![Codecov Status][codecov-badge]][codecov-link]
83
+ [![Documentation Status][rtd-badge]][rtd-link]
84
+
85
+ [![PyPI version][pypi-version]][pypi-link]
86
+
87
+ <!-- [![Conda-Forge][conda-badge]][conda-link] -->
88
+
89
+ [![PyPI platforms][pypi-platforms]][pypi-link]
90
+
91
+ <!-- [![GitHub Discussion][github-discussions-badge]][github-discussions-link] -->
92
+
93
+
94
+ <!-- prettier-ignore-start -->
95
+ [codecov-link]: https://codecov.io/gh/AlecThomson/pyINSPECTA
96
+ [codecov-badge]: https://codecov.io/gh/AlecThomson/pyINSPECTA/graph/badge.svg?token=7EARBRN20D
97
+ [actions-badge]: https://github.com/AlecThomson/pyINSPECTA/workflows/CI/badge.svg
98
+ [actions-link]: https://github.com/AlecThomson/pyINSPECTA/actions
99
+ [conda-badge]: https://img.shields.io/conda/vn/conda-forge/sdhdf
100
+ [conda-link]: https://github.com/conda-forge/sdhdf-feedstock
101
+ [github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
102
+ [github-discussions-link]: https://github.com/AlecThomson/pyINSPECTA/discussions
103
+ [pypi-link]: https://pypi.org/project/sdhdf/
104
+ [pypi-platforms]: https://img.shields.io/pypi/pyversions/sdhdf
105
+ [pypi-version]: https://img.shields.io/pypi/v/sdhdf
106
+ [rtd-badge]: https://readthedocs.org/projects/sdhdf/badge/?version=latest
107
+ [rtd-link]: https://pyINSPECTA.readthedocs.io/en/latest/?badge=latest
108
+
109
+
110
+ <!-- prettier-ignore-end -->
111
+
112
+ Python tooling for reading, interactive with, and writing SDHDF files.
113
+
114
+ <!-- SPHINX-START -->
115
+ ## Installation
116
+
117
+ Installing can be done with `pip` (we recommend using `uv`):
118
+
119
+ Stable version from PyPI:
120
+
121
+ ```bash
122
+ pip install sdhdf
123
+ ```
124
+
125
+ Latest version from git:
126
+
127
+ ```bash
128
+ git https://github.com/AlecThomson/pyINSPECTA.git
129
+ cd pyINSPECTA
130
+ pip install -e .
131
+ ```
132
+
133
+ ## Usage
134
+
135
+ ```python
136
+ from sdhdf import SDHDF
137
+
138
+ my_sdhdf = SDHDF("myfile.hdf")
139
+ ```
140
+
141
+ Full documentation on [Read the Docs](https://pyinspecta.readthedocs.io/en/latest/).
142
+
143
+ ## Contributing
144
+
145
+ Contributions are welcome! Please be sure to install the developer tools and pre-commit hooks:
146
+
147
+ ```bash
148
+ git https://github.com/AlecThomson/pyINSPECTA.git
149
+ cd pyINSPECTA
150
+ pip install -e .[dev]
151
+ pre-commit install
152
+ ```