sqlmath 2026.4.30__tar.gz → 2026.6.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 (45) hide show
  1. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/.ci.sh +4 -8
  2. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/.gitconfig +3 -0
  3. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/.github/workflows/ci.yml +3 -4
  4. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/.github/workflows/publish.yml +6 -6
  5. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/.github/workflows/publish_pypi_test.yml +2 -2
  6. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/.npmignore +1 -1
  7. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/CHANGELOG.md +22 -0
  8. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/PKG-INFO +7 -7
  9. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/README.md +6 -6
  10. sqlmath-2026.6.30/cpplint.py +7885 -0
  11. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/jslint.mjs +1937 -1526
  12. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/jslint_ci.sh +195 -158
  13. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/package.json +1 -1
  14. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/pyproject.toml +1 -1
  15. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/setup.py +2 -2
  16. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/sqlmath/__init__.py +19 -19
  17. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/sqlmath.mjs +244 -159
  18. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/sqlmath_browser.mjs +10 -59
  19. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/sqlmath_wrapper_wasm.js +0 -26
  20. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/test.mjs +22 -12
  21. sqlmath-2026.4.30/cpplint.py +0 -6974
  22. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/.gitignore +0 -0
  23. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/LICENSE +0 -0
  24. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/MANIFEST.in +0 -0
  25. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/asset_image_folder_open_solid.svg +0 -0
  26. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/asset_image_github_brands.svg +0 -0
  27. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/asset_image_logo_256.html +0 -0
  28. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/asset_image_logo_256.png +0 -0
  29. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/asset_image_logo_256.svg +0 -0
  30. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/asset_sqlmath_external_rollup.js +0 -0
  31. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/csslint.js +0 -0
  32. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/indent.exe +0 -0
  33. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/index.html +0 -0
  34. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/libiconv2.dll +0 -0
  35. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/libintl3.dll +0 -0
  36. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/sqlmath_base.c +0 -0
  37. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/sqlmath_base.h +0 -0
  38. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/sqlmath_external_sqlite.c +0 -0
  39. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/test.py +0 -0
  40. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/test_data_sinefit.csv +0 -0
  41. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/test_lgbm_binary.test +0 -0
  42. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/test_lgbm_binary.train +0 -0
  43. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/test_lgbm_numpy.py +0 -0
  44. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/test_lgbm_preb.txt +0 -0
  45. {sqlmath-2026.4.30 → sqlmath-2026.6.30}/zlib.v1.3.1.vcpkg.x64-windows-static.lib +0 -0
@@ -1,9 +1,5 @@
1
1
  #!/bin/sh
2
2
 
3
- # sh one-liner
4
- # sh jslint_ci.sh shCiBuildWasm
5
- # sh jslint_ci.sh shSqlmathUpdate
6
-
7
3
  SQLMATH_CFLAG_WALL_LIST=" \
8
4
  -Wall \
9
5
  -Werror \
@@ -439,13 +435,12 @@ shCiPublishNpmCustom() {(set -e
439
435
  # This function will run custom-code to npm-publish package.
440
436
  # fetch artifact
441
437
  git fetch origin artifact --depth=1
442
- git checkout origin/artifact \
443
- branch-beta/_sqlmath* \
444
- branch-beta/sqlmath_wasm*
438
+ git checkout origin/artifact branch-beta/
445
439
  cp -a branch-beta/_sqlmath.napi* ./
446
440
  cp -a branch-beta/_sqlmath.shell* ./
447
- cp -a branch-beta/lib_lightgbm* ./
448
441
  cp -a branch-beta/sqlmath_wasm.* ./
442
+ mkdir -p sqlmath/
443
+ cp -a branch-beta/lib_lightgbm* sqlmath/
449
444
  # npm-publish
450
445
  npm publish --access public
451
446
  )}
@@ -567,6 +562,7 @@ shSqlmathUpdate() {(set -e
567
562
  for FILE in \
568
563
  .ci.sh \
569
564
  asset_sqlmath_external_rollup.js \
565
+ cpplint.py \
570
566
  index.html \
571
567
  setup.py \
572
568
  sqlmath.mjs \
@@ -2,6 +2,9 @@
2
2
  [branch "alpha"]
3
3
  merge = refs/heads/alpha
4
4
  remote = origin
5
+ [branch "alpha2"]
6
+ merge = refs/heads/alpha2
7
+ remote = origin
5
8
  [branch "base"]
6
9
  merge = refs/heads/base
7
10
  remote = origin
@@ -13,9 +13,8 @@ on:
13
13
  - beta
14
14
  - master
15
15
  workflow_dispatch:
16
- env:
17
- MY_GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}
18
- zzzz1234: 1
16
+ permissions:
17
+ contents: write
19
18
  jobs:
20
19
 
21
20
 
@@ -85,7 +84,7 @@ jobs:
85
84
  github.event_name == 'schedule' ||
86
85
  github.event_name == 'workflow_dispatch'
87
86
  # https://github.com/actions/setup-node
88
- - uses: actions/setup-node@v5
87
+ - uses: actions/setup-node@v6
89
88
  with:
90
89
  node-version: ${{ matrix.node_version }}
91
90
  # 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@v4
21
- - uses: actions/setup-node@v4
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@v4
43
- - uses: actions/setup-node@v4
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@v4
63
- - uses: actions/setup-python@v5
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@v4
21
- - uses: actions/setup-python@v5
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
@@ -10,8 +10,8 @@ node_modules
10
10
  !_sqlmath.napi*
11
11
  !_sqlmath.shell*
12
12
  !jslint.mjs
13
- !lib_lightgbm*
14
13
  !sqlmath.mjs
14
+ !sqlmath/lib_lightgbm*
15
15
  !sqlmath_browser.mjs
16
16
  !sqlmath_wasm*
17
17
  !test.mjs
@@ -1,10 +1,32 @@
1
1
  # Changelog
2
2
 
3
3
  # Todo
4
+ - sqlmath - Update function dbTableImportAsync() with excel/xlsx support.
5
+ - sqlmath - Add file asset_sheetjs_rollup.mjs.
4
6
  - sqlmath - Streamline and optimize sql-function WIN_SINEFIT2().
5
7
  - sqlite - Add similar error-handling from builtin-sql-function PERCENTILE() into custom-sql-function QUANTILE().
6
8
  - none
7
9
 
10
+ # v2026.6.30
11
+ - jslint-ecma - Update README.md, documenting supported ES2015+ features.
12
+ - jslint-ecma - Unify ES2015-destructure-logic into function prefix_destructure().
13
+ - jslint - Wrap all property-updates 'name.init = true/false' with calls to:
14
+ name_lookup() - 'aa=0'
15
+ name_push() - 'let aa=0'
16
+ - cpplint - Upgrade to cpplint@v2.0.2.
17
+ - jslint - Add ES2018-syntax for object-literal-spread-operator.
18
+ - jslint - Add ES2025-syntax 'import ... with {...}'.
19
+
20
+ # v2026.5.31
21
+ - sqlmath - Add function csvFromListofList().
22
+ - sqlmath - Rename function jsonRowListFromCsv() to csvToListofList().
23
+ - sqlmath-demo - Update chart tradebot_tech_intra_xxx normalized to spy_prc instead of stk_pct.
24
+ - sqlmath - Add function uvthreadpoolsizeGet().
25
+
26
+ # v2026.4.31
27
+ - sqlmath-npm - bugfix - Fix missing lib_lightgbm pre-built libraries in npm-package. - part3 - ./sqlmath/lib_lightgbm_xxx.
28
+ - sqlmath-npm - bugfix - Fix missing lib_lightgbm pre-built libraries in npm-package. - part2 - git checkout origin/artifact branch-beta/
29
+
8
30
  # v2026.4.30
9
31
  - sqlmath-python - Add context manager and Pythonic API (execute, close) to SqlmathDb matching sqlite3 conventions.
10
32
  - sqlmath-python - Add __repr__ and __bool__ methods to SqlmathDb for better debugging experience.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sqlmath
3
- Version: 2026.4.30
3
+ Version: 2026.6.30
4
4
  Summary: sqlite for data-science
5
5
  Author: Kai Zhu
6
6
  Requires-Python: >=3.10
@@ -34,7 +34,7 @@ Description-Content-Type: text/markdown
34
34
 
35
35
  # Status
36
36
 
37
- | Branch | [master<br>(v2026.4.30)](https://github.com/sqlmath/sqlmath/tree/master) | [beta<br>(Web Demo)](https://github.com/sqlmath/sqlmath/tree/beta) | [alpha<br>(Development)](https://github.com/sqlmath/sqlmath/tree/alpha) |
37
+ | Branch | [master<br>(v2026.6.30)](https://github.com/sqlmath/sqlmath/tree/master) | [beta<br>(Web Demo)](https://github.com/sqlmath/sqlmath/tree/beta) | [alpha<br>(Development)](https://github.com/sqlmath/sqlmath/tree/alpha) |
38
38
  |--:|:--:|:--:|:--:|
39
39
  | CI | [![ci](https://github.com/sqlmath/sqlmath/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/sqlmath/sqlmath/actions?query=branch%3Amaster) | [![ci](https://github.com/sqlmath/sqlmath/actions/workflows/ci.yml/badge.svg?branch=beta)](https://github.com/sqlmath/sqlmath/actions?query=branch%3Abeta) | [![ci](https://github.com/sqlmath/sqlmath/actions/workflows/ci.yml/badge.svg?branch=alpha)](https://github.com/sqlmath/sqlmath/actions?query=branch%3Aalpha) |
40
40
  | Coverage | [![coverage](https://sqlmath.github.io/sqlmath/branch-master/.artifact/coverage/coverage_badge.svg)](https://sqlmath.github.io/sqlmath/branch-master/.artifact/coverage/index.html) | [![coverage](https://sqlmath.github.io/sqlmath/branch-beta/.artifact/coverage/coverage_badge.svg)](https://sqlmath.github.io/sqlmath/branch-beta/.artifact/coverage/index.html) | [![coverage](https://sqlmath.github.io/sqlmath/branch-alpha/.artifact/coverage/coverage_badge.svg)](https://sqlmath.github.io/sqlmath/branch-alpha/.artifact/coverage/index.html) |
@@ -423,7 +423,7 @@ Full notebook with fraud detection, intraday trading signals, and model persiste
423
423
  **Kaggle Environment:**
424
424
  - Linux x64, Python 3.12, Node.js 24
425
425
  - Datasets: [Credit Card Fraud](https://www.kaggle.com/datasets/mlg-ulb/creditcardfraud) (284K transactions), SPY intraday OHLCV
426
- - sqlmath installs via `pip install sqlmath==2026.4.30`
426
+ - sqlmath installs via `pip install sqlmath==2026.6.30`
427
427
 
428
428
 
429
429
  <br><br>
@@ -668,11 +668,11 @@ PORT=8080 sh jslint_ci.sh shHttpFileServer
668
668
  ```shell
669
669
  python -m build
670
670
  #
671
- twine upload --repository testpypi dist/sqlmath-2026.4.30*
672
- py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2026.4.30
671
+ twine upload --repository testpypi dist/sqlmath-2026.6.30*
672
+ py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2026.6.30
673
673
  #
674
- twine upload dist/sqlmath-2026.4.30*
675
- pip install sqlmath==2026.4.30
674
+ twine upload dist/sqlmath-2026.6.30*
675
+ pip install sqlmath==2026.6.30
676
676
  ```
677
677
 
678
678
 
@@ -9,7 +9,7 @@
9
9
 
10
10
  # Status
11
11
 
12
- | Branch | [master<br>(v2026.4.30)](https://github.com/sqlmath/sqlmath/tree/master) | [beta<br>(Web Demo)](https://github.com/sqlmath/sqlmath/tree/beta) | [alpha<br>(Development)](https://github.com/sqlmath/sqlmath/tree/alpha) |
12
+ | Branch | [master<br>(v2026.6.30)](https://github.com/sqlmath/sqlmath/tree/master) | [beta<br>(Web Demo)](https://github.com/sqlmath/sqlmath/tree/beta) | [alpha<br>(Development)](https://github.com/sqlmath/sqlmath/tree/alpha) |
13
13
  |--:|:--:|:--:|:--:|
14
14
  | CI | [![ci](https://github.com/sqlmath/sqlmath/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/sqlmath/sqlmath/actions?query=branch%3Amaster) | [![ci](https://github.com/sqlmath/sqlmath/actions/workflows/ci.yml/badge.svg?branch=beta)](https://github.com/sqlmath/sqlmath/actions?query=branch%3Abeta) | [![ci](https://github.com/sqlmath/sqlmath/actions/workflows/ci.yml/badge.svg?branch=alpha)](https://github.com/sqlmath/sqlmath/actions?query=branch%3Aalpha) |
15
15
  | Coverage | [![coverage](https://sqlmath.github.io/sqlmath/branch-master/.artifact/coverage/coverage_badge.svg)](https://sqlmath.github.io/sqlmath/branch-master/.artifact/coverage/index.html) | [![coverage](https://sqlmath.github.io/sqlmath/branch-beta/.artifact/coverage/coverage_badge.svg)](https://sqlmath.github.io/sqlmath/branch-beta/.artifact/coverage/index.html) | [![coverage](https://sqlmath.github.io/sqlmath/branch-alpha/.artifact/coverage/coverage_badge.svg)](https://sqlmath.github.io/sqlmath/branch-alpha/.artifact/coverage/index.html) |
@@ -398,7 +398,7 @@ Full notebook with fraud detection, intraday trading signals, and model persiste
398
398
  **Kaggle Environment:**
399
399
  - Linux x64, Python 3.12, Node.js 24
400
400
  - Datasets: [Credit Card Fraud](https://www.kaggle.com/datasets/mlg-ulb/creditcardfraud) (284K transactions), SPY intraday OHLCV
401
- - sqlmath installs via `pip install sqlmath==2026.4.30`
401
+ - sqlmath installs via `pip install sqlmath==2026.6.30`
402
402
 
403
403
 
404
404
  <br><br>
@@ -643,11 +643,11 @@ PORT=8080 sh jslint_ci.sh shHttpFileServer
643
643
  ```shell
644
644
  python -m build
645
645
  #
646
- twine upload --repository testpypi dist/sqlmath-2026.4.30*
647
- py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2026.4.30
646
+ twine upload --repository testpypi dist/sqlmath-2026.6.30*
647
+ py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2026.6.30
648
648
  #
649
- twine upload dist/sqlmath-2026.4.30*
650
- pip install sqlmath==2026.4.30
649
+ twine upload dist/sqlmath-2026.6.30*
650
+ pip install sqlmath==2026.6.30
651
651
  ```
652
652
 
653
653