sqlmath 2026.3.31__tar.gz → 2026.4.30__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 (48) hide show
  1. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/.ci.sh +2 -11
  2. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/.github/workflows/ci.yml +3 -3
  3. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/.npmignore +0 -1
  4. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/CHANGELOG.md +10 -1
  5. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/MANIFEST.in +0 -2
  6. sqlmath-2026.4.30/PKG-INFO +696 -0
  7. sqlmath-2026.4.30/README.md +671 -0
  8. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/jslint.mjs +1 -1
  9. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/package.json +2 -2
  10. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/pyproject.toml +2 -2
  11. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/setup.py +4 -16
  12. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/sqlmath/__init__.py +33 -2
  13. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/sqlmath.mjs +7 -10
  14. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/sqlmath_base.c +0 -9
  15. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/sqlmath_browser.mjs +6 -6
  16. sqlmath-2026.3.31/PKG-INFO +0 -174
  17. sqlmath-2026.3.31/README.md +0 -149
  18. sqlmath-2026.3.31/sqlmath_custom.c +0 -59
  19. sqlmath-2026.3.31/sqlmath_custom.mjs +0 -4
  20. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/.gitconfig +0 -0
  21. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/.github/workflows/publish.yml +0 -0
  22. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/.github/workflows/publish_pypi_test.yml +0 -0
  23. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/.gitignore +0 -0
  24. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/LICENSE +0 -0
  25. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/asset_image_folder_open_solid.svg +0 -0
  26. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/asset_image_github_brands.svg +0 -0
  27. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/asset_image_logo_256.html +0 -0
  28. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/asset_image_logo_256.png +0 -0
  29. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/asset_image_logo_256.svg +0 -0
  30. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/asset_sqlmath_external_rollup.js +0 -0
  31. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/cpplint.py +0 -0
  32. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/csslint.js +0 -0
  33. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/indent.exe +0 -0
  34. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/index.html +0 -0
  35. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/jslint_ci.sh +0 -0
  36. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/libiconv2.dll +0 -0
  37. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/libintl3.dll +0 -0
  38. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/sqlmath_base.h +0 -0
  39. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/sqlmath_external_sqlite.c +0 -0
  40. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/sqlmath_wrapper_wasm.js +0 -0
  41. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/test.mjs +0 -0
  42. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/test.py +0 -0
  43. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/test_data_sinefit.csv +0 -0
  44. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/test_lgbm_binary.test +0 -0
  45. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/test_lgbm_binary.train +0 -0
  46. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/test_lgbm_numpy.py +0 -0
  47. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/test_lgbm_preb.txt +0 -0
  48. {sqlmath-2026.3.31 → sqlmath-2026.4.30}/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
@@ -452,6 +444,7 @@ shCiPublishNpmCustom() {(set -e
452
444
  branch-beta/sqlmath_wasm*
453
445
  cp -a branch-beta/_sqlmath.napi* ./
454
446
  cp -a branch-beta/_sqlmath.shell* ./
447
+ cp -a branch-beta/lib_lightgbm* ./
455
448
  cp -a branch-beta/sqlmath_wasm.* ./
456
449
  # npm-publish
457
450
  npm publish --access public
@@ -479,8 +472,7 @@ shCiTestNodejs() {(set -e
479
472
  # lint c-file
480
473
  python cpplint.py \
481
474
  --filter=-whitespace/comments \
482
- sqlmath_base.c \
483
- sqlmath_custom.c
475
+ sqlmath_base.c
484
476
  # lint js-file
485
477
  node jslint.mjs .
486
478
  # create file MANIFEST.in
@@ -566,7 +558,6 @@ shSqlmathUpdate() {(set -e
566
558
  then
567
559
  shIndentC sqlmath_base.c
568
560
  shIndentC sqlmath_base.h
569
- shIndentC sqlmath_custom.c
570
561
  shIndentC sqlmath_external_sqlite.c
571
562
  fi
572
563
  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
- - macos-latest
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-latest"
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: >
@@ -13,6 +13,5 @@ node_modules
13
13
  !lib_lightgbm*
14
14
  !sqlmath.mjs
15
15
  !sqlmath_browser.mjs
16
- !sqlmath_custom.mjs
17
16
  !sqlmath_wasm*
18
17
  !test.mjs
@@ -1,10 +1,19 @@
1
1
  # Changelog
2
2
 
3
3
  # Todo
4
- - sqlmath - Re-introduce sliding-discrete-fourier-transform to improve initial guess in sql-function WIN_SINEFIT2().
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.30
9
+ - sqlmath-python - Add context manager and Pythonic API (execute, close) to SqlmathDb matching sqlite3 conventions.
10
+ - sqlmath-python - Add __repr__ and __bool__ methods to SqlmathDb for better debugging experience.
11
+ - sqlmath - Remove under-used custom-files sqlmath_custom.c, sqlmath_custom.mjs.
12
+ - github-ci - Pin various github-runner-os to stable/lts version.
13
+ - sqlmath-demo - Change historical charts from 5-years to 3-years.
14
+ - sqlmath-npm - bugfix - Fix missing lib_lightgbm pre-built libraries in npm-package.
15
+ - sqlmath-doc - Rewrite README with examples, API reference, use cases.
16
+
8
17
  # v2026.3.31
9
18
  - python-ci - bugfix - Fix shell-function shCiBaseCustom() always skipping python setup.py build_ext.
10
19
  - 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