Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3924e7d

Browse files
authored
Reorganized the SDK directory (#954)
1 parent1571cf8 commit3924e7d

File tree

99 files changed

+1543
-4435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+1543
-4435
lines changed

‎.github/workflows/javascript-sdk.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
with:
3030
command:version
3131
-name:Do build
32+
env:
33+
TYPESCRIPT_DECLARATION_FILE:"javascript/index.d.ts"
3234
run:|
3335
npm i
3436
npm run build-release

‎.github/workflows/python-sdk.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,13 @@ jobs:
4949
if:github.event.inputs.deploy_to_pypi == 'false'
5050
env:
5151
MATURIN_PYPI_TOKEN:${{ secrets.TEST_PYPI_API_TOKEN }}
52+
PYTHON_STUB_FILE:"python/pgml/pgml.pyi"
5253
run:maturin publish -r testpypi -i python3.7 -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
5354
-name:Build and deploy wheels to PyPI
5455
if:github.event.inputs.deploy_to_pypi == 'true'
5556
env:
5657
MATURIN_PYPI_TOKEN:${{ secrets.PYPI_API_TOKEN }}
58+
PYTHON_STUB_FILE:"python/pgml/pgml.pyi"
5759
run:maturin publish -i python3.7 -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
5860

5961
deploy-python-sdk-mac:
@@ -83,11 +85,13 @@ jobs:
8385
if:github.event.inputs.deploy_to_pypi == 'false'
8486
env:
8587
MATURIN_PYPI_TOKEN:${{ secrets.TEST_PYPI_API_TOKEN }}
88+
PYTHON_STUB_FILE:"python/pgml/pgml.pyi"
8689
run:maturin publish -r testpypi -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
8790
-name:Build and deploy wheels to PyPI
8891
if:github.event.inputs.deploy_to_pypi == 'true'
8992
env:
9093
MATURIN_PYPI_TOKEN:${{ secrets.PYPI_API_TOKEN }}
94+
PYTHON_STUB_FILE:"python/pgml/pgml.pyi"
9195
run:maturin publish -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
9296

9397
deploy-python-sdk-windows:
@@ -119,9 +123,11 @@ jobs:
119123
if:github.event.inputs.deploy_to_pypi == 'false'
120124
env:
121125
MATURIN_PYPI_TOKEN:${{ secrets.TEST_PYPI_API_TOKEN }}
126+
PYTHON_STUB_FILE:"python/pgml/pgml.pyi"
122127
run:maturin publish -r testpypi -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
123128
-name:Build and deploy wheels to PyPI
124129
if:github.event.inputs.deploy_to_pypi == 'true'
125130
env:
126131
MATURIN_PYPI_TOKEN:${{ secrets.PYPI_API_TOKEN }}
132+
PYTHON_STUB_FILE:"python/pgml/pgml.pyi"
127133
run:maturin publish -i python3.8 -i python3.9 -i python3.10 -i python3.11 --skip-existing -F python
File renamed without changes.

‎pgml-sdks/rust/pgml/Cargo.lockrenamed to ‎pgml-sdks/pgml/Cargo.lock

Lines changed: 26 additions & 11 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎pgml-sdks/rust/pgml/Cargo.tomlrenamed to ‎pgml-sdks/pgml/Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22
name ="pgml"
33
version ="0.9.0"
44
edition ="2021"
5+
authors = ["PosgresML <team@postgresml.org>"]
6+
homepage ="https://postgresml.org/"
7+
repository =""
8+
license ="MIT"
9+
keywords = ["postgres","machine learning","vector databases","embeddings"]
510

611
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
712
[lib]
813
name ="pgml"
914
crate-type = ["lib","cdylib"]
1015

1116
[dependencies]
12-
pgml-macros = {path ="../pgml-macros"}
17+
rust_bridge = {path ="../rust-bridge/rust-bridge",version ="0.1.0"}
1318
sqlx = {version ="0.6",features = ["runtime-tokio-rustls","postgres","json","time","uuid","chrono"] }
1419
serde_json ="1.0.9"
1520
anyhow ="1.0.9"

‎pgml-sdks/pgml/README.md

Lines changed: 14 additions & 0 deletions
File renamed without changes.

‎pgml-sdks/rust/pgml/javascript/README.mdrenamed to ‎pgml-sdks/pgml/javascript/README.md

Lines changed: 1 addition & 2 deletions

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp