cultivars-engine 0.0.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 (73) hide show
  1. cultivars_engine-0.0.1/.gitignore +211 -0
  2. cultivars_engine-0.0.1/.pre-commit-config.yaml +36 -0
  3. cultivars_engine-0.0.1/.python-version +1 -0
  4. cultivars_engine-0.0.1/AUTHORS.md +14 -0
  5. cultivars_engine-0.0.1/CHANGELOG.md +0 -0
  6. cultivars_engine-0.0.1/CITATION.cff +0 -0
  7. cultivars_engine-0.0.1/LICENSE +21 -0
  8. cultivars_engine-0.0.1/PKG-INFO +34 -0
  9. cultivars_engine-0.0.1/README.md +0 -0
  10. cultivars_engine-0.0.1/codecov.yml +49 -0
  11. cultivars_engine-0.0.1/pyproject.toml +201 -0
  12. cultivars_engine-0.0.1/src/cultivars_engine/__about__.py +33 -0
  13. cultivars_engine-0.0.1/src/cultivars_engine/__init__.py +119 -0
  14. cultivars_engine-0.0.1/src/cultivars_engine/engine/__init__.py +5 -0
  15. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/__init__.py +78 -0
  16. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_containers.py +548 -0
  17. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_converters.py +353 -0
  18. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_defaults.py +419 -0
  19. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_estimators.py +3454 -0
  20. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_loaders.py +55 -0
  21. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_mappings.py +171 -0
  22. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_matrices.py +997 -0
  23. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_notes.py +152 -0
  24. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_polynomials.py +324 -0
  25. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_protocols.py +212 -0
  26. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_recursions.py +229 -0
  27. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_reparams.py +158 -0
  28. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_rotations.py +229 -0
  29. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_samplers.py +1168 -0
  30. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_scales.py +37 -0
  31. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_scores.py +278 -0
  32. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_spectra.py +406 -0
  33. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_transforms.py +438 -0
  34. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_types.py +171 -0
  35. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_validators.py +1511 -0
  36. cultivars_engine-0.0.1/src/cultivars_engine/engine/_core/_wavelets.py +389 -0
  37. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/__init__.py +161 -0
  38. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_assessments.py +534 -0
  39. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_chains.py +498 -0
  40. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_coefficients.py +77 -0
  41. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_covariances.py +509 -0
  42. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_emitters.py +533 -0
  43. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_engines.py +275 -0
  44. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_filters.py +162 -0
  45. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_fits.py +1987 -0
  46. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_inferences.py +149 -0
  47. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_layouts.py +135 -0
  48. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_levels.py +120 -0
  49. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_means.py +427 -0
  50. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_mixins.py +1878 -0
  51. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_models.py +8188 -0
  52. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_moments.py +143 -0
  53. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_objectives.py +2237 -0
  54. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_parameters.py +647 -0
  55. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_posteriors.py +1465 -0
  56. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_predictors.py +341 -0
  57. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_priors.py +1058 -0
  58. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_results.py +2231 -0
  59. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_selections.py +764 -0
  60. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_simulators.py +646 -0
  61. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_smoothers.py +124 -0
  62. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_solutions.py +139 -0
  63. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_solvers.py +611 -0
  64. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_specifications.py +222 -0
  65. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_states.py +105 -0
  66. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_substrates.py +2450 -0
  67. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_systems.py +220 -0
  68. cultivars_engine-0.0.1/src/cultivars_engine/engine/_internals/_tests.py +997 -0
  69. cultivars_engine-0.0.1/src/cultivars_engine/exceptions.py +280 -0
  70. cultivars_engine-0.0.1/src/cultivars_engine/py.typed +0 -0
  71. cultivars_engine-0.0.1/src/cultivars_engine/summary.py +86 -0
  72. cultivars_engine-0.0.1/src/cultivars_engine/typing/__init__.py +133 -0
  73. cultivars_engine-0.0.1/uv.lock +4865 -0
@@ -0,0 +1,211 @@
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
+ wheels/
22
+ share/python-wheels/
23
+ *.egg-info/
24
+ .installed.cfg
25
+ *.egg
26
+ MANIFEST
27
+
28
+ # PyInstaller
29
+ # Usually these files are written by a python script from a template
30
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
31
+ *.manifest
32
+ *.spec
33
+
34
+ # Installer logs
35
+ pip-log.txt
36
+ pip-delete-this-directory.txt
37
+
38
+ # Unit test / coverage reports
39
+ htmlcov/
40
+ .tox/
41
+ .nox/
42
+ .coverage
43
+ .coverage.*
44
+ .cache
45
+ nosetests.xml
46
+ coverage.xml
47
+ *.cover
48
+ *.py,cover
49
+ .hypothesis/
50
+ .pytest_cache/
51
+ cover/
52
+
53
+ # Translations
54
+ *.mo
55
+ *.pot
56
+
57
+ # Django stuff:
58
+ *.log
59
+ local_settings.py
60
+ db.sqlite3
61
+ db.sqlite3-journal
62
+
63
+ # Flask stuff:
64
+ instance/
65
+ .webassets-cache
66
+
67
+ # Scrapy stuff:
68
+ .scrapy
69
+
70
+ # Sphinx documentation
71
+ docs/_build/
72
+
73
+ # PyBuilder
74
+ .pybuilder/
75
+ target/
76
+
77
+ # Jupyter Notebook
78
+ .ipynb_checkpoints
79
+
80
+ # IPython
81
+ profile_default/
82
+ ipython_config.py
83
+
84
+ # pyenv
85
+ # For a library or package, you might want to ignore these files since the code is
86
+ # intended to run in multiple environments; otherwise, check them in:
87
+ # .python-version
88
+
89
+ # pipenv
90
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
91
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
92
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
93
+ # install all needed dependencies.
94
+ #Pipfile.lock
95
+
96
+ # UV
97
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
98
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
99
+ # commonly ignored for libraries.
100
+ #uv.lock
101
+
102
+ # poetry
103
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
104
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
105
+ # commonly ignored for libraries.
106
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
107
+ #poetry.lock
108
+
109
+ # pdm
110
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
111
+ #pdm.lock
112
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
113
+ # in version control.
114
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
115
+ .pdm.toml
116
+ .pdm-python
117
+ .pdm-build/
118
+
119
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
120
+ __pypackages__/
121
+
122
+ # Celery stuff
123
+ celerybeat-schedule
124
+ celerybeat.pid
125
+
126
+ # SageMath parsed files
127
+ *.sage.py
128
+
129
+ # Environments
130
+ .env
131
+ .venv
132
+ env/
133
+ venv/
134
+ ENV/
135
+ env.bak/
136
+ venv.bak/
137
+
138
+ # Spyder project settings
139
+ .spyderproject
140
+ .spyproject
141
+
142
+ # Rope project settings
143
+ .ropeproject
144
+
145
+ # mkdocs documentation
146
+ /site
147
+
148
+ # mypy
149
+ .mypy_cache/
150
+ .dmypy.json
151
+ dmypy.json
152
+
153
+ # Pyre type checker
154
+ .pyre/
155
+
156
+ # pytype static type analyzer
157
+ .pytype/
158
+
159
+ # Cython debug symbols
160
+ cython_debug/
161
+
162
+ # PyCharm
163
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
164
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
165
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
166
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
167
+ #.idea/
168
+
169
+ # PyPI configuration file
170
+ .pypirc
171
+
172
+ .DS_Store
173
+ .vscode/settings.json
174
+ .vscode
175
+ /.DS_Store
176
+ .conda
177
+ .conda/
178
+ node_modules/
179
+ .coverage
180
+ conda-dist/
181
+
182
+ # Others
183
+ /.docs
184
+ .ruff_cache/
185
+ ._to_delete/
186
+
187
+
188
+ docs/source/api/generated/
189
+ docs/source/engine/generated
190
+
191
+
192
+ # Sphinx build output, including the local switcher preview tree
193
+ docs/build/
194
+
195
+ # sphinx-gallery: rendered examples, their notebooks/zips, and the
196
+ # per-object backreference stubs (all regenerated on every build)
197
+ docs/source/auto_examples/
198
+ docs/source/gen_modules/
199
+ docs/source/sg_execution_times.rst
200
+
201
+ # autosummary stubs (the workflow deletes these before each build)
202
+ docs/source/**/generated/
203
+
204
+ # matplotlib plot_directive output
205
+ docs/source/**/plot_directive/
206
+
207
+ # sphinx-tippy and sphinx-last-updated-by-git caches live in the build
208
+ # tree; nothing to add. The IndexNow key is written by CI from a secret
209
+ # and must never be committed under any name.
210
+ docs/source/*.txt
211
+ !docs/source/robots.txt
@@ -0,0 +1,36 @@
1
+ repos:
2
+ - repo: local
3
+ hooks:
4
+ - id: ruff-check
5
+ name: ruff check
6
+ entry: uv run ruff check --fix
7
+ language: system
8
+ types_or: [python, pyi]
9
+ require_serial: true
10
+ - id: ruff-format
11
+ name: ruff format
12
+ entry: uv run ruff format
13
+ language: system
14
+ types_or: [python, pyi]
15
+ require_serial: true
16
+ - id: mypy
17
+ name: mypy
18
+ entry: uv run mypy src
19
+ language: system
20
+ pass_filenames: false # whole-package view, not per-changed-file
21
+ require_serial: true
22
+
23
+ - repo: https://github.com/pre-commit/pre-commit-hooks
24
+ rev: v6.0.0
25
+ hooks:
26
+ - id: trailing-whitespace
27
+ - id: end-of-file-fixer
28
+ - id: check-toml
29
+ - id: check-yaml
30
+ - id: check-added-large-files
31
+
32
+ - repo: https://github.com/pre-commit/mirrors-prettier
33
+ rev: v4.0.0-alpha.8
34
+ hooks:
35
+ - id: prettier
36
+ exclude: ^conda-forge/meta\.yaml$
@@ -0,0 +1 @@
1
+ 3.14
@@ -0,0 +1,14 @@
1
+ # Authors
2
+
3
+ This project is maintained by:
4
+
5
+ - Nikhil Sunder (@nikhilxsunder)
6
+
7
+ ## Contributors
8
+
9
+ Contributors are listed in the Git history.
10
+
11
+ To see all contributors:
12
+
13
+ - GitHub UI: Insights → Contributors
14
+ - CLI: `git shortlog -sne`
File without changes
File without changes
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Nikhil Sunder
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,34 @@
1
+ Metadata-Version: 2.5
2
+ Name: cultivars-engine
3
+ Version: 0.0.1
4
+ Summary: Research-grade time series econometrics: ARIMA to state space, VAR to structural identification, Bayesian and spectral methods.
5
+ Project-URL: Repository, https://github.com/nikhilxsunder/cultivars-engine/
6
+ Project-URL: Documentation, https://nikhilxsunder.github.io/cultivars-engine/
7
+ Author-email: Nikhil Sunder <nsunder724@gmail.com>
8
+ License: MIT
9
+ License-File: AUTHORS.md
10
+ License-File: LICENSE
11
+ Keywords: Bayesian,Kalman filter,VAR,econometrics,forecasting,macroeconomics,spectral analysis,state space,time series,vector autoregression
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Financial and Insurance Industry
14
+ Classifier: Intended Audience :: Science/Research
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Topic :: Office/Business :: Financial :: Investment
23
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
24
+ Classifier: Typing :: Typed
25
+ Requires-Python: <4.0,>=3.12
26
+ Requires-Dist: fedfred
27
+ Requires-Dist: matplotlib
28
+ Requires-Dist: ns-sdn==1.0.0a1
29
+ Requires-Dist: numpy
30
+ Requires-Dist: scipy
31
+ Provides-Extra: pandas
32
+ Requires-Dist: pandas; extra == 'pandas'
33
+ Provides-Extra: polars
34
+ Requires-Dist: polars; extra == 'polars'
File without changes
@@ -0,0 +1,49 @@
1
+ codecov:
2
+ require_ci_to_pass: true
3
+ notify:
4
+ wait_for_ci: true
5
+
6
+ coverage:
7
+ precision: 2
8
+ round: down
9
+ range: "85...100"
10
+
11
+ status:
12
+ project:
13
+ default:
14
+ target: 100%
15
+ threshold: 1%
16
+ if_ci_failed: error
17
+ informational: false
18
+ only_pulls: false
19
+
20
+ patch:
21
+ default:
22
+ target: 100%
23
+ threshold: 1%
24
+ if_ci_failed: error
25
+ informational: false
26
+
27
+ comment:
28
+ layout: "reach, diff, flags, files"
29
+ behavior: default
30
+ require_changes: false
31
+ require_base: false
32
+ require_head: true
33
+ hide_project_coverage: false
34
+
35
+ ignore:
36
+ - "tests/**"
37
+ - "**/__init__.py"
38
+ - "**/conftest.py"
39
+ - "**/version.py"
40
+ - "**/typing.py"
41
+ - "docs/**"
42
+ - "examples/**"
43
+ - ".venv/**"
44
+
45
+ flags:
46
+ unit:
47
+ paths:
48
+ - src/
49
+ carryforward: false
@@ -0,0 +1,201 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "cultivars-engine"
7
+ dynamic = ["version"]
8
+ description = "Research-grade time series econometrics: ARIMA to state space, VAR to structural identification, Bayesian and spectral methods."
9
+ readme = "README.md"
10
+ license = { text = "MIT" }
11
+ authors = [
12
+ { name = "Nikhil Sunder", email = "nsunder724@gmail.com" }
13
+ ]
14
+ requires-python = ">=3.12,<4.0"
15
+ keywords = [
16
+ "econometrics", "time series", "vector autoregression", "VAR", "state space", "Kalman filter",
17
+ "Bayesian", "spectral analysis", "forecasting", "macroeconomics",
18
+ ]
19
+ classifiers = [
20
+ 'Programming Language :: Python',
21
+ 'Programming Language :: Python :: 3',
22
+ 'Programming Language :: Python :: 3.12',
23
+ 'Programming Language :: Python :: 3.13',
24
+ 'Programming Language :: Python :: 3.14',
25
+ "License :: OSI Approved :: MIT License",
26
+ "Operating System :: OS Independent",
27
+ "Development Status :: 3 - Alpha",
28
+ "Intended Audience :: Science/Research",
29
+ "Intended Audience :: Financial and Insurance Industry",
30
+ "Topic :: Scientific/Engineering :: Mathematics",
31
+ "Topic :: Office/Business :: Financial :: Investment",
32
+ "Typing :: Typed",
33
+ ]
34
+ dependencies = [
35
+ "numpy",
36
+ # "numba",
37
+ "scipy",
38
+ "fedfred",
39
+ "matplotlib",
40
+ "ns-sdn==1.0.0a1",
41
+ ]
42
+
43
+ [project.optional-dependencies]
44
+ pandas = ["pandas"]
45
+ polars = ["polars"]
46
+ # cuda-12 = ["cupy-cuda12x"]
47
+ # cuda-13 = ["cupy-cuda13x"]
48
+ # rocm = ["cupy-rocm-7-0"]
49
+ # mlx = ["mlx"]
50
+
51
+
52
+ [project.urls]
53
+ Repository = "https://github.com/nikhilxsunder/cultivars-engine/"
54
+ Documentation = "https://nikhilxsunder.github.io/cultivars-engine/"
55
+
56
+ # ── Composable dependency groups ─────────────────────────────────────────────
57
+ # Each group is independently installable; `dev` composes all of them.
58
+ # CI jobs use the minimal group they need (e.g. --group test for test runs).
59
+
60
+ [dependency-groups]
61
+ extras = [ "pandas", "polars" ]
62
+ types = [
63
+ "scipy-stubs",
64
+ ]
65
+ test = [
66
+ "pytest",
67
+ "pytest-cov",
68
+ "pytest-asyncio",
69
+ "pytest-mock",
70
+ "hypothesis",
71
+ { include-group = "types" },
72
+ ]
73
+ lint = [
74
+ "ruff",
75
+ "mypy",
76
+ "bandit",
77
+ "pip-audit",
78
+ { include-group = "types" },
79
+ ]
80
+ docs = [
81
+ "sphinx",
82
+ "pydata-sphinx-theme",
83
+ "sphinx-design",
84
+ "sphinx-autodoc-typehints",
85
+ "myst-parser",
86
+ "linkify-it-py",
87
+ "sphinx-sitemap",
88
+ "sphinxext-opengraph",
89
+ "matplotlib",
90
+ "sphinx-codeautolink",
91
+ "sphinx-copybutton",
92
+ "sphinx-remove-toctrees",
93
+ "sphinx-last-updated-by-git",
94
+ "sphinxcontrib-bibtex",
95
+ "sphinx-gallery",
96
+ "sphinx-tippy",
97
+ ]
98
+ notebooks = [
99
+ "jupyterlab",
100
+ "ipykernel",
101
+ "ipympl",
102
+ "ipywidgets",
103
+ "jupyterlab-lsp",
104
+ "nbdime",
105
+ "notebook",
106
+ "matplotlib",
107
+ ]
108
+ tools = [
109
+ "pre-commit",
110
+ "tox",
111
+ "tox-uv",
112
+ { include-group = "types" }
113
+ ]
114
+ dev = [
115
+ { include-group = "types" },
116
+ { include-group = "test" },
117
+ { include-group = "lint" },
118
+ { include-group = "docs" },
119
+ { include-group = "notebooks" },
120
+ { include-group = "tools" },
121
+ ]
122
+
123
+ # ── uv config ────────────────────────────────────────────────────────────────
124
+
125
+ [tool.uv]
126
+ managed = true
127
+
128
+ # ── build ────────────────────────────────────────────────────────────────────
129
+
130
+ [tool.hatch.version]
131
+ path = "src/cultivars_engine/__about__.py"
132
+
133
+ [tool.hatch.build.targets.wheel]
134
+ packages = ["src/cultivars_engine"]
135
+
136
+ [tool.hatch.build.targets.sdist]
137
+ exclude = [
138
+ ".docs",
139
+ ".github",
140
+ ".vscode",
141
+ "assets",
142
+ "benchmarks",
143
+ "conda-forge",
144
+ "conda-recipe",
145
+ "docs",
146
+ "examples",
147
+ "node_modules",
148
+ "paper",
149
+ "*.md",
150
+ "!README.md",
151
+ "!CHANGELOG.md",
152
+ ]
153
+
154
+ # ── tool configs ─────────────────────────────────────────────────────────────
155
+
156
+ [tool.mypy]
157
+ files = "src/cultivars_engine"
158
+ ignore_missing_imports = true
159
+
160
+ [tool.ruff]
161
+ line-length = 100
162
+ target-version = "py313"
163
+
164
+ [tool.ruff.lint]
165
+ select = ["E", "F", "W", "I", "B", "UP", "SIM", "RUF", "ANN", "D"]
166
+ ignore = ["D203", "D213"]
167
+
168
+ [tool.ruff.lint.pydocstyle]
169
+ convention = "google"
170
+
171
+ [tool.ruff.lint.per-file-ignores]
172
+ "examples/plot_*.py" = ["D"]
173
+
174
+ [tool.ruff.lint.isort]
175
+ known-local-folder = ["_fred"]
176
+
177
+ [tool.bandit]
178
+ exclude_dirs = ["tests", "docs"]
179
+
180
+ [tool.pytest.ini_options]
181
+ addopts = "--cov=src --cov-report=term-missing --cov-report=html"
182
+ testpaths = ["tests"]
183
+ pythonpath = "src"
184
+
185
+ [tool.coverage.run]
186
+ source = ["src"]
187
+ omit = [
188
+ "tests/*",
189
+ "*/tests/*",
190
+ "*_test.py",
191
+ ]
192
+
193
+
194
+ [tool.coverage.report]
195
+ exclude_lines = [
196
+ "pragma: no cover",
197
+ "def __repr__",
198
+ "raise AssertionError",
199
+ "raise NotImplementedError",
200
+ '@(typing\.)?overload',
201
+ ]
@@ -0,0 +1,33 @@
1
+ # filepath: /src/cultivars/__about__.py
2
+ #
3
+ # Copyright (c) 2026 Nikhil Sunder
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.
22
+ r"""Package metadata for cultivars-engine."""
23
+
24
+ __title__ = "cultivars-engine"
25
+ __description__ = ""
26
+ __summary__ = ""
27
+ __version__ = "0.0.1"
28
+ __copyright__ = "Copyright (c) 2026 Nikhil Sunder"
29
+ __author__ = "Nikhil Sunder"
30
+ __email__ = "nsunder724@gmail.com"
31
+ __license__ = "MIT"
32
+ __repository__ = "https://github.com/nikhilxsunder/cultivars-engine"
33
+ __docs__ = "https://nikhilxsunder.github.io/cultivars-engine"