kabukit 0.7.2__tar.gz → 0.7.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.
Files changed (46) hide show
  1. kabukit-0.7.4/PKG-INFO +260 -0
  2. kabukit-0.7.4/README.md +200 -0
  3. {kabukit-0.7.2 → kabukit-0.7.4}/pyproject.toml +26 -2
  4. kabukit-0.7.2/PKG-INFO +0 -75
  5. kabukit-0.7.2/README.md +0 -28
  6. {kabukit-0.7.2 → kabukit-0.7.4}/LICENSE +0 -0
  7. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/__init__.py +0 -0
  8. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/analysis/__init__.py +0 -0
  9. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/analysis/indicators.py +0 -0
  10. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/analysis/preprocess.py +0 -0
  11. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/analysis/screener.py +0 -0
  12. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/analysis/visualization/__init__.py +0 -0
  13. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/analysis/visualization/market.py +0 -0
  14. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/analysis/visualization/prices.py +0 -0
  15. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/cli/__init__.py +0 -0
  16. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/cli/app.py +0 -0
  17. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/cli/auth.py +0 -0
  18. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/cli/cache.py +0 -0
  19. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/cli/get.py +0 -0
  20. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/core/__init__.py +0 -0
  21. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/core/base.py +0 -0
  22. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/core/client.py +0 -0
  23. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/core/info.py +0 -0
  24. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/core/list.py +0 -0
  25. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/core/prices.py +0 -0
  26. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/core/reports.py +0 -0
  27. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/core/statements.py +0 -0
  28. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/edinet/__init__.py +0 -0
  29. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/edinet/client.py +0 -0
  30. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/edinet/concurrent.py +0 -0
  31. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/edinet/doc.py +0 -0
  32. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/jquants/__init__.py +0 -0
  33. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/jquants/calendar.py +0 -0
  34. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/jquants/client.py +0 -0
  35. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/jquants/concurrent.py +0 -0
  36. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/jquants/info.py +0 -0
  37. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/jquants/prices.py +0 -0
  38. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/jquants/schema.py +0 -0
  39. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/jquants/statements.py +0 -0
  40. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/jquants/topix.py +0 -0
  41. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/py.typed +0 -0
  42. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/utils/__init__.py +0 -0
  43. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/utils/concurrent.py +0 -0
  44. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/utils/config.py +0 -0
  45. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/utils/date.py +0 -0
  46. {kabukit-0.7.2 → kabukit-0.7.4}/src/kabukit/utils/params.py +0 -0
