datasinking 0.2.3__tar.gz → 0.2.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datasinking
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Python client for DataSinking — full-text Asian financial reports (China, Korea, Japan) as Markdown.
5
5
  Author: DataSinking
6
6
  License: MIT
@@ -111,7 +111,7 @@ coverage, list a company's reports, and extract a figure with correct units.
111
111
 
112
112
  Every example pulls from the live API and runs as-is.
113
113
 
114
- > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 150k+ documents). Free keys work too, but fall back to slow per-document fetching (3 req/s, 8,191 requests/day per key, drawn from a 131,071/day pool shared by all free users); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
114
+ > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 150k+ documents). Free keys work too, but fall back to slow per-document fetching (3 req/s, 8,191 documents/day per key, drawn from a 131,071/day pool shared by all free users); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
115
115
 
116
116
  ## Research (`research/`)
117
117
 
@@ -89,7 +89,7 @@ coverage, list a company's reports, and extract a figure with correct units.
89
89
 
90
90
  Every example pulls from the live API and runs as-is.
91
91
 
92
- > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 150k+ documents). Free keys work too, but fall back to slow per-document fetching (3 req/s, 8,191 requests/day per key, drawn from a 131,071/day pool shared by all free users); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
92
+ > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 150k+ documents). Free keys work too, but fall back to slow per-document fetching (3 req/s, 8,191 documents/day per key, drawn from a 131,071/day pool shared by all free users); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
93
93
 
94
94
  ## Research (`research/`)
95
95
 
@@ -8,5 +8,6 @@ Usage:
8
8
  """
9
9
  from .client import DataSinking
10
10
 
11
- __version__ = "0.1.0"
11
+ # pyproject.toml 的 version 保持一致 —— 这里曾长期停在 0.1.0 没跟着走
12
+ __version__ = "0.2.4"
12
13
  __all__ = ["DataSinking"]
@@ -67,7 +67,7 @@ class DataSinking:
67
67
  page += 1
68
68
  return items
69
69
 
70
- def _batch_content(self, ids, batch_size=127):
70
+ def _batch_content(self, ids, batch_size=31):
71
71
  """批量拉全文; free 计划 batch 返回 403 时自动回退逐篇拉取"""
72
72
  items = []
73
73
  batch_ok = True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datasinking
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Python client for DataSinking — full-text Asian financial reports (China, Korea, Japan) as Markdown.
5
5
  Author: DataSinking
6
6
  License: MIT
@@ -111,7 +111,7 @@ coverage, list a company's reports, and extract a figure with correct units.
111
111
 
112
112
  Every example pulls from the live API and runs as-is.
113
113
 
114
- > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 150k+ documents). Free keys work too, but fall back to slow per-document fetching (3 req/s, 8,191 requests/day per key, drawn from a 131,071/day pool shared by all free users); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
114
+ > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 150k+ documents). Free keys work too, but fall back to slow per-document fetching (3 req/s, 8,191 documents/day per key, drawn from a 131,071/day pool shared by all free users); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
115
115
 
116
116
  ## Research (`research/`)
117
117
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "datasinking"
7
- version = "0.2.3"
7
+ version = "0.2.4"
8
8
  description = "Python client for DataSinking — full-text Asian financial reports (China, Korea, Japan) as Markdown."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
File without changes
File without changes