forked from sqlmath/sqlmath
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPKG-INFO
More file actions
174 lines (127 loc) · 6.51 KB
/
PKG-INFO
File metadata and controls
174 lines (127 loc) · 6.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
Metadata-Version: 2.1
Name: sqlmath
Version: 2026.3.31
Summary: sqlite for datascience
Author: Kai Zhu
Requires-Python: >=3.10
License: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: C
Classifier: Programming Language :: JavaScript
Classifier: Programming Language :: Python
Classifier: Topic :: Database
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development
Project-URL: Homepage, https://github.com/sqlmath/sqlmath
Project-URL: Changelog, https://github.com/sqlmath/sqlmath/blob/master/CHANGELOG.md
License-File: LICENSE
Description-Content-Type: text/markdown
# sqlmath - sqlite for data-science
# Status
| Branch | [master<br>(v2026.3.31)](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) |
|--:|:--:|:--:|:--:|
| CI | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Amaster) | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Abeta) | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Aalpha) |
| Coverage | [](https://sqlmath.github.io/sqlmath/branch-master/.artifact/coverage/index.html) | [](https://sqlmath.github.io/sqlmath/branch-beta/.artifact/coverage/index.html) | [](https://sqlmath.github.io/sqlmath/branch-alpha/.artifact/coverage/index.html) |
| Demo | [<img src="https://sqlmath.github.io/sqlmath/asset_image_github_brands.svg" height="32">](https://sqlmath.github.io/sqlmath/branch-master/index.html) | [<img src="https://sqlmath.github.io/sqlmath/asset_image_github_brands.svg" height="32">](https://sqlmath.github.io/sqlmath/branch-beta/index.html) | [<img src="https://sqlmath.github.io/sqlmath/asset_image_github_brands.svg" height="32">](https://sqlmath.github.io/sqlmath/branch-alpha/index.html) |
| Artifacts | [<img src="https://sqlmath.github.io/sqlmath/asset_image_folder_open_solid.svg" height="30">](https://github.com/sqlmath/sqlmath/tree/gh-pages/branch-master/.artifact) | [<img src="https://sqlmath.github.io/sqlmath/asset_image_folder_open_solid.svg" height="30">](https://github.com/sqlmath/sqlmath/tree/gh-pages/branch-beta/.artifact) | [<img src="https://sqlmath.github.io/sqlmath/asset_image_folder_open_solid.svg" height="30">](https://github.com/sqlmath/sqlmath/tree/gh-pages/branch-alpha/.artifact) |
<br><br>
# Table of Contents
1. [Web Demo](#web-demo)
2. [Quickstart Build](#quickstart-build)
- [To build sqlmath:](#to-build-sqlmath)
3. [Quickstart Website](#quickstart-website)
- [To serve your own sqlmath website:](#to-serve-your-own-sqlmath-website)
4. [Documentation](#documentation)
- [API Doc](#api-doc)
5. [Package Listing](#package-listing)
6. [Changelog](#changelog)
7. [License](#license)
8. [Devops Instruction](#devops-instruction)
- [python pypi publish](#python-pypi-publish)
- [sqlite upgrade](#sqlite-upgrade)
<br><br>
# Web Demo
- https://sqlmath.github.io/sqlmath/index.html
[](https://sqlmath.github.io/sqlmath/index.html)
<br><br>
# Quickstart Build
<br><br>
### To build sqlmath:
```shell
#!/bin/sh
# git clone sqlmath repo
git clone https://github.com/sqlmath/sqlmath --branch=beta --single-branch
cd sqlmath
# build nodejs binary ./_binary_sqlmath_napi8_xxx_x64.node
npm run test2
# build webassembly binary ./sqlmath_wasm.wasm
sh jslint_ci.sh shCiBuildWasm
```
<br><br>
# Quickstart Website
<br><br>
### To serve your own sqlmath website:
```shell
#!/bin/sh
# cd <sqlmath repo>
# serve website at http://localhost:8080/index.html
PORT=8080 sh jslint_ci.sh shHttpFileServer
```
<br><br>
# Documentation
<br><br>
### API Doc
- https://sqlmath.github.io/sqlmath/apidoc.html
[](https://sqlmath.github.io/sqlmath/apidoc.html)
<br><br>
# Package Listing

<br><br>
# Changelog
- [Full CHANGELOG.md](CHANGELOG.md)

<br><br>
# License
- [sqlite](https://github.com/sqlite/sqlite) is under [public domain](https://www.sqlite.org/copyright.html).
- [jslint](https://github.com/jslint-org/jslint) is under [Unlicense License](https://github.com/jslint-org/jslint/blob/master/LICENSE).
- [zlib](https://github.com/madler/zlib) is under [zlib License](https://github.com/madler/zlib/blob/v1.3.1/LICENSE).
- [cpplint.py](cpplint.py) is under [3-Clause BSD License](https://github.com/cpplint/cpplint/blob/2.0.0/LICENSE).
- [indent.exe](indent.exe) is under [GPLv3 License](https://www.gnu.org/licenses/gpl-3.0.txt)<!--no-validate-->.
- Everything else is under MIT License.
<br><br>
# Devops Instruction
<br><br>
### python pypi publish
```shell
python -m build
#
twine upload --repository testpypi dist/sqlmath-2026.3.31*
py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2026.3.31
#
twine upload dist/sqlmath-2026.3.31*
pip install sqlmath==2026.3.31
```
<br><br>
### sqlite upgrade
- goto https://www.sqlite.org/changes.html
```shell
(set -e
#
# lgbm
sh jslint_ci.sh shRollupUpgrade "v4.5.0" "v4.6.0" ".ci.sh sqlmath_base.h"
#
# sqlite
sh jslint_ci.sh shRollupUpgrade "3.50.3" "3.50.4" ".ci.sh sqlmath_external_sqlite.c"
sh jslint_ci.sh shRollupUpgrade "3500300" "3500400" ".ci.sh sqlmath_external_sqlite.c"
#
# shSqlmathUpdate
read -p "Press Enter to shSqlmathUpdate:"
sh jslint_ci.sh shSqlmathUpdate
)
```