kabukit-0.7.4/PKG-INFO ADDED
@@ -0,0 +1,260 @@
1
+ Metadata-Version: 2.3
2
+ Name: kabukit
3
+ Version: 0.7.4
4
+ Summary: A Python toolkit for Japanese financial market data, supporting J-Quants and EDINET APIs.
5
+ Keywords: J-Quants,EDINET,financial data,stock market,investment,toolkit,finance,trading,data analysis,polars
6
+ Author: daizutabi
7
+ Author-email: daizutabi <daizutabi@gmail.com>
8
+ License: MIT License
9
+
10
+ Copyright (c) 2025 Daizu
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+ Classifier: Development Status :: 4 - Beta
30
+ Classifier: Programming Language :: Python
31
+ Classifier: Programming Language :: Python :: 3 :: Only
32
+ Classifier: Programming Language :: Python :: 3.13
33
+ Classifier: Programming Language :: Python :: 3.14
34
+ Classifier: License :: OSI Approved :: MIT License
35
+ Classifier: Operating System :: OS Independent
36
+ Classifier: Intended Audience :: Developers
37
+ Classifier: Intended Audience :: Financial and Insurance Industry
38
+ Classifier: Intended Audience :: Science/Research
39
+ Classifier: Topic :: Office/Business :: Financial
40
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
41
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
42
+ Classifier: Topic :: Utilities
43
+ Requires-Dist: async-typer>=0.1.10
44
+ Requires-Dist: httpx>=0.28.1
45
+ Requires-Dist: platformdirs>=4.5.0
46
+ Requires-Dist: polars>=1.34.0
47
+ Requires-Dist: python-dotenv>=1.1.1
48
+ Requires-Dist: rich>=14.2.0
49
+ Requires-Dist: tenacity>=9.1.2
50
+ Requires-Dist: tqdm>=4.67.1
51
+ Requires-Dist: typer>=0.19.2
52
+ Requires-Dist: tzdata ; sys_platform == 'win32'
53
+ Requires-Python: >=3.13
54
+ Project-URL: Changelog, https://github.com/daizutabi/kabukit/releases
55
+ Project-URL: Documentation, https://daizutabi.github.io/kabukit/
56
+ Project-URL: Homepage, https://daizutabi.github.io/kabukit/
57
+ Project-URL: Issues, https://github.com/daizutabi/kabukit/issues
58
+ Project-URL: Source, https://github.com/daizutabi/kabukit
59
+ Description-Content-Type: text/markdown
60
+
61
+ # kabukit
62
+
63
+ A Python toolkit for Japanese financial market data, supporting J-Quants and EDINET APIs.
64
+
65
+ [![PyPI Version][pypi-v-image]][pypi-v-link]
66
+ [![Python Version][python-v-image]][python-v-link]
67
+ [![Build Status][GHAction-image]][GHAction-link]
68
+ [![Coverage Status][codecov-image]][codecov-link]
69
+ [![Documentation Status][docs-image]][docs-link]
70
+
71
+ kabukitは、高速なデータ処理ライブラリである [Polars](https://pola.rs/) と、モダンな非同期HTTPクライアントである [httpx](https://www.python-httpx.org/) を基盤として構築されており、パフォーマンスを重視しています。
72
+
73
+ ## インストール
74
+
75
+ `uv` または `pip` を使って、[Python Package Index (PyPI)](https://pypi.org/) からインストールします。Pythonバージョンは3.13以上が必要です。
76
+
77
+ ```bash
78
+ uv pip install kabukit
79
+ ```
80
+
81
+ ## コマンドラインから使う
82
+
83
+ kabukitは、 [J-Quants](https://jpx-jquants.com/) および [EDINET](https://disclosure2.edinet-fsa.go.jp/) からデータを取得するための便利なコマンドラインインターフェース(CLI)を提供します。
84
+
85
+ コマンド名は `kabu` です。
86
+
87
+ ### 認証
88
+
89
+ #### J-Quants
90
+
91
+ J-Quants APIを利用するにはユーザー登録が必要です。`auth jquants` サブコマンドを使い、登録したメールアドレスとパスワードで認証し、IDトークンを取得します。IDトークンはユーザーの設定ディレクトリに保存されます。
92
+
93
+ ```bash
94
+ ❯ kabu auth jquants
95
+ Mailaddress: your_email@example.com
96
+ Password: your_password
97
+ J-QuantsのIDトークンを保存しました。
98
+ ```
99
+
100
+ #### EDINET
101
+
102
+ EDINET APIを利用するには、事前にAPIキーの取得が必要です。取得したAPIキーを `auth edinet` サブコマンドで保存します。
103
+
104
+ ```bash
105
+ ❯ kabu auth edinet
106
+ Api key: your_api_key
107
+ EDINETのAPIキーを保存しました。
108
+ ```
109
+
110
+ #### 認証データで確認
111
+
112
+ 認証データの保存先と内容は、`auth show` サブコマンドで確認できます。
113
+
114
+ ```bash
115
+ ❯ kabu auth show
116
+ Configuration file: /home/your_name/.config/kabukit/.env
117
+ JQUANTS_ID_TOKEN: ******
118
+ EDINET_API_KEY: ******
119
+ ```
120
+
121
+ ### データ取得
122
+
123
+ `get` サブコマンドは、J-QuantsおよびEDINETから各種データを取得します。以下に、一例を示します。
124
+
125
+ #### 銘柄情報
126
+
127
+ ```bash
128
+ ❯ kabu get info 7203
129
+ shape: (1, 8)
130
+ ┌────────────┬───────┬──────────────┬──────────────────┬─
131
+ │ Date ┆ Code ┆ CompanyName ┆ Sector17CodeName ┆
132
+ │ --- ┆ --- ┆ --- ┆ --- ┆
133
+ │ date ┆ str ┆ str ┆ cat ┆
134
+ ╞════════════╪═══════╪══════════════╪══════════════════╪═
135
+ │ 2025-10-14 ┆ 72030 ┆ トヨタ自動車 ┆ 自動車・輸送機 ┆
136
+ └────────────┴───────┴──────────────┴──────────────────┴─
137
+ ```
138
+
139
+ #### 財務情報
140
+
141
+ ```bash
142
+ ❯ kabu get statements 7203
143
+ shape: (41, 105)
144
+ (略)
145
+ ```
146
+
147
+ #### 株価情報
148
+
149
+ ```bash
150
+ ❯ kabu get prices 7203
151
+ shape: (2_444, 16)
152
+ (略)
153
+ ```
154
+
155
+ #### 全銘柄のデータ一括取得
156
+
157
+ 各コマンドで銘柄コードを省力すると、全銘柄のデータを一度に取得できます。財務情報の場合は以下の通りです。
158
+
159
+ ```bash
160
+ > kabu get statements
161
+ 100%|█████████████████████████████████████| 3787/3787 [01:18<00:00, 48.24it/s]
162
+ shape: (165_891, 105)
163
+ (略)
164
+ ```
165
+
166
+ `get all` サブコマンドを使うと、全銘柄の各種データを一度に取得できます。
167
+
168
+ ```bash
169
+ > kabu get all
170
+ ```
171
+
172
+ これらのデータはキャッシュディレクトリに保存され、後で再利用できます。キャッシュデータを確認するには、`cache tree` サブコマンドを使います。
173
+
174
+ ```bash
175
+ > kabu cache tree
176
+ /home/your_name/.cache/kabukit
177
+ ├── info
178
+ │ └── 20251011.parquet
179
+ ├── list
180
+ │ └── 20251011.parquet
181
+ ├── prices
182
+ │ └── 20251011.parquet
183
+ ├── reports
184
+ │ └── 20251011.parquet
185
+ └── statements
186
+ └── 20251011.parquet
187
+ ```
188
+
189
+ キャッシュデータは、`cache clean` サブコマンドで消去できます。
190
+
191
+ ## ノートブックから使う
192
+
193
+ kabukitは、コマンドラインだけでなく、PythonコードからもAPIとして利用できます。JQuantsClientはhttpxを使って非同期でデータを取得するため、[Jupyter](https://jupyter.org/) や [marimo](https://marimo.io/) のような非同期処理を直接扱えるノートブック環境と非常に相性が良いです。
194
+
195
+ ### データ取得
196
+
197
+ J-Quantsの例を示します。まず、`JQuantsClient`のインスタンスを作成します。事前に、コマンドラインで認証を済ませてください。
198
+
199
+ ```python
200
+ from kabukit import JQuantsClient
201
+
202
+ client = JQuantsClient()
203
+ ```
204
+
205
+ #### 銘柄情報
206
+
207
+ ```python
208
+ info = await client.get_info("7203")
209
+ ```
210
+
211
+ #### 財務情報
212
+
213
+ ```python
214
+ statements = await client.get_statements("7203")
215
+ ```
216
+
217
+ #### 株価情報
218
+
219
+ ```python
220
+ prices = await client.get_prices("7203")
221
+ ```
222
+
223
+ #### 全銘柄のデータ一括取得
224
+
225
+ `fetch_all`関数を使うと、全銘柄のデータを一度に取得できます。marimoノートブックを使っていてば、プログレスバーを簡単に表示できます。財務情報の場合は以下の通りです。
226
+
227
+ ```python
228
+ import marimo as mo
229
+ from kabukit.jquants import fetch_all
230
+
231
+ statements = await fetch_all("statements", progress=mo.status.progress_bar)
232
+ ```
233
+
234
+ 株価情報の場合は、上記の `"statements"` を `"prices"` に変更してください。
235
+
236
+ ### キャッシュデータの利用
237
+
238
+ コマンドラインで事前に保存しておいたキャッシュデータを再利用できます。ノートブックの起動ごとに、APIアクセスを行ってデータをダウンロードする必要がなくなります。
239
+
240
+ ```python
241
+ from kabukit import Info, Statements, Prices
242
+
243
+ # data属性で、Polars DataFrameを取得できます。
244
+ info = Info.read().data
245
+ statements = Statements.read().data
246
+ prices = Prices.read().data
247
+ ```
248
+
249
+ <!-- Badges -->
250
+
251
+ [pypi-v-image]: https://img.shields.io/pypi/v/kabukit.svg
252
+ [pypi-v-link]: https://pypi.org/project/kabukit/
253
+ [python-v-image]: https://img.shields.io/pypi/pyversions/kabukit.svg
254
+ [python-v-link]: https://pypi.org/project/kabukit
255
+ [GHAction-image]: https://github.com/daizutabi/kabukit/actions/workflows/ci.yaml/badge.svg?branch=main&event=push
256
+ [GHAction-link]: https://github.com/daizutabi/kabukit/actions?query=event%3Apush+branch%3Amain
257
+ [codecov-image]: https://codecov.io/github/daizutabi/kabukit/graph/badge.svg?token=Yu6lAdVVnd
258
+ [codecov-link]: https://codecov.io/github/daizutabi/kabukit?branch=main
259
+ [docs-image]: https://img.shields.io/badge/docs-latest-blue.svg
260
+ [docs-link]: https://daizutabi.github.io/kabukit/
@@ -0,0 +1,200 @@
1
+ # kabukit
2
+
3
+ A Python toolkit for Japanese financial market data, supporting J-Quants and EDINET APIs.
4
+
5
+ [![PyPI Version][pypi-v-image]][pypi-v-link]
6
+ [![Python Version][python-v-image]][python-v-link]
7
+ [![Build Status][GHAction-image]][GHAction-link]
8
+ [![Coverage Status][codecov-image]][codecov-link]
9
+ [![Documentation Status][docs-image]][docs-link]
10
+
11
+ kabukitは、高速なデータ処理ライブラリである [Polars](https://pola.rs/) と、モダンな非同期HTTPクライアントである [httpx](https://www.python-httpx.org/) を基盤として構築されており、パフォーマンスを重視しています。
12
+
13
+ ## インストール
14
+
15
+ `uv` または `pip` を使って、[Python Package Index (PyPI)](https://pypi.org/) からインストールします。Pythonバージョンは3.13以上が必要です。
16
+
17
+ ```bash
18
+ uv pip install kabukit
19
+ ```
20
+
21
+ ## コマンドラインから使う
22
+
23
+ kabukitは、 [J-Quants](https://jpx-jquants.com/) および [EDINET](https://disclosure2.edinet-fsa.go.jp/) からデータを取得するための便利なコマンドラインインターフェース(CLI)を提供します。
24
+
25
+ コマンド名は `kabu` です。
26
+
27
+ ### 認証
28
+
29
+ #### J-Quants
30
+
31
+ J-Quants APIを利用するにはユーザー登録が必要です。`auth jquants` サブコマンドを使い、登録したメールアドレスとパスワードで認証し、IDトークンを取得します。IDトークンはユーザーの設定ディレクトリに保存されます。
32
+
33
+ ```bash
34
+ ❯ kabu auth jquants
35
+ Mailaddress: your_email@example.com
36
+ Password: your_password
37
+ J-QuantsのIDトークンを保存しました。
38
+ ```
39
+
40
+ #### EDINET
41
+
42
+ EDINET APIを利用するには、事前にAPIキーの取得が必要です。取得したAPIキーを `auth edinet` サブコマンドで保存します。
43
+
44
+ ```bash
45
+ ❯ kabu auth edinet
46
+ Api key: your_api_key
47
+ EDINETのAPIキーを保存しました。
48
+ ```
49
+
50
+ #### 認証データで確認
51
+
52
+ 認証データの保存先と内容は、`auth show` サブコマンドで確認できます。
53
+
54
+ ```bash
55
+ ❯ kabu auth show
56
+ Configuration file: /home/your_name/.config/kabukit/.env
57
+ JQUANTS_ID_TOKEN: ******
58
+ EDINET_API_KEY: ******
59
+ ```
60
+
61
+ ### データ取得
62
+
63
+ `get` サブコマンドは、J-QuantsおよびEDINETから各種データを取得します。以下に、一例を示します。
64
+
65
+ #### 銘柄情報
66
+
67
+ ```bash
68
+ ❯ kabu get info 7203
69
+ shape: (1, 8)
70
+ ┌────────────┬───────┬──────────────┬──────────────────┬─
71
+ │ Date ┆ Code ┆ CompanyName ┆ Sector17CodeName ┆
72
+ │ --- ┆ --- ┆ --- ┆ --- ┆
73
+ │ date ┆ str ┆ str ┆ cat ┆
74
+ ╞════════════╪═══════╪══════════════╪══════════════════╪═
75
+ │ 2025-10-14 ┆ 72030 ┆ トヨタ自動車 ┆ 自動車・輸送機 ┆
76
+ └────────────┴───────┴──────────────┴──────────────────┴─
77
+ ```
78
+
79
+ #### 財務情報
80
+
81
+ ```bash
82
+ ❯ kabu get statements 7203
83
+ shape: (41, 105)
84
+ (略)
85
+ ```
86
+
87
+ #### 株価情報
88
+
89
+ ```bash
90
+ ❯ kabu get prices 7203
91
+ shape: (2_444, 16)
92
+ (略)
93
+ ```
94
+
95
+ #### 全銘柄のデータ一括取得
96
+
97
+ 各コマンドで銘柄コードを省力すると、全銘柄のデータを一度に取得できます。財務情報の場合は以下の通りです。
98
+
99
+ ```bash
100
+ > kabu get statements
101
+ 100%|█████████████████████████████████████| 3787/3787 [01:18<00:00, 48.24it/s]
102
+ shape: (165_891, 105)
103
+ (略)
104
+ ```
105
+
106
+ `get all` サブコマンドを使うと、全銘柄の各種データを一度に取得できます。
107
+
108
+ ```bash
109
+ > kabu get all
110
+ ```
111
+
112
+ これらのデータはキャッシュディレクトリに保存され、後で再利用できます。キャッシュデータを確認するには、`cache tree` サブコマンドを使います。
113
+
114
+ ```bash
115
+ > kabu cache tree
116
+ /home/your_name/.cache/kabukit
117
+ ├── info
118
+ │ └── 20251011.parquet
119
+ ├── list
120
+ │ └── 20251011.parquet
121
+ ├── prices
122
+ │ └── 20251011.parquet
123
+ ├── reports
124
+ │ └── 20251011.parquet
125
+ └── statements
126
+ └── 20251011.parquet
127
+ ```
128
+
129
+ キャッシュデータは、`cache clean` サブコマンドで消去できます。
130
+
131
+ ## ノートブックから使う
132
+
133
+ kabukitは、コマンドラインだけでなく、PythonコードからもAPIとして利用できます。JQuantsClientはhttpxを使って非同期でデータを取得するため、[Jupyter](https://jupyter.org/) や [marimo](https://marimo.io/) のような非同期処理を直接扱えるノートブック環境と非常に相性が良いです。
134
+
135
+ ### データ取得
136
+
137
+ J-Quantsの例を示します。まず、`JQuantsClient`のインスタンスを作成します。事前に、コマンドラインで認証を済ませてください。
138
+
139
+ ```python
140
+ from kabukit import JQuantsClient
141
+
142
+ client = JQuantsClient()
143
+ ```
144
+
145
+ #### 銘柄情報
146
+
147
+ ```python
148
+ info = await client.get_info("7203")
149
+ ```
150
+
151
+ #### 財務情報
152
+
153
+ ```python
154
+ statements = await client.get_statements("7203")
155
+ ```
156
+
157
+ #### 株価情報
158
+
159
+ ```python
160
+ prices = await client.get_prices("7203")
161
+ ```
162
+
163
+ #### 全銘柄のデータ一括取得
164
+
165
+ `fetch_all`関数を使うと、全銘柄のデータを一度に取得できます。marimoノートブックを使っていてば、プログレスバーを簡単に表示できます。財務情報の場合は以下の通りです。
166
+
167
+ ```python
168
+ import marimo as mo
169
+ from kabukit.jquants import fetch_all
170
+
171
+ statements = await fetch_all("statements", progress=mo.status.progress_bar)
172
+ ```
173
+
174
+ 株価情報の場合は、上記の `"statements"` を `"prices"` に変更してください。
175
+
176
+ ### キャッシュデータの利用
177
+
178
+ コマンドラインで事前に保存しておいたキャッシュデータを再利用できます。ノートブックの起動ごとに、APIアクセスを行ってデータをダウンロードする必要がなくなります。
179
+
180
+ ```python
181
+ from kabukit import Info, Statements, Prices
182
+
183
+ # data属性で、Polars DataFrameを取得できます。
184
+ info = Info.read().data
185
+ statements = Statements.read().data
186
+ prices = Prices.read().data
187
+ ```
188
+
189
+ <!-- Badges -->
190
+
191
+ [pypi-v-image]: https://img.shields.io/pypi/v/kabukit.svg
192
+ [pypi-v-link]: https://pypi.org/project/kabukit/
193
+ [python-v-image]: https://img.shields.io/pypi/pyversions/kabukit.svg
194
+ [python-v-link]: https://pypi.org/project/kabukit
195
+ [GHAction-image]: https://github.com/daizutabi/kabukit/actions/workflows/ci.yaml/badge.svg?branch=main&event=push
196
+ [GHAction-link]: https://github.com/daizutabi/kabukit/actions?query=event%3Apush+branch%3Amain
197
+ [codecov-image]: https://codecov.io/github/daizutabi/kabukit/graph/badge.svg?token=Yu6lAdVVnd
198
+ [codecov-link]: https://codecov.io/github/daizutabi/kabukit?branch=main
199
+ [docs-image]: https://img.shields.io/badge/docs-latest-blue.svg
200
+ [docs-link]: https://daizutabi.github.io/kabukit/
@@ -4,16 +4,38 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "kabukit"
7
- version = "0.7.2"
7
+ version = "0.7.4"
8
8
  description = "A Python toolkit for Japanese financial market data, supporting J-Quants and EDINET APIs."
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE" }
11
+ keywords = [
12
+ "J-Quants",
13
+ "EDINET",
14
+ "financial data",
15
+ "stock market",
16
+ "investment",
17
+ "toolkit",
18
+ "finance",
19
+ "trading",
20
+ "data analysis",
21
+ "polars",
22
+ ]
11
23
  authors = [{ name = "daizutabi", email = "daizutabi@gmail.com" }]
12
24
  classifiers = [
13
25
  "Development Status :: 4 - Beta",
14
26
  "Programming Language :: Python",
27
+ "Programming Language :: Python :: 3 :: Only",
15
28
  "Programming Language :: Python :: 3.13",
16
29
  "Programming Language :: Python :: 3.14",
30
+ "License :: OSI Approved :: MIT License",
31
+ "Operating System :: OS Independent",
32
+ "Intended Audience :: Developers",
33
+ "Intended Audience :: Financial and Insurance Industry",
34
+ "Intended Audience :: Science/Research",
35
+ "Topic :: Office/Business :: Financial",
36
+ "Topic :: Software Development :: Libraries :: Python Modules",
37
+ "Topic :: Scientific/Engineering :: Information Analysis",
38
+ "Topic :: Utilities",
17
39
  ]
18
40
  requires-python = ">=3.13"
19
41
  dependencies = [
@@ -33,9 +55,11 @@ dependencies = [
33
55
  kabu = "kabukit.cli.app:app"
34
56
 
35
57
  [project.urls]
58
+ Changelog = "https://github.com/daizutabi/kabukit/releases"
36
59
  Documentation = "https://daizutabi.github.io/kabukit/"
37
- Source = "https://github.com/daizutabi/kabukit"
60
+ Homepage = "https://daizutabi.github.io/kabukit/"
38
61
  Issues = "https://github.com/daizutabi/kabukit/issues"
62
+ Source = "https://github.com/daizutabi/kabukit"
39
63
 
40
64
  [dependency-groups]
41
65
  dev = [
kabukit-0.7.2/PKG-INFO DELETED
@@ -1,75 +0,0 @@
1
- Metadata-Version: 2.3
2
- Name: kabukit
3
- Version: 0.7.2
4
- Summary: A Python toolkit for Japanese financial market data, supporting J-Quants and EDINET APIs.
5
- Author: daizutabi
6
- Author-email: daizutabi <daizutabi@gmail.com>
7
- License: MIT License
8
-
9
- Copyright (c) 2025 Daizu
10
-
11
- Permission is hereby granted, free of charge, to any person obtaining a copy
12
- of this software and associated documentation files (the "Software"), to deal
13
- in the Software without restriction, including without limitation the rights
14
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
- copies of the Software, and to permit persons to whom the Software is
16
- furnished to do so, subject to the following conditions:
17
-
18
- The above copyright notice and this permission notice shall be included in all
19
- copies or substantial portions of the Software.
20
-
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
- SOFTWARE.
28
- Classifier: Development Status :: 4 - Beta
29
- Classifier: Programming Language :: Python
30
- Classifier: Programming Language :: Python :: 3.13
31
- Classifier: Programming Language :: Python :: 3.14
32
- Requires-Dist: async-typer>=0.1.10
33
- Requires-Dist: httpx>=0.28.1
34
- Requires-Dist: platformdirs>=4.5.0
35
- Requires-Dist: polars>=1.34.0
36
- Requires-Dist: python-dotenv>=1.1.1
37
- Requires-Dist: rich>=14.2.0
38
- Requires-Dist: tenacity>=9.1.2
39
- Requires-Dist: tqdm>=4.67.1
40
- Requires-Dist: typer>=0.19.2
41
- Requires-Dist: tzdata ; sys_platform == 'win32'
42
- Requires-Python: >=3.13
43
- Project-URL: Documentation, https://daizutabi.github.io/kabukit/
44
- Project-URL: Issues, https://github.com/daizutabi/kabukit/issues
45
- Project-URL: Source, https://github.com/daizutabi/kabukit
46
- Description-Content-Type: text/markdown
47
-
48
- # kabukit
49
-
50
- A Python toolkit for Japanese financial market data, supporting J-Quants and EDINET APIs.
51
-
52
- [![PyPI Version][pypi-v-image]][pypi-v-link]
53
- [![Python Version][python-v-image]][python-v-link]
54
- [![Build Status][GHAction-image]][GHAction-link]
55
- [![Coverage Status][codecov-image]][codecov-link]
56
- [![Documentation Status][docs-image]][docs-link]
57
-
58
- ## Installation
59
-
60
- ```bash
61
- pip install kabukit
62
- ```
63
-
64
- <!-- Badges -->
65
-
66
- [pypi-v-image]: https://img.shields.io/pypi/v/kabukit.svg
67
- [pypi-v-link]: https://pypi.org/project/kabukit/
68
- [python-v-image]: https://img.shields.io/pypi/pyversions/kabukit.svg
69
- [python-v-link]: https://pypi.org/project/kabukit
70
- [GHAction-image]: https://github.com/daizutabi/kabukit/actions/workflows/ci.yaml/badge.svg?branch=main&event=push
71
- [GHAction-link]: https://github.com/daizutabi/kabukit/actions?query=event%3Apush+branch%3Amain
72
- [codecov-image]: https://codecov.io/github/daizutabi/kabukit/graph/badge.svg?token=Yu6lAdVVnd
73
- [codecov-link]: https://codecov.io/github/daizutabi/kabukit?branch=main
74
- [docs-image]: https://img.shields.io/badge/docs-latest-blue.svg
75
- [docs-link]: https://daizutabi.github.io/kabukit/
kabukit-0.7.2/README.md DELETED
@@ -1,28 +0,0 @@
1
- # kabukit
2
-
3
- A Python toolkit for Japanese financial market data, supporting J-Quants and EDINET APIs.
4
-
5
- [![PyPI Version][pypi-v-image]][pypi-v-link]
6
- [![Python Version][python-v-image]][python-v-link]
7
- [![Build Status][GHAction-image]][GHAction-link]
8
- [![Coverage Status][codecov-image]][codecov-link]
9
- [![Documentation Status][docs-image]][docs-link]
10
-
11
- ## Installation
12
-
13
- ```bash
14
- pip install kabukit
15
- ```
16
-
17
- <!-- Badges -->
18
-
19
- [pypi-v-image]: https://img.shields.io/pypi/v/kabukit.svg
20
- [pypi-v-link]: https://pypi.org/project/kabukit/
21
- [python-v-image]: https://img.shields.io/pypi/pyversions/kabukit.svg
22
- [python-v-link]: https://pypi.org/project/kabukit
23
- [GHAction-image]: https://github.com/daizutabi/kabukit/actions/workflows/ci.yaml/badge.svg?branch=main&event=push
24
- [GHAction-link]: https://github.com/daizutabi/kabukit/actions?query=event%3Apush+branch%3Amain
25
- [codecov-image]: https://codecov.io/github/daizutabi/kabukit/graph/badge.svg?token=Yu6lAdVVnd
26
- [codecov-link]: https://codecov.io/github/daizutabi/kabukit?branch=main
27
- [docs-image]: https://img.shields.io/badge/docs-latest-blue.svg
28
- [docs-link]: https://daizutabi.github.io/kabukit/
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes