brainsig 0.1.0__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.
@@ -0,0 +1,245 @@
1
+ ### Linux template
2
+ *~
3
+
4
+ # temporary files which can be created if a process still has a handle open of a deleted file
5
+ .fuse_hidden*
6
+
7
+ # KDE directory preferences
8
+ .directory
9
+
10
+ # Linux trash folder which might appear on any partition or disk
11
+ .Trash-*
12
+
13
+ # .nfs files are created when an open file is removed but is still being accessed
14
+ .nfs*
15
+
16
+ ### Windows template
17
+ # Windows thumbnail cache files
18
+ Thumbs.db
19
+ Thumbs.db:encryptable
20
+ ehthumbs.db
21
+ ehthumbs_vista.db
22
+
23
+ # Dump file
24
+ *.stackdump
25
+
26
+ # Folder config file
27
+ [Dd]esktop.ini
28
+
29
+ # Recycle Bin used on file shares
30
+ $RECYCLE.BIN/
31
+
32
+ # Windows Installer files
33
+ *.cab
34
+ *.msi
35
+ *.msix
36
+ *.msm
37
+ *.msp
38
+
39
+ # Windows shortcuts
40
+ *.lnk
41
+
42
+ ### JupyterNotebooks template
43
+ # gitignore template for Jupyter Notebooks
44
+ # website: http://jupyter.org/
45
+
46
+ .ipynb_checkpoints
47
+ */.ipynb_checkpoints/*
48
+
49
+ # IPython
50
+ profile_default/
51
+ ipython_config.py
52
+
53
+ # Remove previous ipynb_checkpoints
54
+ # git rm -r .ipynb_checkpoints/
55
+
56
+ ### macOS template
57
+ # General
58
+ .DS_Store
59
+ .AppleDouble
60
+ .LSOverride
61
+
62
+ # Icon must end with two \r
63
+ Icon
64
+
65
+ # Thumbnails
66
+ ._*
67
+
68
+ # Files that might appear in the root of a volume
69
+ .DocumentRevisions-V100
70
+ .fseventsd
71
+ .Spotlight-V100
72
+ .TemporaryItems
73
+ .Trashes
74
+ .VolumeIcon.icns
75
+ .com.apple.timemachine.donotpresent
76
+
77
+ # Directories potentially created on remote AFP share
78
+ .AppleDB
79
+ .AppleDesktop
80
+ Network Trash Folder
81
+ Temporary Items
82
+ .apdisk
83
+
84
+ ### Python template
85
+ # Byte-compiled / optimized / DLL files
86
+ __pycache__/
87
+ *.py[cod]
88
+ *$py.class
89
+
90
+ # C extensions
91
+ *.so
92
+
93
+ # Distribution / packaging
94
+ .Python
95
+ build/
96
+ develop-eggs/
97
+ dist/
98
+ downloads/
99
+ eggs/
100
+ .eggs/
101
+ lib/
102
+ lib64/
103
+ parts/
104
+ sdist/
105
+ var/
106
+ wheels/
107
+ share/python-wheels/
108
+ *.egg-info/
109
+ .installed.cfg
110
+ *.egg
111
+ MANIFEST
112
+
113
+ # PyInstaller
114
+ # Usually these files are written by a python script from a template
115
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
116
+ *.manifest
117
+ *.spec
118
+
119
+ # Installer logs
120
+ pip-log.txt
121
+ pip-delete-this-directory.txt
122
+
123
+ # Unit test / coverage reports
124
+ htmlcov/
125
+ .tox/
126
+ .nox/
127
+ .coverage
128
+ .coverage.*
129
+ .cache
130
+ nosetests.xml
131
+ coverage.xml
132
+ *.cover
133
+ *.py,cover
134
+ .hypothesis/
135
+ .pytest_cache/
136
+ cover/
137
+
138
+ # Translations
139
+ *.mo
140
+ *.pot
141
+
142
+ # Django stuff:
143
+ *.log
144
+ local_settings.py
145
+ db.sqlite3
146
+ db.sqlite3-journal
147
+
148
+ # Flask stuff:
149
+ instance/
150
+ .webassets-cache
151
+
152
+ # Scrapy stuff:
153
+ .scrapy
154
+
155
+ # Sphinx documentation
156
+ docs/_build/
157
+ docs/api
158
+
159
+ # PyBuilder
160
+ .pybuilder/
161
+ target/
162
+
163
+ # Jupyter Notebook
164
+
165
+ # IPython
166
+
167
+ # pyenv
168
+ # For a library or package, you might want to ignore these files since the code is
169
+ # intended to run in multiple environments; otherwise, check them in:
170
+ # .python-version
171
+
172
+ # pipenv
173
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
174
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
175
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
176
+ # install all needed dependencies.
177
+ #Pipfile.lock
178
+
179
+ # poetry
180
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
181
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
182
+ # commonly ignored for libraries.
183
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
184
+ #poetry.lock
185
+
186
+ # pdm
187
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
188
+ #pdm.lock
189
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
190
+ # in version control.
191
+ # https://pdm.fming.dev/#use-with-ide
192
+ .pdm.toml
193
+
194
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
195
+ __pypackages__/
196
+
197
+ # Celery stuff
198
+ celerybeat-schedule
199
+ celerybeat.pid
200
+
201
+ # SageMath parsed files
202
+ *.sage.py
203
+
204
+ # Environments
205
+ .env
206
+ .venv
207
+ env/
208
+ venv/
209
+ ENV/
210
+ env.bak/
211
+ venv.bak/
212
+
213
+ # Spyder project settings
214
+ .spyderproject
215
+ .spyproject
216
+
217
+ # Rope project settings
218
+ .ropeproject
219
+
220
+ # mkdocs documentation
221
+ /site
222
+
223
+ # mypy
224
+ .mypy_cache/
225
+ .dmypy.json
226
+ dmypy.json
227
+
228
+ # Pyre type checker
229
+ .pyre/
230
+
231
+ # pytype static type analyzer
232
+ .pytype/
233
+
234
+ # Cython debug symbols
235
+ cython_debug/
236
+
237
+ # PyCharm
238
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
239
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
240
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
241
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
242
+ #.idea/
243
+
244
+ # Hatch-VCS
245
+ _version.py
brainsig-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Tony Barrows
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice (including the next
13
+ paragraph) shall be included in all copies or substantial portions of the
14
+ Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
19
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
20
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,80 @@
1
+ Metadata-Version: 2.4
2
+ Name: brainsig
3
+ Version: 0.1.0
4
+ Summary: A package for computing 'neural signatures' from fMRI data.
5
+ Project-URL: Homepage, https://github.com/ajbarrow/brainsig
6
+ Project-URL: Source Code, https://github.com/ajbarrow/brainsig
7
+ Project-URL: Bug Tracker, https://github.com/ajbarrow/brainsig/issues
8
+ Project-URL: Documentation, https://brainsig.readthedocs.io
9
+ Project-URL: Download, https://pypi.org/project/brainsig/#files
10
+ Author-email: Tony Barrows <ajbarrow@uvm.edu>
11
+ License-Expression: MIT
12
+ License-File: LICENSE
13
+ Classifier: Development Status :: 2 - Pre-Alpha
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3 :: Only
18
+ Requires-Python: >=3.10
19
+ Requires-Dist: numpy>=1.24
20
+ Requires-Dist: pandas>=2.0
21
+ Requires-Dist: scikit-learn>=1.3
22
+ Provides-Extra: build
23
+ Requires-Dist: pip; extra == 'build'
24
+ Requires-Dist: pip-audit; extra == 'build'
25
+ Requires-Dist: twine; extra == 'build'
26
+ Provides-Extra: dev
27
+ Requires-Dist: hatch; extra == 'dev'
28
+ Requires-Dist: pre-commit; extra == 'dev'
29
+ Provides-Extra: docs
30
+ Requires-Dist: myst-parser>=4.0; extra == 'docs'
31
+ Requires-Dist: pydata-sphinx-theme~=0.16; extra == 'docs'
32
+ Requires-Dist: sphinx-autoapi>=3.6.0; extra == 'docs'
33
+ Requires-Dist: sphinx-autobuild>=2024.10.3; extra == 'docs'
34
+ Requires-Dist: sphinx-copybutton>=0.5.2; extra == 'docs'
35
+ Requires-Dist: sphinx-design>=0.6.1; extra == 'docs'
36
+ Requires-Dist: sphinx~=8.0; extra == 'docs'
37
+ Provides-Extra: style
38
+ Requires-Dist: pydoclint; extra == 'style'
39
+ Requires-Dist: ruff; extra == 'style'
40
+ Provides-Extra: tests
41
+ Requires-Dist: pytest; extra == 'tests'
42
+ Requires-Dist: pytest-cov; extra == 'tests'
43
+ Requires-Dist: pytest-raises; extra == 'tests'
44
+ Requires-Dist: pytest-randomly; extra == 'tests'
45
+ Requires-Dist: pytest-xdist; extra == 'tests'
46
+ Description-Content-Type: text/markdown
47
+
48
+ # Welcome to brainsig
49
+
50
+ | | |
51
+ |--------|--------|
52
+ | Package | [![Latest PyPI Version](https://img.shields.io/pypi/v/brainsig.svg)](https://pypi.org/project/brainsig/) [![Supported Python Versions](https://img.shields.io/pypi/pyversions/brainsig.svg)](https://pypi.org/project/brainsig/) [![Documentation](https://readthedocs.org/projects/brainsig/badge/?version=latest)](https://brainsig.readthedocs.io/en/latest/?badge=latest) |
53
+ | Meta | [![Code of Conduct](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md) |
54
+
55
+ *TODO: the above badges that indicate python version and package version will only work if your package is on PyPI.
56
+ If you don't plan to publish to PyPI, you can remove them.*
57
+
58
+ brainsig is a project that (describe what it does here).
59
+
60
+ ## Get started
61
+
62
+ You can install this package into your preferred Python environment using pip:
63
+
64
+ ```bash
65
+ $ pip install brainsig
66
+ ```
67
+
68
+ TODO: Add a brief example of how to use the package to this section
69
+
70
+ To use brainsig in your code:
71
+
72
+ ```python
73
+ >>> import brainsig
74
+ >>> brainsig.hello_world()
75
+ ```
76
+
77
+ ## Copyright
78
+
79
+ - Copyright © 2025 Tony Barrows.
80
+ - Free software distributed under the [MIT License](./LICENSE).
@@ -0,0 +1,33 @@
1
+ # Welcome to brainsig
2
+
3
+ | | |
4
+ |--------|--------|
5
+ | Package | [![Latest PyPI Version](https://img.shields.io/pypi/v/brainsig.svg)](https://pypi.org/project/brainsig/) [![Supported Python Versions](https://img.shields.io/pypi/pyversions/brainsig.svg)](https://pypi.org/project/brainsig/) [![Documentation](https://readthedocs.org/projects/brainsig/badge/?version=latest)](https://brainsig.readthedocs.io/en/latest/?badge=latest) |
6
+ | Meta | [![Code of Conduct](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md) |
7
+
8
+ *TODO: the above badges that indicate python version and package version will only work if your package is on PyPI.
9
+ If you don't plan to publish to PyPI, you can remove them.*
10
+
11
+ brainsig is a project that (describe what it does here).
12
+
13
+ ## Get started
14
+
15
+ You can install this package into your preferred Python environment using pip:
16
+
17
+ ```bash
18
+ $ pip install brainsig
19
+ ```
20
+
21
+ TODO: Add a brief example of how to use the package to this section
22
+
23
+ To use brainsig in your code:
24
+
25
+ ```python
26
+ >>> import brainsig
27
+ >>> brainsig.hello_world()
28
+ ```
29
+
30
+ ## Copyright
31
+
32
+ - Copyright © 2025 Tony Barrows.
33
+ - Free software distributed under the [MIT License](./LICENSE).
@@ -0,0 +1,267 @@
1
+ ################################################################################
2
+ # Build Configuration
3
+ ################################################################################
4
+
5
+ [build-system]
6
+ build-backend = "hatchling.build"
7
+ requires = ["hatchling", "hatch-vcs"]
8
+
9
+ ################################################################################
10
+ # Project Configuration
11
+ ################################################################################
12
+
13
+ [project]
14
+ name = "brainsig"
15
+ # You can chose to use dynamic versioning with hatch or static where you add it manually.
16
+ version = "0.1.0"
17
+ description = "A package for computing 'neural signatures' from fMRI data."
18
+ authors = [
19
+ { name = "Tony Barrows", email = "ajbarrow@uvm.edu" },
20
+ ]
21
+ license = "MIT"
22
+ requires-python = ">= 3.10" # Adjust based on the minimum version of Python that you support
23
+ readme = {"file" = "README.md", "content-type" = "text/markdown"}
24
+ # Please consult https://pypi.org/classifiers/ for a full list.
25
+ classifiers = [
26
+ "Development Status :: 2 - Pre-Alpha",
27
+ "Intended Audience :: Science/Research",
28
+ "License :: OSI Approved :: MIT License",
29
+ "Operating System :: OS Independent",
30
+ "Programming Language :: Python :: 3 :: Only",
31
+ ]
32
+ # TODO: add keywords
33
+ keywords = []
34
+
35
+ dependencies = [
36
+ "numpy>=1.24",
37
+ "pandas>=2.0",
38
+ "scikit-learn>=1.3",
39
+ ]
40
+
41
+ [project.urls]
42
+ Homepage = "https://github.com/ajbarrow/brainsig"
43
+ "Source Code" = "https://github.com/ajbarrow/brainsig"
44
+ "Bug Tracker" = "https://github.com/ajbarrow/brainsig/issues"
45
+ Documentation = "https://brainsig.readthedocs.io"
46
+ Download = "https://pypi.org/project/brainsig/#files"
47
+
48
+ [project.optional-dependencies]
49
+ dev = [
50
+ "hatch",
51
+ "pre-commit",
52
+ ]
53
+
54
+ docs = [
55
+ "sphinx~=8.0",
56
+ "myst-parser>=4.0",
57
+ "pydata-sphinx-theme~=0.16",
58
+ "sphinx-autobuild>=2024.10.3",
59
+ "sphinx-autoapi>=3.6.0",
60
+ "sphinx-design>=0.6.1",
61
+ "sphinx-copybutton>=0.5.2",
62
+ ]
63
+
64
+ build = [
65
+ "pip-audit",
66
+ "pip",
67
+ "twine",
68
+ ]
69
+ tests = [
70
+ "pytest",
71
+ "pytest-cov",
72
+ "pytest-raises",
73
+ "pytest-randomly",
74
+ "pytest-xdist",
75
+ ]
76
+
77
+ style = [
78
+ "pydoclint",
79
+ "ruff",
80
+ ]
81
+
82
+
83
+ ################################################################################
84
+ # Tool Configuration
85
+ ################################################################################
86
+
87
+ # Hatch is building your package's wheel and sdist
88
+ # This tells hatch to only include Python packages (i.e., folders with __init__.py) in the build.
89
+ # read more about package building, here:
90
+ # https://www.pyopensci.org/python-package-guide/package-structure-code/python-package-distribution-files-sdist-wheel.html
91
+ [tool.hatch.build]
92
+ only-packages = true
93
+
94
+ # This tells Hatch to build the package from the src/me directory.
95
+ # Read more about src layouts here: https://www.pyopensci.org/python-package-guide/package-structure-code/python-package-structure.html
96
+ [tool.hatch.build.targets.wheel]
97
+ packages = ["src/brainsig"]
98
+ # Commented out VCS versioning - using static version instead
99
+ # [tool.hatch.build.hooks.vcs]
100
+ # version-file = "src/brainsig/_version.py"
101
+
102
+ # [tool.hatch.version]
103
+ # source = "vcs"
104
+
105
+ ######## Configure pytest for your test suite ########
106
+ [tool.pytest.ini_options]
107
+ testpaths = ["tests"] # Tells pytest what directory tests are in
108
+ markers = ["raises"] # Tells pytest to not raise a warning if you use @pytest.mark.raises
109
+
110
+ [tool.coverage.paths]
111
+ source = [
112
+ "src/brainsig",
113
+ "*/site-packages/brainsig",
114
+ ]
115
+
116
+ [tool.coverage.run]
117
+ # Ensures code coverage is measured for branches (conditional statements with different outcomes) in your code.
118
+ branch = true
119
+ parallel = true
120
+ omit = [
121
+ "src/brainsig/_version.py",
122
+ ]
123
+
124
+ [tool.coverage.report]
125
+ # This configures the output test coverage report
126
+ exclude_lines = ["pragma: no cover"]
127
+ precision = 2
128
+ [tool.ruff]
129
+ line-length = 88
130
+
131
+ [tool.ruff.lint]
132
+ select = ["ALL"]
133
+ ignore = [
134
+ "D107", # 'Missing docstring in __init__' ignored because pydoclint wants us to document the class instead.
135
+ "D203", # '1 blank line required before class docstring' ignored because we want no blank line.
136
+ "D212", # 'Multi-line docstring summary should start at the first line' ignored because we want the summary to start on the second line.
137
+ "D407", # 'Missing dashed underline after section' ignored because Google style docstrings don't underline.
138
+ "D413", # 'Missing blank line after section' ignored .
139
+ "D401", # 'First line should be in imperative mood' ignored
140
+ "ANN001", # Missing type annotation for {arg} in function" ignored
141
+ "ANN201", # 'Missing type annotation for {return}'.
142
+ ]
143
+ exclude = [
144
+ "src/brainsig/_version.py",
145
+ "docs/conf.py",
146
+ ]
147
+
148
+ [tool.ruff.lint.extend-per-file-ignores]
149
+ "__init__.py" = [
150
+ "E401", # 'Multiple imports on one line'
151
+ "E402", # 'Module level import not at top of file'
152
+ "F401", # 'Imported but unused'
153
+ "I001", # 'Import block is un-sorted or un-formatted' ignored because we may have to import in a particular, not-alphabetical order.
154
+ ]
155
+ "tests/**/*.py" = [
156
+ "S101", # 'Use of assert detected' ignored because we are using pytest.
157
+ "INP001", # 'Insecure input' ignored because we are testing.
158
+ "ANN201", # 'Missing type annotation for {return}' ignored because all tests return `None`.
159
+ ]
160
+ "src/brainsig/dataset.py" = [
161
+ "PLR0913", # Too many arguments - acceptable for data processing __init__
162
+ "N806", # Variable names like X, X_processed follow scikit-learn conventions
163
+ ]
164
+ "src/brainsig/model.py" = [
165
+ "N806", # Variable names like X, X_processed follow scikit-learn conventions
166
+ "PLR0913", # Too many arguments - acceptable for model configuration
167
+ "C901", # Complexity - get_model_scores handles multiple scoring scenarios
168
+ "PLR0912", # Too many branches - get_model_scores handles multiple cases
169
+ "PLR2004", # Magic value 2 for binary vs multiclass is clear in context
170
+ ]
171
+
172
+ [tool.ruff.lint.isort]
173
+ case-sensitive = true
174
+ known-first-party = ["src", "brainsig"]
175
+ lines-after-imports = 1
176
+
177
+ [tool.pydoclint]
178
+ style = "numpy"
179
+ arg-type-hints-in-signature = false
180
+ arg-type-hints-in-docstring = true
181
+ check-return-types = false
182
+ check-yield-types = false
183
+ exclude = "_version.py"
184
+
185
+
186
+
187
+ # Use UV to create Hatch environments
188
+ [tool.hatch.envs.default]
189
+ installer = "uv"
190
+
191
+ ################################################################################
192
+ # Hatch Environments
193
+ ################################################################################
194
+
195
+ #--------------- Build and check your package ---------------#
196
+
197
+ # This table installs the tools you need to test and build your package
198
+ [tool.hatch.envs.build]
199
+ description = """Test the installation the package."""
200
+ features = [
201
+ "build",
202
+ ]
203
+ detached = true
204
+
205
+ # This table installs created the command hatch run install:check which will build and check your package.
206
+ [tool.hatch.envs.build.scripts]
207
+ check = [
208
+ "hatch build {args:--clean}",
209
+ "twine check dist/*",
210
+ ]
211
+
212
+ #--------------- Run tests ---------------#
213
+
214
+
215
+ [tool.hatch.envs.test]
216
+ description = """Run the test suite."""
217
+ features = [
218
+ "tests",
219
+ ]
220
+
221
+ [[tool.hatch.envs.test.matrix]]
222
+ python = ["3.10", "3.11", "3.12", "3.13"]
223
+
224
+ [tool.hatch.envs.test.scripts]
225
+ run = "pytest {args:--cov=brainsig --cov-report=term-missing}"
226
+
227
+ #--------------- Build and preview your documentation ---------------#
228
+
229
+ # This sets up a hatch environment with associated dependencies that need to be installed
230
+ [tool.hatch.envs.docs]
231
+ description = """Build or serve the documentation."""
232
+ # Install optional dependency test for docs
233
+ features = [
234
+ "docs",
235
+ ]
236
+
237
+ # This table contains the scripts that you can use to build and serve your docs
238
+ # hatch run docs:build will build your documentation
239
+ # hatch run docs:serve will serve them 'live' on your computer locally
240
+ [tool.hatch.envs.docs.scripts]
241
+ build = ["sphinx-apidoc -o docs/api src/brainsig", "sphinx-build {args:-W -b html docs docs/_build}"]
242
+ serve = ["sphinx-apidoc -o docs/api src/brainsig", "sphinx-autobuild docs --watch src/brainsig {args:-b html docs/_build/serve}"]
243
+ #--------------- Format & style your code ---------------#
244
+
245
+ [tool.hatch.envs.style]
246
+ description = """Check the code and documentation style."""
247
+ features = [
248
+ "style",
249
+ ]
250
+ detached = true
251
+
252
+ [tool.hatch.envs.style.scripts]
253
+ docstrings = "pydoclint src/ tests/"
254
+ code = "ruff check {args}"
255
+ format = "ruff format {args}"
256
+ check = ["docstrings", "code"]
257
+
258
+ #--------------- Check security for your dependencies ---------------#
259
+
260
+ [tool.hatch.envs.audit]
261
+ description = """Check dependencies for security vulnerabilities."""
262
+ features = [
263
+ "build",
264
+ ]
265
+
266
+ [tool.hatch.envs.audit.scripts]
267
+ check = ["pip-audit"]
@@ -0,0 +1,29 @@
1
+ # MIT License
2
+ #
3
+ # Copyright (c) 2025 Tony Barrows
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 (including the next
13
+ # paragraph) shall be included in all copies or substantial portions of the
14
+ # Software.
15
+ #
16
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ # SOFTWARE.
23
+
24
+ """
25
+ Add a docstring here for the init module.
26
+
27
+ This might include a very brief description of the package,
28
+ its purpose, and any important notes.
29
+ """