tinet-data-foundry-cli 0.1.2__tar.gz → 0.1.3__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.
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/PKG-INFO +23 -3
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/README.md +22 -2
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/pyproject.toml +1 -1
- tinet_data_foundry_cli-0.1.3/src/tinet_data_foundry_cli/__init__.py +1 -0
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli.egg-info/PKG-INFO +23 -3
- tinet_data_foundry_cli-0.1.2/src/tinet_data_foundry_cli/__init__.py +0 -1
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/setup.cfg +0 -0
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli/__main__.py +0 -0
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli/auth.py +0 -0
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli/cli.py +0 -0
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli/client.py +0 -0
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli.egg-info/SOURCES.txt +0 -0
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli.egg-info/dependency_links.txt +0 -0
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli.egg-info/entry_points.txt +0 -0
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli.egg-info/top_level.txt +0 -0
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/tests/test_cli.py +0 -0
- {tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/tests/test_sign.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tinet-data-foundry-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Tinet Data Foundry 取数 CLI(catalog / query / schema)
|
|
5
5
|
Author: Tinet
|
|
6
6
|
License: MIT
|
|
@@ -19,7 +19,11 @@ Description-Content-Type: text/markdown
|
|
|
19
19
|
|
|
20
20
|
Tinet Data Foundry 取数 CLI。包名 `tinet-data-foundry-cli`,命令 **`tdf`**(避开系统磁盘命令 `df`)。
|
|
21
21
|
|
|
22
|
-
鉴权只用环境变量,**不要**把 AccessKey / SecretKey
|
|
22
|
+
鉴权只用环境变量,**不要**把 AccessKey / SecretKey 写入本地文件。需要 Python **≥ 3.10**。
|
|
23
|
+
|
|
24
|
+
macOS / Linux 用 Terminal(bash / zsh)。Windows 用 **cmd.exe** 跑下面示例(不要用 PowerShell 传 JSON:`export` 不可用,引号也会被剥掉)。
|
|
25
|
+
|
|
26
|
+
## macOS / Linux
|
|
23
27
|
|
|
24
28
|
```bash
|
|
25
29
|
pip install -U tinet-data-foundry-cli
|
|
@@ -39,7 +43,23 @@ tdf query \
|
|
|
39
43
|
--page-size 10
|
|
40
44
|
```
|
|
41
45
|
|
|
42
|
-
|
|
46
|
+
若 pip 提示 scripts 目录不在 PATH,把该目录加入 PATH,或用 `python3 -m tinet_data_foundry_cli`。
|
|
47
|
+
|
|
48
|
+
## Windows(cmd.exe)
|
|
49
|
+
|
|
50
|
+
```bat
|
|
51
|
+
pip install -U tinet-data-foundry-cli
|
|
52
|
+
|
|
53
|
+
set DF_ENDPOINT=https://data-foundry-data-api.tinetcloud.com
|
|
54
|
+
set DF_AK=你的_AccessKey
|
|
55
|
+
set DF_SK=你的_SecretKey
|
|
56
|
+
|
|
57
|
+
tdf catalog
|
|
58
|
+
tdf schema --dataset "DATASET_ID"
|
|
59
|
+
tdf query --dataset "DATASET_ID" --fields "id" --filter "{\"op\":\"eq\",\"field\":\"id\",\"value\":\"sample\"}" --sort "[{\"field\":\"id\",\"direction\":\"DESC\"}]" --page-no 1 --page-size 10
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
环境变量只对当前 cmd 窗口有效。JSON 参数用 `\"` 转义,整条命令写在一行。
|
|
43
63
|
|
|
44
64
|
公司代理 / 自签证书导致 `CERTIFICATE_VERIFY_FAILED` 时:
|
|
45
65
|
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Tinet Data Foundry 取数 CLI。包名 `tinet-data-foundry-cli`,命令 **`tdf`**(避开系统磁盘命令 `df`)。
|
|
4
4
|
|
|
5
|
-
鉴权只用环境变量,**不要**把 AccessKey / SecretKey
|
|
5
|
+
鉴权只用环境变量,**不要**把 AccessKey / SecretKey 写入本地文件。需要 Python **≥ 3.10**。
|
|
6
|
+
|
|
7
|
+
macOS / Linux 用 Terminal(bash / zsh)。Windows 用 **cmd.exe** 跑下面示例(不要用 PowerShell 传 JSON:`export` 不可用,引号也会被剥掉)。
|
|
8
|
+
|
|
9
|
+
## macOS / Linux
|
|
6
10
|
|
|
7
11
|
```bash
|
|
8
12
|
pip install -U tinet-data-foundry-cli
|
|
@@ -22,7 +26,23 @@ tdf query \
|
|
|
22
26
|
--page-size 10
|
|
23
27
|
```
|
|
24
28
|
|
|
25
|
-
|
|
29
|
+
若 pip 提示 scripts 目录不在 PATH,把该目录加入 PATH,或用 `python3 -m tinet_data_foundry_cli`。
|
|
30
|
+
|
|
31
|
+
## Windows(cmd.exe)
|
|
32
|
+
|
|
33
|
+
```bat
|
|
34
|
+
pip install -U tinet-data-foundry-cli
|
|
35
|
+
|
|
36
|
+
set DF_ENDPOINT=https://data-foundry-data-api.tinetcloud.com
|
|
37
|
+
set DF_AK=你的_AccessKey
|
|
38
|
+
set DF_SK=你的_SecretKey
|
|
39
|
+
|
|
40
|
+
tdf catalog
|
|
41
|
+
tdf schema --dataset "DATASET_ID"
|
|
42
|
+
tdf query --dataset "DATASET_ID" --fields "id" --filter "{\"op\":\"eq\",\"field\":\"id\",\"value\":\"sample\"}" --sort "[{\"field\":\"id\",\"direction\":\"DESC\"}]" --page-no 1 --page-size 10
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
环境变量只对当前 cmd 窗口有效。JSON 参数用 `\"` 转义,整条命令写在一行。
|
|
26
46
|
|
|
27
47
|
公司代理 / 自签证书导致 `CERTIFICATE_VERIFY_FAILED` 时:
|
|
28
48
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.3"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tinet-data-foundry-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Tinet Data Foundry 取数 CLI(catalog / query / schema)
|
|
5
5
|
Author: Tinet
|
|
6
6
|
License: MIT
|
|
@@ -19,7 +19,11 @@ Description-Content-Type: text/markdown
|
|
|
19
19
|
|
|
20
20
|
Tinet Data Foundry 取数 CLI。包名 `tinet-data-foundry-cli`,命令 **`tdf`**(避开系统磁盘命令 `df`)。
|
|
21
21
|
|
|
22
|
-
鉴权只用环境变量,**不要**把 AccessKey / SecretKey
|
|
22
|
+
鉴权只用环境变量,**不要**把 AccessKey / SecretKey 写入本地文件。需要 Python **≥ 3.10**。
|
|
23
|
+
|
|
24
|
+
macOS / Linux 用 Terminal(bash / zsh)。Windows 用 **cmd.exe** 跑下面示例(不要用 PowerShell 传 JSON:`export` 不可用,引号也会被剥掉)。
|
|
25
|
+
|
|
26
|
+
## macOS / Linux
|
|
23
27
|
|
|
24
28
|
```bash
|
|
25
29
|
pip install -U tinet-data-foundry-cli
|
|
@@ -39,7 +43,23 @@ tdf query \
|
|
|
39
43
|
--page-size 10
|
|
40
44
|
```
|
|
41
45
|
|
|
42
|
-
|
|
46
|
+
若 pip 提示 scripts 目录不在 PATH,把该目录加入 PATH,或用 `python3 -m tinet_data_foundry_cli`。
|
|
47
|
+
|
|
48
|
+
## Windows(cmd.exe)
|
|
49
|
+
|
|
50
|
+
```bat
|
|
51
|
+
pip install -U tinet-data-foundry-cli
|
|
52
|
+
|
|
53
|
+
set DF_ENDPOINT=https://data-foundry-data-api.tinetcloud.com
|
|
54
|
+
set DF_AK=你的_AccessKey
|
|
55
|
+
set DF_SK=你的_SecretKey
|
|
56
|
+
|
|
57
|
+
tdf catalog
|
|
58
|
+
tdf schema --dataset "DATASET_ID"
|
|
59
|
+
tdf query --dataset "DATASET_ID" --fields "id" --filter "{\"op\":\"eq\",\"field\":\"id\",\"value\":\"sample\"}" --sort "[{\"field\":\"id\",\"direction\":\"DESC\"}]" --page-no 1 --page-size 10
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
环境变量只对当前 cmd 窗口有效。JSON 参数用 `\"` 转义,整条命令写在一行。
|
|
43
63
|
|
|
44
64
|
公司代理 / 自签证书导致 `CERTIFICATE_VERIFY_FAILED` 时:
|
|
45
65
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.2"
|
|
File without changes
|
{tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli/__main__.py
RENAMED
|
File without changes
|
{tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli/auth.py
RENAMED
|
File without changes
|
{tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli/cli.py
RENAMED
|
File without changes
|
{tinet_data_foundry_cli-0.1.2 → tinet_data_foundry_cli-0.1.3}/src/tinet_data_foundry_cli/client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|