howso-engine 69.0.6__tar.gz → 69.0.7__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.
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.github/workflows/build-pr.yml +1 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.github/workflows/rebuild-requirements.yml +3 -2
- {howso_engine-69.0.6 → howso_engine-69.0.7}/LICENSE-3RD-PARTY.txt +31 -127
- {howso_engine-69.0.6/howso_engine.egg-info → howso_engine-69.0.7}/PKG-INFO +2 -2
- {howso_engine-69.0.6 → howso_engine-69.0.7}/bin/build.sh +2 -2
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/abstract_data.py +25 -9
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/relational.py +34 -32
- {howso_engine-69.0.6 → howso_engine-69.0.7/howso_engine.egg-info}/PKG-INFO +2 -2
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso_engine.egg-info/SOURCES.txt +1 -8
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso_engine.egg-info/requires.txt +1 -1
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso_engine.egg-info/scm_file_list.json +1 -8
- howso_engine-69.0.7/pylock.toml +1661 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/pyproject.toml +1 -1
- howso_engine-69.0.6/requirements-3.11-dev.txt +0 -232
- howso_engine-69.0.6/requirements-3.11.txt +0 -76
- howso_engine-69.0.6/requirements-3.12-dev.txt +0 -232
- howso_engine-69.0.6/requirements-3.12.txt +0 -76
- howso_engine-69.0.6/requirements-3.13-dev.txt +0 -232
- howso_engine-69.0.6/requirements-3.13.txt +0 -76
- howso_engine-69.0.6/requirements-3.14-dev.txt +0 -230
- howso_engine-69.0.6/requirements-3.14.txt +0 -74
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.coveragerc +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.flake8 +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.github/CODEOWNERS +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.github/lockfile-constraints.txt +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.github/templates/version_summary.md +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.github/workflows/build-release.yml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.github/workflows/build.yml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.github/workflows/version-update.yml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.gitignore +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.gitmodules +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/.pylintrc +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/CONTRIBUTING.md +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/LICENSE.txt +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/MANIFEST.in +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/Makefile +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/README.md +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/config/latest-mt-debug-howso.yml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/config/latest-mt-howso.yml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/config/latest-mt-noavx-traces-howso.yml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/config/latest-mt-traces-howso.yml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/config/latest-st-debug-howso.yml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/config/latest-st-howso.yml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/config/latest-st-traces-howso.yml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/config/powershell/Download-Tzdata.ps1 +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/config/powershell/Helper-Functions.ps1 +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/hatch.toml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/__main__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/__init__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/api.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/base.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/cache.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/client.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/configuration.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/exceptions.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/feature_flags.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/pandas/__init__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/pandas/client.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/protocols.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/schemas/__init__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/schemas/aggregate_reaction.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/schemas/base.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/schemas/group_reaction.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/schemas/project.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/schemas/reaction.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/schemas/session.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/schemas/trainee.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/schemas/version.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/client/typing.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/direct/__init__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/direct/_utilities.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/direct/client.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/direct/schemas/__init__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/direct/schemas/trainee.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/engine/__init__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/engine/client.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/engine/project.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/engine/session.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/engine/trainee.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/howso-engine/howso.caml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/howso-engine/migrations/migrations.caml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/howso-engine/version.json +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/scikit/__init__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/scikit/scikit.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/__init__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/decorators.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/fanout_features.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/__init__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/base.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/infer_feature_attributes.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/pandas.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/protocols.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/serializers.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/suggestions.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/time_series.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/warnings.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/features.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/__init__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/__main__.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/_constants.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/_helpers.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/_output.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/_probes.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/_types.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/checks_cpu.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/checks_engine.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/checks_environment.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/checks_optional.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/main.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/installation_verification/registry.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/internals.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/json_wrapper.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/locale.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/monitors.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/posix.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/progress.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/random.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/reaction.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/testing.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/tokenizing.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/utilities.py +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso_engine.egg-info/dependency_links.txt +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso_engine.egg-info/entry_points.txt +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/howso_engine.egg-info/top_level.txt +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/pyrightconfig.json +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/ruff.toml +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/setup.cfg +0 -0
- {howso_engine-69.0.6 → howso_engine-69.0.7}/version.json +0 -0
|
@@ -14,7 +14,7 @@ on:
|
|
|
14
14
|
type: boolean
|
|
15
15
|
default: true
|
|
16
16
|
extras:
|
|
17
|
-
description: A whitespace-separated list of Python "extras"
|
|
17
|
+
description: A whitespace-separated list of Python "extras" to lock into pylock.toml alongside the runtime dependencies (e.g., "dev scikit")
|
|
18
18
|
type: string
|
|
19
19
|
required: false
|
|
20
20
|
default: "dev scikit"
|
|
@@ -70,6 +70,7 @@ jobs:
|
|
|
70
70
|
force-rebuild: true
|
|
71
71
|
extras: ${{ inputs.extras }}
|
|
72
72
|
constraints-file: .github/lockfile-constraints.txt
|
|
73
|
+
lock-format: pylock
|
|
73
74
|
|
|
74
75
|
gen-pr-title:
|
|
75
76
|
if: inputs.create-pr == true
|
|
@@ -101,4 +102,4 @@ jobs:
|
|
|
101
102
|
with:
|
|
102
103
|
branch: ${{ needs.gen-branch-name.outputs.branch }}
|
|
103
104
|
title: ${{ needs.gen-pr-title.outputs.title }}
|
|
104
|
-
body: "Automated PR with
|
|
105
|
+
body: "Automated PR with a regenerated pylock.toml."
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Faker
|
|
2
|
-
40.
|
|
2
|
+
40.52.0
|
|
3
3
|
MIT License
|
|
4
4
|
joke2k
|
|
5
5
|
https://github.com/joke2k/faker
|
|
6
6
|
Faker is a Python package that generates fake data for you.
|
|
7
|
-
/home/runner
|
|
7
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/faker-40.52.0.dist-info/licenses/LICENSE.txt
|
|
8
8
|
Copyright (c) 2012 Daniele Faraglia
|
|
9
9
|
|
|
10
10
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -32,7 +32,7 @@ MIT License
|
|
|
32
32
|
Kirill Simonov
|
|
33
33
|
https://pyyaml.org/
|
|
34
34
|
YAML parser and emitter for Python
|
|
35
|
-
/home/runner
|
|
35
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/pyyaml-6.0.3.dist-info/licenses/LICENSE
|
|
36
36
|
Copyright (c) 2017-2021 Ingy döt Net
|
|
37
37
|
Copyright (c) 2006-2016 Kirill Simonov
|
|
38
38
|
|
|
@@ -61,7 +61,7 @@ BSD-2-Clause
|
|
|
61
61
|
Georg Brandl <georg@python.org>
|
|
62
62
|
https://pygments.org
|
|
63
63
|
Pygments is a syntax highlighting package written in Python.
|
|
64
|
-
/home/runner
|
|
64
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/pygments-2.21.0.dist-info/licenses/LICENSE
|
|
65
65
|
Copyright (c) 2006-2022 by the respective authors (see AUTHORS file).
|
|
66
66
|
All rights reserved.
|
|
67
67
|
|
|
@@ -89,42 +89,13 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
89
89
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
build
|
|
93
|
-
1.6.1
|
|
94
|
-
MIT
|
|
95
|
-
Filipe Laíns <lains@riseup.net>, Bernát Gábor <gaborjbernat@gmail.com>, layday <layday@protonmail.com>, Henry Schreiner <henryschreineriii@gmail.com>
|
|
96
|
-
https://build.pypa.io
|
|
97
|
-
A simple, correct Python build frontend
|
|
98
|
-
/home/runner/.pyenv/versions/3.12.16/lib/python3.12/site-packages/build-1.6.1.dist-info/licenses/LICENSE
|
|
99
|
-
Copyright © 2019 Filipe Laíns <filipe.lains@gmail.com>
|
|
100
|
-
|
|
101
|
-
Permission is hereby granted, free of charge, to any person obtaining a
|
|
102
|
-
copy of this software and associated documentation files (the "Software"),
|
|
103
|
-
to deal in the Software without restriction, including without limitation
|
|
104
|
-
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
105
|
-
and/or sell copies of the Software, and to permit persons to whom the
|
|
106
|
-
Software is furnished to do so, subject to the following conditions:
|
|
107
|
-
|
|
108
|
-
The above copyright notice and this permission notice (including the next
|
|
109
|
-
paragraph) shall be included in all copies or substantial portions of the
|
|
110
|
-
Software.
|
|
111
|
-
|
|
112
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
113
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
114
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
115
|
-
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
116
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
117
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
118
|
-
DEALINGS IN THE SOFTWARE.
|
|
119
|
-
|
|
120
|
-
|
|
121
92
|
certifi
|
|
122
93
|
2026.10.23
|
|
123
94
|
Mozilla Public License 2.0 (MPL 2.0)
|
|
124
95
|
Kenneth Reitz
|
|
125
96
|
https://github.com/certifi/python-certifi
|
|
126
97
|
Python package for providing Mozilla's CA Bundle.
|
|
127
|
-
/home/runner
|
|
98
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/certifi-2026.10.23.dist-info/licenses/LICENSE
|
|
128
99
|
This package contains a modified version of ca-bundle.crt:
|
|
129
100
|
|
|
130
101
|
ca-bundle.crt -- Bundle of CA Root Certificates
|
|
@@ -153,7 +124,7 @@ MIT
|
|
|
153
124
|
"Ahmed R. TAHRI" <tahri.ahmed@proton.me>
|
|
154
125
|
https://github.com/jawah/charset_normalizer/blob/master/CHANGELOG.md
|
|
155
126
|
The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet.
|
|
156
|
-
/home/runner
|
|
127
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/charset_normalizer-3.5.2.dist-info/licenses/LICENSE
|
|
157
128
|
MIT License
|
|
158
129
|
|
|
159
130
|
Copyright (c) 2025 TAHRI Ahmed R.
|
|
@@ -178,12 +149,12 @@ SOFTWARE.
|
|
|
178
149
|
|
|
179
150
|
|
|
180
151
|
click
|
|
181
|
-
8.5.
|
|
152
|
+
8.5.1
|
|
182
153
|
BSD-3-Clause
|
|
183
154
|
UNKNOWN
|
|
184
155
|
https://github.com/pallets/click/
|
|
185
156
|
Composable command line interface toolkit
|
|
186
|
-
/home/runner
|
|
157
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/click-8.5.1.dist-info/licenses/LICENSE.txt
|
|
187
158
|
Copyright 2014 Pallets
|
|
188
159
|
|
|
189
160
|
Redistribution and use in source and binary forms, with or without
|
|
@@ -220,7 +191,7 @@ BSD License
|
|
|
220
191
|
The cloudpickle developer team
|
|
221
192
|
https://github.com/cloudpipe/cloudpickle
|
|
222
193
|
Pickler class to extend the standard pickle.Pickler functionality
|
|
223
|
-
/home/runner
|
|
194
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/cloudpickle-3.1.2.dist-info/licenses/LICENSE
|
|
224
195
|
This module was extracted from the `cloud` package, developed by
|
|
225
196
|
PiCloud, Inc.
|
|
226
197
|
|
|
@@ -261,7 +232,7 @@ MIT
|
|
|
261
232
|
Jason Moiron <jmoiron@jmoiron.net>
|
|
262
233
|
https://github.com/python-humanize/humanize
|
|
263
234
|
Python humanize utilities
|
|
264
|
-
/home/runner
|
|
235
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/humanize-4.16.0.dist-info/licenses/LICENCE
|
|
265
236
|
Copyright (c) 2010-2020 Jason Moiron and Contributors
|
|
266
237
|
|
|
267
238
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
@@ -290,7 +261,7 @@ BSD-3-Clause
|
|
|
290
261
|
Kim Davies <kim+pypi@gumleaf.org>
|
|
291
262
|
https://github.com/kjd/idna
|
|
292
263
|
Internationalized Domain Names in Applications (IDNA)
|
|
293
|
-
/home/runner
|
|
264
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/idna-3.20.dist-info/licenses/LICENSE.md
|
|
294
265
|
BSD 3-Clause License
|
|
295
266
|
|
|
296
267
|
Copyright (c) 2013-2026, Kim Davies and contributors.
|
|
@@ -330,7 +301,7 @@ BSD-3-Clause
|
|
|
330
301
|
Gael Varoquaux <gael.varoquaux@normalesup.org>
|
|
331
302
|
https://joblib.readthedocs.io
|
|
332
303
|
Lightweight pipelining with Python functions
|
|
333
|
-
/home/runner
|
|
304
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/joblib-1.6.0.dist-info/licenses/LICENSE.txt
|
|
334
305
|
BSD 3-Clause License
|
|
335
306
|
|
|
336
307
|
Copyright (c) 2008-2021, The joblib developers.
|
|
@@ -368,7 +339,7 @@ MIT License
|
|
|
368
339
|
Chris Sewell <chrisj_sewell@hotmail.com>
|
|
369
340
|
https://github.com/executablebooks/markdown-it-py
|
|
370
341
|
Python port of markdown-it. Markdown parsing, done right!
|
|
371
|
-
/home/runner
|
|
342
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/markdown_it_py-4.2.0.dist-info/licenses/LICENSE
|
|
372
343
|
MIT License
|
|
373
344
|
|
|
374
345
|
Copyright (c) 2020 ExecutableBookProject
|
|
@@ -398,7 +369,7 @@ MIT License
|
|
|
398
369
|
Taneli Hukkinen <hukkin@users.noreply.github.com>
|
|
399
370
|
https://github.com/executablebooks/mdurl
|
|
400
371
|
Markdown URL utilities
|
|
401
|
-
/home/runner
|
|
372
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/mdurl-0.1.2.dist-info/LICENSE
|
|
402
373
|
Copyright (c) 2015 Vitaly Puzrin, Alex Kocharin.
|
|
403
374
|
Copyright (c) 2021 Taneli Hukkinen
|
|
404
375
|
|
|
@@ -453,7 +424,7 @@ MIT License
|
|
|
453
424
|
Hajime Senuma <hajime.senuma@gmail.com>
|
|
454
425
|
https://pypi.org/project/mmh3/
|
|
455
426
|
Python extension for MurmurHash (MurmurHash3), a set of fast and robust hash functions.
|
|
456
|
-
/home/runner
|
|
427
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/mmh3-5.3.1.dist-info/licenses/LICENSE
|
|
457
428
|
MIT License
|
|
458
429
|
|
|
459
430
|
Copyright (c) 2011-2026 Hajime Senuma
|
|
@@ -482,7 +453,7 @@ BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0
|
|
|
482
453
|
Travis E. Oliphant et al.
|
|
483
454
|
https://numpy.org
|
|
484
455
|
Fundamental package for array computing in Python
|
|
485
|
-
/home/runner
|
|
456
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/numpy-2.5.4.dist-info/licenses/LICENSE.txt
|
|
486
457
|
Copyright (c) 2005-2025, NumPy Developers.
|
|
487
458
|
All rights reserved.
|
|
488
459
|
|
|
@@ -1426,7 +1397,7 @@ Apache-2.0 OR BSD-2-Clause
|
|
|
1426
1397
|
Donald Stufft <donald@stufft.io>
|
|
1427
1398
|
https://github.com/pypa/packaging
|
|
1428
1399
|
Core utilities for Python packages
|
|
1429
|
-
/home/runner
|
|
1400
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/packaging-26.3.dist-info/licenses/LICENSE
|
|
1430
1401
|
This software is made available under the terms of *either* of the licenses
|
|
1431
1402
|
found in LICENSE.APACHE or LICENSE.BSD. Contributions to this software is made
|
|
1432
1403
|
under the terms of *both* these licenses.
|
|
@@ -1438,7 +1409,7 @@ BSD License
|
|
|
1438
1409
|
The Pandas Development Team <pandas-dev@python.org>
|
|
1439
1410
|
https://pandas.pydata.org
|
|
1440
1411
|
Powerful data structures for data analysis, time series, and statistics
|
|
1441
|
-
/home/runner
|
|
1412
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/pandas-2.3.3.dist-info/LICENSE
|
|
1442
1413
|
BSD 3-Clause License
|
|
1443
1414
|
|
|
1444
1415
|
Copyright (c) 2008-2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
|
|
@@ -2690,50 +2661,13 @@ third-party archives.
|
|
|
2690
2661
|
See the License for the specific language governing permissions and
|
|
2691
2662
|
limitations under the License.
|
|
2692
2663
|
|
|
2693
|
-
pip-tools
|
|
2694
|
-
7.4.1
|
|
2695
|
-
BSD License
|
|
2696
|
-
Vincent Driessen <me@nvie.com>
|
|
2697
|
-
https://github.com/jazzband/pip-tools/
|
|
2698
|
-
pip-tools keeps your pinned dependencies fresh.
|
|
2699
|
-
/home/runner/.pyenv/versions/3.12.16/lib/python3.12/site-packages/pip_tools-7.4.1.dist-info/LICENSE
|
|
2700
|
-
BSD 3-Clause License
|
|
2701
|
-
|
|
2702
|
-
Copyright (c). All rights reserved.
|
|
2703
|
-
|
|
2704
|
-
Redistribution and use in source and binary forms, with or without modification,
|
|
2705
|
-
are permitted provided that the following conditions are met:
|
|
2706
|
-
|
|
2707
|
-
1. Redistributions of source code must retain the above copyright notice,
|
|
2708
|
-
this list of conditions and the following disclaimer.
|
|
2709
|
-
|
|
2710
|
-
2. Redistributions in binary form must reproduce the above copyright
|
|
2711
|
-
notice, this list of conditions and the following disclaimer in the
|
|
2712
|
-
documentation and/or other materials provided with the distribution.
|
|
2713
|
-
|
|
2714
|
-
3. Neither the name of pip-tools nor the names of its contributors may be
|
|
2715
|
-
used to endorse or promote products derived from this software without
|
|
2716
|
-
specific prior written permission.
|
|
2717
|
-
|
|
2718
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
2719
|
-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
2720
|
-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
2721
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
2722
|
-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
2723
|
-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
2724
|
-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
2725
|
-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
2726
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
2727
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
2664
|
psutil
|
|
2731
2665
|
7.2.2
|
|
2732
2666
|
BSD-3-Clause
|
|
2733
2667
|
Giampaolo Rodola
|
|
2734
2668
|
https://github.com/giampaolo/psutil
|
|
2735
2669
|
Cross-platform lib for process and system monitoring.
|
|
2736
|
-
/home/runner
|
|
2670
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/psutil-7.2.2.dist-info/LICENSE
|
|
2737
2671
|
BSD 3-Clause License
|
|
2738
2672
|
|
|
2739
2673
|
Copyright (c) 2009, Jay Loden, Dave Daeschler, Giampaolo Rodola
|
|
@@ -2765,43 +2699,13 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
2765
2699
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2766
2700
|
|
|
2767
2701
|
|
|
2768
|
-
pyproject_hooks
|
|
2769
|
-
1.3.3
|
|
2770
|
-
MIT
|
|
2771
|
-
Thomas Kluyver <thomas@kluyver.me.uk>
|
|
2772
|
-
https://github.com/pypa/pyproject-hooks
|
|
2773
|
-
Wrappers to call pyproject.toml-based build backend hooks.
|
|
2774
|
-
/home/runner/.pyenv/versions/3.12.16/lib/python3.12/site-packages/pyproject_hooks-1.3.3.dist-info/licenses/LICENSE
|
|
2775
|
-
The MIT License (MIT)
|
|
2776
|
-
|
|
2777
|
-
Copyright (c) 2017 Thomas Kluyver
|
|
2778
|
-
|
|
2779
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2780
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
2781
|
-
in the Software without restriction, including without limitation the rights
|
|
2782
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2783
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
2784
|
-
furnished to do so, subject to the following conditions:
|
|
2785
|
-
|
|
2786
|
-
The above copyright notice and this permission notice shall be included in
|
|
2787
|
-
all copies or substantial portions of the Software.
|
|
2788
|
-
|
|
2789
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2790
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2791
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2792
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2793
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2794
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2795
|
-
THE SOFTWARE.
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
2702
|
python-dateutil
|
|
2799
2703
|
4.0.0
|
|
2800
2704
|
BSD-3-Clause
|
|
2801
2705
|
Gustavo Niemeyer <gustavo@niemeyer.net>
|
|
2802
2706
|
https://github.com/dateutil/dateutil
|
|
2803
2707
|
Extensions to the standard Python datetime module
|
|
2804
|
-
/home/runner
|
|
2708
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/python_dateutil-4.0.0.dist-info/licenses/LICENSE
|
|
2805
2709
|
Copyright 2017- Paul Ganssle <paul@ganssle.io>
|
|
2806
2710
|
Copyright 2017- dateutil contributors (see AUTHORS file)
|
|
2807
2711
|
|
|
@@ -2863,7 +2767,7 @@ MIT License
|
|
|
2863
2767
|
Stuart Bishop
|
|
2864
2768
|
http://pythonhosted.org/pytz
|
|
2865
2769
|
World timezone definitions, modern and historical
|
|
2866
|
-
/home/runner
|
|
2770
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/pytz-2026.6.dist-info/LICENSE.txt
|
|
2867
2771
|
Copyright (c) 2003-2019 Stuart Bishop <stuart@stuartbishop.net>
|
|
2868
2772
|
|
|
2869
2773
|
Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -2886,12 +2790,12 @@ DEALINGS IN THE SOFTWARE.
|
|
|
2886
2790
|
|
|
2887
2791
|
|
|
2888
2792
|
regex
|
|
2889
|
-
2026.9
|
|
2793
|
+
2026.11.9
|
|
2890
2794
|
Apache-2.0 AND CNRI-Python
|
|
2891
2795
|
Matthew Barnett <regex@mrabarnett.plus.com>
|
|
2892
2796
|
https://github.com/mrabarnett/mrab-regex
|
|
2893
2797
|
Alternative regular expression module, to replace re.
|
|
2894
|
-
/home/runner
|
|
2798
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/regex-2026.11.9.dist-info/licenses/LICENSE.txt
|
|
2895
2799
|
This work was derived from the 're' module of CPython 2.6 and CPython 3.1,
|
|
2896
2800
|
copyright (c) 1998-2001 by Secret Labs AB and licensed under CNRI's Python 1.6
|
|
2897
2801
|
license.
|
|
@@ -3108,7 +3012,7 @@ Apache Software License
|
|
|
3108
3012
|
Kenneth Reitz <me@kennethreitz.org>
|
|
3109
3013
|
https://github.com/psf/requests
|
|
3110
3014
|
Python HTTP for Humans.
|
|
3111
|
-
/home/runner
|
|
3015
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/requests-2.34.2.dist-info/licenses/LICENSE
|
|
3112
3016
|
|
|
3113
3017
|
Apache License
|
|
3114
3018
|
Version 2.0, January 2004
|
|
@@ -3292,7 +3196,7 @@ MIT License
|
|
|
3292
3196
|
Will McGugan
|
|
3293
3197
|
https://github.com/Textualize/rich
|
|
3294
3198
|
Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal
|
|
3295
|
-
/home/runner
|
|
3199
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/rich-15.0.0.dist-info/licenses/LICENSE
|
|
3296
3200
|
Copyright (c) 2020 Will McGugan
|
|
3297
3201
|
|
|
3298
3202
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -3320,7 +3224,7 @@ MIT License
|
|
|
3320
3224
|
UNKNOWN
|
|
3321
3225
|
https://github.com/hplt-project/sacremoses
|
|
3322
3226
|
SacreMoses
|
|
3323
|
-
/home/runner
|
|
3227
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/sacremoses-0.2.0.dist-info/licenses/LICENSE
|
|
3324
3228
|
MIT License
|
|
3325
3229
|
|
|
3326
3230
|
Copyright (c) 2020 alvations
|
|
@@ -3350,7 +3254,7 @@ BSD License
|
|
|
3350
3254
|
Raphaël Barrois
|
|
3351
3255
|
https://github.com/rbarrois/python-semanticversion
|
|
3352
3256
|
A library implementing the 'SemVer' scheme.
|
|
3353
|
-
/home/runner
|
|
3257
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/semantic_version-2.10.0.dist-info/LICENSE
|
|
3354
3258
|
Copyright (c) The python-semanticversion project
|
|
3355
3259
|
All rights reserved.
|
|
3356
3260
|
|
|
@@ -3381,7 +3285,7 @@ MPL-2.0 AND MIT
|
|
|
3381
3285
|
UNKNOWN
|
|
3382
3286
|
https://tqdm.github.io
|
|
3383
3287
|
Fast, Extensible Progress Meter
|
|
3384
|
-
/home/runner
|
|
3288
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/tqdm-4.70.1.dist-info/licenses/LICENCE
|
|
3385
3289
|
`tqdm` is a product of collaborative work.
|
|
3386
3290
|
Unless otherwise stated, all authors (see commit logs) retain copyright
|
|
3387
3291
|
for their respective work, and release the work under the MIT licence
|
|
@@ -3439,7 +3343,7 @@ PSF-2.0
|
|
|
3439
3343
|
"Guido van Rossum, Jukka Lehtosalo, Łukasz Langa, Michael Lee" <levkivskyi@gmail.com>
|
|
3440
3344
|
https://github.com/python/typing_extensions
|
|
3441
3345
|
Backported and Experimental Type Hints for Python 3.9+
|
|
3442
|
-
/home/runner
|
|
3346
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/typing_extensions-4.16.0.dist-info/licenses/LICENSE
|
|
3443
3347
|
A. HISTORY OF THE SOFTWARE
|
|
3444
3348
|
==========================
|
|
3445
3349
|
|
|
@@ -3727,7 +3631,7 @@ Apache-2.0
|
|
|
3727
3631
|
Python Software Foundation
|
|
3728
3632
|
https://github.com/python/tzdata
|
|
3729
3633
|
Provider of IANA time zone data
|
|
3730
|
-
/home/runner
|
|
3634
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/tzdata-2026.6.dist-info/licenses/LICENSE
|
|
3731
3635
|
Apache Software License 2.0
|
|
3732
3636
|
|
|
3733
3637
|
Copyright (c) 2020, Paul Ganssle (Google)
|
|
@@ -3752,7 +3656,7 @@ MIT
|
|
|
3752
3656
|
Andrey Petrov <andrey.petrov@shazow.net>
|
|
3753
3657
|
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst
|
|
3754
3658
|
HTTP library with thread-safe connection pooling, file post, and more.
|
|
3755
|
-
/home/runner
|
|
3659
|
+
/home/runner/work/_temp/licenses/lib/python3.12/site-packages/urllib3-2.8.0.dist-info/licenses/LICENSE.txt
|
|
3756
3660
|
MIT License
|
|
3757
3661
|
|
|
3758
3662
|
Copyright (c) 2008-2020 Andrey Petrov and contributors.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: howso-engine
|
|
3
|
-
Version: 69.0.
|
|
3
|
+
Version: 69.0.7
|
|
4
4
|
Summary: The Howso Engine™ is a natively and fully explainable ML engine, serving as an alternative to black box AI neural networks.
|
|
5
5
|
Author: Howso Incorporated
|
|
6
6
|
Author-email: support@howso.com
|
|
@@ -695,7 +695,7 @@ Requires-Dist: humanize>=4.0.0
|
|
|
695
695
|
Requires-Dist: mmh3
|
|
696
696
|
Requires-Dist: numpy<2.6,>=2.3
|
|
697
697
|
Requires-Dist: packaging
|
|
698
|
-
Requires-Dist: pandas<
|
|
698
|
+
Requires-Dist: pandas<4.0
|
|
699
699
|
Requires-Dist: psutil
|
|
700
700
|
Requires-Dist: python-dateutil
|
|
701
701
|
Requires-Dist: pyyaml~=6.0
|
|
@@ -5,9 +5,9 @@ set -eux
|
|
|
5
5
|
install_deps() {
|
|
6
6
|
python --version
|
|
7
7
|
# Connectors needed for some unit tests
|
|
8
|
-
python -m pip install "howso-engine-connectors[dev]~=4.0"
|
|
8
|
+
python -m pip install "howso-engine-connectors[dev]~=4.0"
|
|
9
9
|
python -m pip install --no-deps -e .
|
|
10
|
-
python -m pip install -r
|
|
10
|
+
python -m pip install -r pylock.toml
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
# Takes the cli params, and runs them, defaulting to 'help()'
|
{howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/abstract_data.py
RENAMED
|
@@ -5,6 +5,7 @@ from contextlib import suppress
|
|
|
5
5
|
import datetime
|
|
6
6
|
from datetime import time, timedelta
|
|
7
7
|
import decimal
|
|
8
|
+
from functools import cache
|
|
8
9
|
import inspect
|
|
9
10
|
import logging
|
|
10
11
|
from math import isnan
|
|
@@ -43,12 +44,26 @@ from howso.utilities.utilities import (
|
|
|
43
44
|
|
|
44
45
|
logger = logging.getLogger(__name__)
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
|
|
48
|
+
@cache
|
|
49
|
+
def _get_abstract_data_cls() -> type | None:
|
|
50
|
+
"""
|
|
51
|
+
Lazily import and return howso-engine-connectors' ``AbstractData`` class.
|
|
52
|
+
|
|
53
|
+
howso.connectors pulls in many imports that are unused in many
|
|
54
|
+
`infer_feature_attributes` use cases, so it is now only imported when an
|
|
55
|
+
AbstractData class is actually used.
|
|
56
|
+
|
|
57
|
+
Returns
|
|
58
|
+
-------
|
|
59
|
+
type or None
|
|
60
|
+
The ``AbstractData`` class, or None if howso-engine-connectors is not installed.
|
|
61
|
+
"""
|
|
62
|
+
try:
|
|
63
|
+
from howso.connectors import AbstractData
|
|
64
|
+
except ImportError:
|
|
65
|
+
return None
|
|
66
|
+
return AbstractData
|
|
52
67
|
|
|
53
68
|
|
|
54
69
|
class InferFeatureAttributesAbstractData(InferFeatureAttributesBase):
|
|
@@ -63,7 +78,7 @@ class InferFeatureAttributesAbstractData(InferFeatureAttributesBase):
|
|
|
63
78
|
data : IFACompatibleADCProtocol
|
|
64
79
|
The AbstractData class containing the features whose attributes will be inferred.
|
|
65
80
|
"""
|
|
66
|
-
if
|
|
81
|
+
if _get_abstract_data_cls() is None:
|
|
67
82
|
raise ImportError("The howso-engine-connectors package must installed to use "
|
|
68
83
|
"infer_feature_attributes with AbstractData classes.")
|
|
69
84
|
self.data = data
|
|
@@ -83,9 +98,10 @@ class InferFeatureAttributesAbstractData(InferFeatureAttributesBase):
|
|
|
83
98
|
# For Spark compute types, multiprocessing is less-performant.
|
|
84
99
|
# If we're working with the SparkDataFrameData ADC, unless the user
|
|
85
100
|
# specifically sets `max_workers`, we want "sharding" disabled.
|
|
101
|
+
abstract_data_cls = _get_abstract_data_cls()
|
|
86
102
|
if (
|
|
87
|
-
|
|
88
|
-
isinstance(self.data,
|
|
103
|
+
abstract_data_cls is not None and
|
|
104
|
+
isinstance(self.data, abstract_data_cls) and
|
|
89
105
|
getattr(self.data, "_NATIVE_COMPUTE_TYPE", None) == "spark" and
|
|
90
106
|
("max_workers" not in kwargs or kwargs["max_workers"] is None)
|
|
91
107
|
):
|
{howso_engine-69.0.6 → howso_engine-69.0.7}/howso/utilities/feature_attributes/relational.py
RENAMED
|
@@ -40,14 +40,8 @@ from howso.utilities.utilities import (
|
|
|
40
40
|
|
|
41
41
|
logger = logging.getLogger(__name__)
|
|
42
42
|
|
|
43
|
-
#
|
|
44
|
-
# this installed.
|
|
45
|
-
try:
|
|
46
|
-
import sqlalchemy as db
|
|
47
|
-
from sqlalchemy import func, inspect, MetaData
|
|
48
|
-
from sqlalchemy.orm import sessionmaker
|
|
49
|
-
except ImportError:
|
|
50
|
-
db = None
|
|
43
|
+
# NOTE: SQLAlchemy is imported lazily within the functions/methods that need it. Not all users
|
|
44
|
+
# of this package will have or need it installed, and importing it is relatively expensive.
|
|
51
45
|
|
|
52
46
|
COLUMNS = 'COLUMNS'
|
|
53
47
|
COLUMN_TYPE_PATTERN = re.compile(
|
|
@@ -267,10 +261,12 @@ class InferFeatureAttributesSQLTable(InferFeatureAttributesBase):
|
|
|
267
261
|
parent_datastore : SQLRelationalDatastoreProtocol
|
|
268
262
|
The datastore to which this SQL table belongs.
|
|
269
263
|
"""
|
|
270
|
-
|
|
264
|
+
try:
|
|
265
|
+
import sqlalchemy # noqa: F401
|
|
266
|
+
except ImportError as e:
|
|
271
267
|
raise ImportError('Must have SQLAlchemy installed to instantiate '
|
|
272
268
|
'FeatureAttributesSQLTable. See synthesizer-data-services/'
|
|
273
|
-
'requirements.in for versioning.')
|
|
269
|
+
'requirements.in for versioning.') from e
|
|
274
270
|
warnings.warn("Direct SQL datastore support for infer_feature_attributes is deprecated "
|
|
275
271
|
"and will be removed in a future release. "
|
|
276
272
|
"Please contact support@howso.com for information about data connectors.",
|
|
@@ -394,6 +390,8 @@ class InferFeatureAttributesSQLTable(InferFeatureAttributesBase):
|
|
|
394
390
|
|
|
395
391
|
# Inspect the information schema to see if the given non-pk column has
|
|
396
392
|
# a unique constraint by itself.
|
|
393
|
+
from sqlalchemy import inspect
|
|
394
|
+
|
|
397
395
|
inspector = inspect(self.datastore.engine)
|
|
398
396
|
try:
|
|
399
397
|
uniques = inspector.get_unique_constraints(self.table_name.table,
|
|
@@ -439,6 +437,8 @@ class InferFeatureAttributesSQLTable(InferFeatureAttributesBase):
|
|
|
439
437
|
Smallness and largeness is determined by the SQLAlchemy functions
|
|
440
438
|
`min()` and `max()`.
|
|
441
439
|
"""
|
|
440
|
+
from sqlalchemy import func
|
|
441
|
+
|
|
442
442
|
with session_scope(self.session_cls) as session:
|
|
443
443
|
results = session.query(
|
|
444
444
|
func.min(self.data.c[feature_name]).label('min_value'),
|
|
@@ -454,30 +454,27 @@ class InferFeatureAttributesSQLTable(InferFeatureAttributesBase):
|
|
|
454
454
|
If multiple values have the same mode all of them will be returned, as
|
|
455
455
|
long as the count is a value greater than 1.
|
|
456
456
|
"""
|
|
457
|
-
|
|
457
|
+
from sqlalchemy import and_, func
|
|
458
|
+
|
|
458
459
|
with session_scope(self.session_cls) as session:
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
max_count
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
func.count(self.data.c[feature_name]) >= max_count
|
|
475
|
-
)
|
|
460
|
+
subquery = session.query(
|
|
461
|
+
func.count(self.data.c[feature_name]).label('count')
|
|
462
|
+
).group_by(self.data.c[feature_name]).subquery('all_counts')
|
|
463
|
+
max_count = session.query(
|
|
464
|
+
func.max(subquery.c.count).label('max_count')).scalar_subquery()
|
|
465
|
+
result = (
|
|
466
|
+
session.query(
|
|
467
|
+
self.data.c[feature_name],
|
|
468
|
+
func.count(self.data.c[feature_name]).label('num')
|
|
469
|
+
).group_by(
|
|
470
|
+
self.data.c[feature_name]
|
|
471
|
+
).having(
|
|
472
|
+
and_(
|
|
473
|
+
func.count(self.data.c[feature_name]) > 1,
|
|
474
|
+
func.count(self.data.c[feature_name]) >= max_count
|
|
476
475
|
)
|
|
477
476
|
)
|
|
478
|
-
|
|
479
|
-
if result is None:
|
|
480
|
-
return []
|
|
477
|
+
)
|
|
481
478
|
|
|
482
479
|
# value, count
|
|
483
480
|
return [(r[0], r[1]) for r in result]
|
|
@@ -1125,6 +1122,9 @@ class InferFeatureAttributesSQLDatastore:
|
|
|
1125
1122
|
def __init__(self, datastore: SQLRelationalDatastoreProtocol,
|
|
1126
1123
|
table_names: Iterable[TableNameProtocol], **kwargs):
|
|
1127
1124
|
"""Instantiate this InferFeatureAttributesSQLDatastore object."""
|
|
1125
|
+
from sqlalchemy import MetaData
|
|
1126
|
+
from sqlalchemy.orm import sessionmaker
|
|
1127
|
+
|
|
1128
1128
|
# Save kwargs for get_parameters
|
|
1129
1129
|
self.params = kwargs
|
|
1130
1130
|
|
|
@@ -1138,11 +1138,13 @@ class InferFeatureAttributesSQLDatastore:
|
|
|
1138
1138
|
|
|
1139
1139
|
def __call__(self, **kwargs) -> MultiTableFeatureAttributes:
|
|
1140
1140
|
"""Process feature attributes for all tables in the datastore, returned as one object."""
|
|
1141
|
+
from sqlalchemy import Table
|
|
1142
|
+
|
|
1141
1143
|
# Infer feature attributes for each table in the datastore
|
|
1142
1144
|
feature_attributes = {}
|
|
1143
1145
|
|
|
1144
1146
|
for table_name in self.table_names:
|
|
1145
|
-
data =
|
|
1147
|
+
data = Table(
|
|
1146
1148
|
table_name.table, self._metadata, schema=table_name.schema,
|
|
1147
1149
|
autoload_with=self.datastore.engine
|
|
1148
1150
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: howso-engine
|
|
3
|
-
Version: 69.0.
|
|
3
|
+
Version: 69.0.7
|
|
4
4
|
Summary: The Howso Engine™ is a natively and fully explainable ML engine, serving as an alternative to black box AI neural networks.
|
|
5
5
|
Author: Howso Incorporated
|
|
6
6
|
Author-email: support@howso.com
|
|
@@ -695,7 +695,7 @@ Requires-Dist: humanize>=4.0.0
|
|
|
695
695
|
Requires-Dist: mmh3
|
|
696
696
|
Requires-Dist: numpy<2.6,>=2.3
|
|
697
697
|
Requires-Dist: packaging
|
|
698
|
-
Requires-Dist: pandas<
|
|
698
|
+
Requires-Dist: pandas<4.0
|
|
699
699
|
Requires-Dist: psutil
|
|
700
700
|
Requires-Dist: python-dateutil
|
|
701
701
|
Requires-Dist: pyyaml~=6.0
|
|
@@ -10,16 +10,9 @@ MANIFEST.in
|
|
|
10
10
|
Makefile
|
|
11
11
|
README.md
|
|
12
12
|
hatch.toml
|
|
13
|
+
pylock.toml
|
|
13
14
|
pyproject.toml
|
|
14
15
|
pyrightconfig.json
|
|
15
|
-
requirements-3.11-dev.txt
|
|
16
|
-
requirements-3.11.txt
|
|
17
|
-
requirements-3.12-dev.txt
|
|
18
|
-
requirements-3.12.txt
|
|
19
|
-
requirements-3.13-dev.txt
|
|
20
|
-
requirements-3.13.txt
|
|
21
|
-
requirements-3.14-dev.txt
|
|
22
|
-
requirements-3.14.txt
|
|
23
16
|
ruff.toml
|
|
24
17
|
version.json
|
|
25
18
|
.github/CODEOWNERS
|