sqlmath 2023.5.25 → 2023.7.21

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.
package/CHANGELOG.md CHANGED
@@ -3,7 +3,25 @@
3
3
  # Todo
4
4
  - none
5
5
 
6
+ # v2023.7.21
7
+ - sqlmath - Update sql-function win_slr2() to additionally return predicted y-value and rmse.
8
+ - betadog - Migrate market-indicator from spy to spx.
9
+
10
+ # v2023.6.26
11
+ - sqlmath - fix broken interpolation in sql-function quantile().
12
+ - sqlmath - Add sql-function win_quantile1(), win_quantile2().
13
+ - sqlmath - Update sql-function win_slr2() to be vectorized.
14
+ - sqlmath - Add sql-function win_ema2().
15
+ - betadog - Add feature xema_xxx into ml model.
16
+ - sqlmath - Add sql-function win_slr().
17
+ - sqlmath - Add sql-function vec_win_slr_updatelast().
18
+ - sqlmath - Add sql-function vec_win_slr().
19
+ - sqlmath - Revamp struct Vector99.
20
+ - sqlmath - Add sql-function vec_concat().
21
+ - sqlmath - Add sql-function castrealornull().
22
+
6
23
  # v2023.5.25
24
+ - ci - auto-update python version
7
25
  - jslint - Add grammar for "export async function ...".
8
26
  - sqlite - Remove hacky sqlite-extension-function.
9
27
  - python - Migrate python-driver from pysqlite3 to cpython.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
  # Status
5
- | Branch | [master<br>(v2023.5.25)](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) |
5
+ | Branch | [master<br>(v2023.7.21)](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) |
6
6
  |--:|:--:|:--:|:--:|
7
7
  | 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) |
8
8
  | 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) |
@@ -117,7 +117,12 @@ PORT=8080 sh jslint_ci.sh shHttpFileServer
117
117
 
118
118
  <br><br>
119
119
  ### python pypi publish
120
- - $ `twine upload --repository testpypi dist/sqlmath-0.0.5*`
121
- - $ `py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==0.0.5`
122
- - $ `twine upload dist/sqlmath-0.0.5*`
123
- - $ `pip install sqlmath==0.0.5`
120
+ ```shell
121
+ python -m build
122
+ #
123
+ twine upload --repository testpypi dist/sqlmath-2023.7.21*
124
+ py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2023.7.21
125
+ #
126
+ twine upload dist/sqlmath-2023.7.21*
127
+ pip install sqlmath==2023.7.21
128
+ ```
package/jslint.mjs CHANGED
@@ -165,7 +165,7 @@ let jslint_charset_ascii = (
165
165
  + "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
166
166
  + "`abcdefghijklmnopqrstuvwxyz{|}~\u007f"
167
167
  );
168
- let jslint_edition = "v2023.6.1-beta";
168
+ let jslint_edition = "v2023.6.21";
169
169
  let jslint_export; // The jslint object to be exported.
170
170
  let jslint_fudge = 1; // Fudge starting line and starting
171
171
  // ... column to 1.
package/package.json CHANGED
@@ -38,5 +38,5 @@
38
38
  },
39
39
  "shCiArtifactUpload": 1,
40
40
  "shCiNpmPublish": 1,
41
- "version": "2023.5.25"
41
+ "version": "2023.7.21"
42
42
  }
package/sqlmath.mjs CHANGED
@@ -60,6 +60,7 @@ let SQLITE_OPEN_TEMP_JOURNAL = 0x00001000; /* VFS only */
60
60
  let SQLITE_OPEN_TRANSIENT_DB = 0x00000400; /* VFS only */
61
61
  let SQLITE_OPEN_URI = 0x00000040; /* Ok for sqlite3_open_v2() */
62
62
  let SQLITE_OPEN_WAL = 0x00080000; /* VFS only */
63
+ let SQLITE_WIN_SLR_ELEM_SIZE = 10;
63
64
  let cModule;
64
65
  let cModulePath;
65
66
  let consoleError = console.error;
@@ -97,7 +98,7 @@ let {
97
98
  let sqlMessageDict = {}; // dict of web-worker-callbacks
98
99
  let sqlMessageId = 0;
99
100
  let sqlWorker;
100
- let version = "v2023.5.25";
101
+ let version = "v2023.7.21";
101
102
 
102
103
  function assertJsonEqual(aa, bb, message) {
103
104
 
@@ -1356,6 +1357,7 @@ export {
1356
1357
  SQLITE_OPEN_TRANSIENT_DB,
1357
1358
  SQLITE_OPEN_URI,
1358
1359
  SQLITE_OPEN_WAL,
1360
+ SQLITE_WIN_SLR_ELEM_SIZE,
1359
1361
  assertJsonEqual,
1360
1362
  assertNumericalEqual,
1361
1363
  assertOrThrow,