finctx 0.3.3__tar.gz → 0.3.4__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.
- {finctx-0.3.3 → finctx-0.3.4}/PKG-INFO +13 -10
- {finctx-0.3.3 → finctx-0.3.4}/README.md +3 -1
- {finctx-0.3.3 → finctx-0.3.4}/pyproject.toml +8 -7
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/_version.py +1 -1
- finctx-0.3.3/tests/test_python39_compatibility.py → finctx-0.3.4/tests/test_python_compatibility.py +5 -8
- {finctx-0.3.3 → finctx-0.3.4}/.gitignore +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/LICENSE +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/demo.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/__init__.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/client.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/credentials.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/data/endpoints.json +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/data/marketdb-datasets.json +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/discovery.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/exceptions.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/generated/__init__.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/generated/api.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/marketdb.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/py.typed +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/results.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/src/finctx/signing.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_api_distribution_generation.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_api_names.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_build_python_release.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_build_skill_release.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_client.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_convenience.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_discovery.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_generated_api.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_import_api_catalog.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_marketdb.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_signing.py +0 -0
- {finctx-0.3.3 → finctx-0.3.4}/tests/test_tracer_public_topics.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: finctx
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: Finctx SDK for the Finctx Data API
|
|
5
5
|
Project-URL: Homepage, https://www.ultrastiching.com
|
|
6
6
|
Author: Finctx
|
|
@@ -8,19 +8,20 @@ License-Expression: Apache-2.0
|
|
|
8
8
|
License-File: LICENSE
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
10
10
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
12
|
Classifier: Typing :: Typed
|
|
13
|
-
Requires-Python: >=3.
|
|
14
|
-
Requires-Dist:
|
|
15
|
-
Requires-Dist:
|
|
13
|
+
Requires-Python: >=3.10
|
|
14
|
+
Requires-Dist: certifi>=2026.10.19
|
|
15
|
+
Requires-Dist: requests<3,>=2.33.0
|
|
16
|
+
Requires-Dist: urllib3<3,>=2.8.0
|
|
16
17
|
Requires-Dist: websocket-client<1.9,>=1.8
|
|
17
18
|
Provides-Extra: arrow
|
|
18
|
-
Requires-Dist: pyarrow>=14; extra == 'arrow'
|
|
19
|
+
Requires-Dist: pyarrow>=14.0.1; extra == 'arrow'
|
|
19
20
|
Provides-Extra: marketdb
|
|
20
|
-
Requires-Dist: duckdb<1.6,>=1.4.
|
|
21
|
+
Requires-Dist: duckdb<1.6,>=1.4.2; extra == 'marketdb'
|
|
21
22
|
Provides-Extra: test
|
|
22
|
-
Requires-Dist: duckdb<1.6,>=1.4.
|
|
23
|
-
Requires-Dist: pyarrow>=14; extra == 'test'
|
|
23
|
+
Requires-Dist: duckdb<1.6,>=1.4.2; extra == 'test'
|
|
24
|
+
Requires-Dist: pyarrow>=14.0.1; extra == 'test'
|
|
24
25
|
Requires-Dist: pytest<10,>=8; extra == 'test'
|
|
25
26
|
Description-Content-Type: text/markdown
|
|
26
27
|
|
|
@@ -30,7 +31,9 @@ Description-Content-Type: text/markdown
|
|
|
30
31
|
|
|
31
32
|
## 1. 安装
|
|
32
33
|
|
|
33
|
-
需要 Python 3.9
|
|
34
|
+
需要 Python 3.10 或更高版本。本轮安全更新提高了运行环境要求;使用 Python 3.9 的项目需先升级 Python。
|
|
35
|
+
|
|
36
|
+
安装下载的 SDK 包:
|
|
34
37
|
|
|
35
38
|
```bash
|
|
36
39
|
python -m pip install ./finctx-0.3.3-py3-none-any.whl
|
|
@@ -9,17 +9,18 @@ description = "Finctx SDK for the Finctx Data API"
|
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "Apache-2.0"
|
|
11
11
|
license-files = ["LICENSE"]
|
|
12
|
-
requires-python = ">=3.
|
|
12
|
+
requires-python = ">=3.10"
|
|
13
13
|
authors = [{ name = "Finctx" }]
|
|
14
14
|
dependencies = [
|
|
15
|
-
"requests>=2.
|
|
16
|
-
"
|
|
15
|
+
"requests>=2.33.0,<3",
|
|
16
|
+
"certifi>=2026.10.19",
|
|
17
|
+
"urllib3>=2.8.0,<3",
|
|
17
18
|
"websocket-client>=1.8,<1.9",
|
|
18
19
|
]
|
|
19
20
|
classifiers = [
|
|
20
21
|
"Programming Language :: Python :: 3",
|
|
21
22
|
"Programming Language :: Python :: 3 :: Only",
|
|
22
|
-
"Programming Language :: Python :: 3.
|
|
23
|
+
"Programming Language :: Python :: 3.10",
|
|
23
24
|
"Typing :: Typed",
|
|
24
25
|
]
|
|
25
26
|
|
|
@@ -27,9 +28,9 @@ classifiers = [
|
|
|
27
28
|
Homepage = "https://www.ultrastiching.com"
|
|
28
29
|
|
|
29
30
|
[project.optional-dependencies]
|
|
30
|
-
arrow = ["pyarrow>=14"]
|
|
31
|
-
marketdb = ["duckdb>=1.4.
|
|
32
|
-
test = ["pytest>=8,<10", "duckdb>=1.4.
|
|
31
|
+
arrow = ["pyarrow>=14.0.1"]
|
|
32
|
+
marketdb = ["duckdb>=1.4.2,<1.6"]
|
|
33
|
+
test = ["pytest>=8,<10", "duckdb>=1.4.2,<1.6", "pyarrow>=14.0.1"]
|
|
33
34
|
|
|
34
35
|
[tool.hatch.build.targets.wheel]
|
|
35
36
|
packages = ["src/finctx"]
|
finctx-0.3.3/tests/test_python39_compatibility.py → finctx-0.3.4/tests/test_python_compatibility.py
RENAMED
|
@@ -7,19 +7,16 @@ from finctx import FinctxApiError, FinctxClient
|
|
|
7
7
|
from finctx.signing import sign_request
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
RUNTIME_ROOT = Path(__file__).resolve().parents[1] / "src" / "finctx"
|
|
11
10
|
PYPROJECT_PATH = Path(__file__).resolve().parents[1] / "pyproject.toml"
|
|
12
11
|
|
|
13
12
|
|
|
14
|
-
def
|
|
13
|
+
def test_python310_floor_and_runtime_annotations_remain_compatible() -> None:
|
|
15
14
|
pyproject = PYPROJECT_PATH.read_text(encoding="utf-8")
|
|
16
|
-
assert 'requires-python = ">=3.
|
|
17
|
-
assert '
|
|
15
|
+
assert 'requires-python = ">=3.10"' in pyproject
|
|
16
|
+
assert '"requests>=2.33.0,<3"' in pyproject
|
|
17
|
+
assert '"certifi>=2026.10.19"' in pyproject
|
|
18
|
+
assert '"urllib3>=2.8.0,<3"' in pyproject
|
|
18
19
|
assert 'websocket-client>=1.8,<1.9' in pyproject
|
|
19
|
-
runtime_sources = "\n".join(
|
|
20
|
-
path.read_text(encoding="utf-8") for path in RUNTIME_ROOT.rglob("*.py")
|
|
21
|
-
)
|
|
22
|
-
assert " | " not in runtime_sources
|
|
23
20
|
|
|
24
21
|
assert get_type_hints(FinctxClient.request)
|
|
25
22
|
assert get_type_hints(FinctxApiError.__init__)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|