sqlmath 2026.3.31__tar.gz → 2026.4.31__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.
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/.ci.sh +4 -14
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/.github/workflows/ci.yml +4 -4
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/.github/workflows/publish.yml +6 -6
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/.github/workflows/publish_pypi_test.yml +2 -2
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/.npmignore +1 -2
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/CHANGELOG.md +14 -1
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/MANIFEST.in +0 -2
- sqlmath-2026.4.31/PKG-INFO +696 -0
- sqlmath-2026.4.31/README.md +671 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/jslint.mjs +1 -1
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/package.json +2 -2
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/pyproject.toml +2 -2
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/setup.py +4 -16
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/sqlmath/__init__.py +33 -2
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/sqlmath.mjs +7 -10
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/sqlmath_base.c +0 -9
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/sqlmath_browser.mjs +6 -6
- sqlmath-2026.3.31/PKG-INFO +0 -174
- sqlmath-2026.3.31/README.md +0 -149
- sqlmath-2026.3.31/sqlmath_custom.c +0 -59
- sqlmath-2026.3.31/sqlmath_custom.mjs +0 -4
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/.gitconfig +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/.gitignore +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/LICENSE +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/asset_image_folder_open_solid.svg +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/asset_image_github_brands.svg +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/asset_image_logo_256.html +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/asset_image_logo_256.png +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/asset_image_logo_256.svg +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/asset_sqlmath_external_rollup.js +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/cpplint.py +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/csslint.js +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/indent.exe +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/index.html +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/jslint_ci.sh +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/libiconv2.dll +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/libintl3.dll +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/sqlmath_base.h +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/sqlmath_external_sqlite.c +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/sqlmath_wrapper_wasm.js +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/test.mjs +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/test.py +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/test_data_sinefit.csv +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/test_lgbm_binary.test +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/test_lgbm_binary.train +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/test_lgbm_numpy.py +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/test_lgbm_preb.txt +0 -0
- {sqlmath-2026.3.31 → sqlmath-2026.4.31}/zlib.v1.3.1.vcpkg.x64-windows-static.lib +0 -0
|
@@ -258,7 +258,6 @@ shCiBuildWasm() {(set -e
|
|
|
258
258
|
# OPTION1="$OPTION1 -fsanitize=address"
|
|
259
259
|
for FILE in \
|
|
260
260
|
sqlmath_base.c \
|
|
261
|
-
sqlmath_custom.c \
|
|
262
261
|
sqlmath_external_sqlite.c
|
|
263
262
|
do
|
|
264
263
|
OPTION2=""
|
|
@@ -266,9 +265,6 @@ shCiBuildWasm() {(set -e
|
|
|
266
265
|
sqlmath_base.c)
|
|
267
266
|
OPTION2="$OPTION2 -DSRC_SQLMATH_BASE_C2="
|
|
268
267
|
;;
|
|
269
|
-
sqlmath_custom.c)
|
|
270
|
-
OPTION2="$OPTION2 -DSRC_SQLMATH_CUSTOM_C2="
|
|
271
|
-
;;
|
|
272
268
|
sqlmath_external_sqlite.c)
|
|
273
269
|
OPTION2="$OPTION2 -DSRC_SQLITE_BASE_C2="
|
|
274
270
|
;;
|
|
@@ -279,9 +275,6 @@ shCiBuildWasm() {(set -e
|
|
|
279
275
|
sqlmath_base.c)
|
|
280
276
|
OPTION2="$OPTION2 $SQLMATH_CFLAG_WALL_LIST"
|
|
281
277
|
;;
|
|
282
|
-
sqlmath_custom.c)
|
|
283
|
-
OPTION2="$OPTION2 $SQLMATH_CFLAG_WALL_LIST"
|
|
284
|
-
;;
|
|
285
278
|
*)
|
|
286
279
|
OPTION2="$OPTION2 $SQLMATH_CFLAG_WNO_LIST"
|
|
287
280
|
# optimization - skip rebuild of rollup if possible
|
|
@@ -330,7 +323,6 @@ shCiBuildWasm() {(set -e
|
|
|
330
323
|
-s WASM=1 \
|
|
331
324
|
-s WASM_BIGINT \
|
|
332
325
|
build/sqlmath_base.c.wasm.o \
|
|
333
|
-
build/sqlmath_custom.c.wasm.o \
|
|
334
326
|
build/sqlmath_external_sqlite.c.wasm.o \
|
|
335
327
|
#
|
|
336
328
|
printf '' > sqlmath_wasm.js
|
|
@@ -447,12 +439,12 @@ shCiPublishNpmCustom() {(set -e
|
|
|
447
439
|
# This function will run custom-code to npm-publish package.
|
|
448
440
|
# fetch artifact
|
|
449
441
|
git fetch origin artifact --depth=1
|
|
450
|
-
git checkout origin/artifact
|
|
451
|
-
branch-beta/_sqlmath* \
|
|
452
|
-
branch-beta/sqlmath_wasm*
|
|
442
|
+
git checkout origin/artifact branch-beta/
|
|
453
443
|
cp -a branch-beta/_sqlmath.napi* ./
|
|
454
444
|
cp -a branch-beta/_sqlmath.shell* ./
|
|
455
445
|
cp -a branch-beta/sqlmath_wasm.* ./
|
|
446
|
+
mkdir -p sqlmath/
|
|
447
|
+
cp -a branch-beta/lib_lightgbm* sqlmath/
|
|
456
448
|
# npm-publish
|
|
457
449
|
npm publish --access public
|
|
458
450
|
)}
|
|
@@ -479,8 +471,7 @@ shCiTestNodejs() {(set -e
|
|
|
479
471
|
# lint c-file
|
|
480
472
|
python cpplint.py \
|
|
481
473
|
--filter=-whitespace/comments \
|
|
482
|
-
sqlmath_base.c
|
|
483
|
-
sqlmath_custom.c
|
|
474
|
+
sqlmath_base.c
|
|
484
475
|
# lint js-file
|
|
485
476
|
node jslint.mjs .
|
|
486
477
|
# create file MANIFEST.in
|
|
@@ -566,7 +557,6 @@ shSqlmathUpdate() {(set -e
|
|
|
566
557
|
then
|
|
567
558
|
shIndentC sqlmath_base.c
|
|
568
559
|
shIndentC sqlmath_base.h
|
|
569
|
-
shIndentC sqlmath_custom.c
|
|
570
560
|
shIndentC sqlmath_external_sqlite.c
|
|
571
561
|
fi
|
|
572
562
|
return
|
|
@@ -29,9 +29,9 @@ jobs:
|
|
|
29
29
|
node_version:
|
|
30
30
|
- "24"
|
|
31
31
|
os:
|
|
32
|
+
- macos-15
|
|
32
33
|
- macos-15-intel
|
|
33
|
-
-
|
|
34
|
-
- ubuntu-latest
|
|
34
|
+
- ubuntu-22.04
|
|
35
35
|
- windows-2022
|
|
36
36
|
python_version:
|
|
37
37
|
- "3.12"
|
|
@@ -42,7 +42,7 @@ jobs:
|
|
|
42
42
|
v${{ matrix.node_version }}
|
|
43
43
|
${{ matrix.architecture }}
|
|
44
44
|
${{ matrix.os }}
|
|
45
|
-
CI_MATRIX_NAME_MAIN: "node v24 x64 ubuntu-
|
|
45
|
+
CI_MATRIX_NAME_MAIN: "node v24 x64 ubuntu-22.04"
|
|
46
46
|
CI_MATRIX_NODE_VERSION: ${{ matrix.node_version }}
|
|
47
47
|
CI_MATRIX_NODE_VERSION_MAIN: "24"
|
|
48
48
|
CI_WORKFLOW_NAME: >
|
|
@@ -85,7 +85,7 @@ jobs:
|
|
|
85
85
|
github.event_name == 'schedule' ||
|
|
86
86
|
github.event_name == 'workflow_dispatch'
|
|
87
87
|
# https://github.com/actions/setup-node
|
|
88
|
-
- uses: actions/setup-node@
|
|
88
|
+
- uses: actions/setup-node@v6
|
|
89
89
|
with:
|
|
90
90
|
node-version: ${{ matrix.node_version }}
|
|
91
91
|
# https://github.com/actions/setup-python
|
|
@@ -17,8 +17,8 @@ jobs:
|
|
|
17
17
|
contents: read
|
|
18
18
|
packages: write
|
|
19
19
|
steps:
|
|
20
|
-
- uses: actions/checkout@
|
|
21
|
-
- uses: actions/setup-node@
|
|
20
|
+
- uses: actions/checkout@v5
|
|
21
|
+
- uses: actions/setup-node@v6
|
|
22
22
|
with:
|
|
23
23
|
node-version: "24"
|
|
24
24
|
registry-url: "https://npm.pkg.github.com"
|
|
@@ -39,8 +39,8 @@ jobs:
|
|
|
39
39
|
id-token: write # Required for OIDC
|
|
40
40
|
packages: write
|
|
41
41
|
steps:
|
|
42
|
-
- uses: actions/checkout@
|
|
43
|
-
- uses: actions/setup-node@
|
|
42
|
+
- uses: actions/checkout@v5
|
|
43
|
+
- uses: actions/setup-node@v6
|
|
44
44
|
with:
|
|
45
45
|
node-version: "24"
|
|
46
46
|
registry-url: "https://registry.npmjs.org"
|
|
@@ -59,8 +59,8 @@ jobs:
|
|
|
59
59
|
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
|
60
60
|
steps:
|
|
61
61
|
# retrieve your distributions here
|
|
62
|
-
- uses: actions/checkout@
|
|
63
|
-
- uses: actions/setup-python@
|
|
62
|
+
- uses: actions/checkout@v5
|
|
63
|
+
- uses: actions/setup-python@v6
|
|
64
64
|
with:
|
|
65
65
|
python-version: "3.12"
|
|
66
66
|
- run: sh jslint_ci.sh shCiPublishPypi
|
|
@@ -17,8 +17,8 @@ jobs:
|
|
|
17
17
|
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
|
|
18
18
|
steps:
|
|
19
19
|
# retrieve your distributions here
|
|
20
|
-
- uses: actions/checkout@
|
|
21
|
-
- uses: actions/setup-python@
|
|
20
|
+
- uses: actions/checkout@v5
|
|
21
|
+
- uses: actions/setup-python@v6
|
|
22
22
|
with:
|
|
23
23
|
python-version: "3.12"
|
|
24
24
|
- run: sh jslint_ci.sh shCiPublishPypi
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
# Todo
|
|
4
|
-
- sqlmath -
|
|
4
|
+
- sqlmath - Streamline and optimize sql-function WIN_SINEFIT2().
|
|
5
5
|
- sqlite - Add similar error-handling from builtin-sql-function PERCENTILE() into custom-sql-function QUANTILE().
|
|
6
6
|
- none
|
|
7
7
|
|
|
8
|
+
# v2026.4.31
|
|
9
|
+
- sqlmath-npm - bugfix - Fix missing lib_lightgbm pre-built libraries in npm-package. - part3 - ./sqlmath/lib_lightgbm_xxx.
|
|
10
|
+
- sqlmath-npm - bugfix - Fix missing lib_lightgbm pre-built libraries in npm-package. - part2 - git checkout origin/artifact branch-beta/
|
|
11
|
+
|
|
12
|
+
# v2026.4.30
|
|
13
|
+
- sqlmath-python - Add context manager and Pythonic API (execute, close) to SqlmathDb matching sqlite3 conventions.
|
|
14
|
+
- sqlmath-python - Add __repr__ and __bool__ methods to SqlmathDb for better debugging experience.
|
|
15
|
+
- sqlmath - Remove under-used custom-files sqlmath_custom.c, sqlmath_custom.mjs.
|
|
16
|
+
- github-ci - Pin various github-runner-os to stable/lts version.
|
|
17
|
+
- sqlmath-demo - Change historical charts from 5-years to 3-years.
|
|
18
|
+
- sqlmath-npm - bugfix - Fix missing lib_lightgbm pre-built libraries in npm-package.
|
|
19
|
+
- sqlmath-doc - Rewrite README with examples, API reference, use cases.
|
|
20
|
+
|
|
8
21
|
# v2026.3.31
|
|
9
22
|
- python-ci - bugfix - Fix shell-function shCiBaseCustom() always skipping python setup.py build_ext.
|
|
10
23
|
- ci - Speed-up windows-ci by replacing windows-latest with windows-2022.
|
|
@@ -32,8 +32,6 @@ include sqlmath/__init__.py
|
|
|
32
32
|
include sqlmath_base.c
|
|
33
33
|
include sqlmath_base.h
|
|
34
34
|
include sqlmath_browser.mjs
|
|
35
|
-
include sqlmath_custom.c
|
|
36
|
-
include sqlmath_custom.mjs
|
|
37
35
|
include sqlmath_external_sqlite.c
|
|
38
36
|
include sqlmath_wrapper_wasm.js
|
|
39
37
|
include test.mjs
|