kabukit 0.1.0__py3-none-any.whl → 0.2.0__py3-none-any.whl
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.
- kabukit/__init__.py +6 -4
- kabukit/analysis/__init__.py +0 -0
- kabukit/analysis/indicators.py +0 -0
- kabukit/analysis/preprocess.py +0 -0
- kabukit/analysis/screener.py +0 -0
- kabukit/analysis/visualization.py +57 -0
- kabukit/cli/__init__.py +0 -0
- kabukit/cli/app.py +22 -0
- kabukit/cli/auth.py +86 -0
- kabukit/core/__init__.py +0 -0
- kabukit/core/base.py +45 -0
- kabukit/core/client.py +25 -0
- kabukit/core/info.py +12 -0
- kabukit/core/prices.py +30 -0
- kabukit/core/statements.py +7 -0
- kabukit/edinet/__init__.py +3 -0
- kabukit/edinet/client.py +113 -0
- kabukit/edinet/concurrent.py +153 -0
- kabukit/edinet/doc.py +32 -0
- kabukit/jquants/__init__.py +3 -0
- kabukit/jquants/client.py +197 -197
- kabukit/jquants/concurrent.py +91 -0
- kabukit/jquants/info.py +31 -0
- kabukit/jquants/prices.py +29 -0
- kabukit/jquants/schema.py +180 -0
- kabukit/jquants/statements.py +102 -0
- kabukit/py.typed +0 -0
- kabukit/utils/__init__.py +0 -0
- kabukit/utils/concurrent.py +148 -0
- kabukit/utils/config.py +26 -0
- kabukit/utils/params.py +47 -0
- kabukit-0.2.0.dist-info/METADATA +64 -0
- kabukit-0.2.0.dist-info/RECORD +35 -0
- {kabukit-0.1.0.dist-info → kabukit-0.2.0.dist-info}/WHEEL +1 -1
- kabukit-0.2.0.dist-info/entry_points.txt +3 -0
- kabukit/cli.py +0 -40
- kabukit-0.1.0.dist-info/METADATA +0 -33
- kabukit-0.1.0.dist-info/RECORD +0 -8
- kabukit-0.1.0.dist-info/entry_points.txt +0 -3
kabukit/cli.py
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
"""kabukit CLI."""
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
|
5
|
-
from typing import Annotated
|
6
|
-
|
7
|
-
import typer
|
8
|
-
from httpx import HTTPStatusError
|
9
|
-
from typer import Argument, Exit, Option, Typer
|
10
|
-
|
11
|
-
from .jquants.client import JQuantsClient
|
12
|
-
|
13
|
-
app = Typer(add_completion=False)
|
14
|
-
|
15
|
-
|
16
|
-
@app.command()
|
17
|
-
def auth(
|
18
|
-
mailaddress: Annotated[str, Argument(help="J-Quants mail address.")],
|
19
|
-
password: Annotated[str, Option(prompt=True, hide_input=True)],
|
20
|
-
) -> None:
|
21
|
-
"""Authenticate and save/refresh tokens."""
|
22
|
-
client = JQuantsClient()
|
23
|
-
|
24
|
-
try:
|
25
|
-
client.auth(mailaddress, password)
|
26
|
-
except HTTPStatusError as e:
|
27
|
-
typer.echo(f"Authentication failed: {e}")
|
28
|
-
raise Exit(1) from None
|
29
|
-
|
30
|
-
client = JQuantsClient()
|
31
|
-
typer.echo(f"refreshToken: {client.refresh_token[:30]}...")
|
32
|
-
typer.echo(f"idToken: {client.id_token[:30]}...")
|
33
|
-
|
34
|
-
|
35
|
-
@app.command()
|
36
|
-
def version() -> None:
|
37
|
-
"""Show kabukit version."""
|
38
|
-
from importlib.metadata import version
|
39
|
-
|
40
|
-
typer.echo(f"kabukit version: {version('kabukit')}")
|
kabukit-0.1.0.dist-info/METADATA
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.3
|
2
|
-
Name: kabukit
|
3
|
-
Version: 0.1.0
|
4
|
-
Summary: Add your description here
|
5
|
-
Author: Daizu
|
6
|
-
Author-email: Daizu <daizutabi@gmail.com>
|
7
|
-
Requires-Dist: httpx
|
8
|
-
Requires-Dist: platformdirs
|
9
|
-
Requires-Dist: polars>=1.32.3
|
10
|
-
Requires-Dist: python-dotenv
|
11
|
-
Requires-Dist: typer
|
12
|
-
Requires-Python: >=3.13
|
13
|
-
Description-Content-Type: text/markdown
|
14
|
-
|
15
|
-
# kabukit
|
16
|
-
|
17
|
-
A Python toolkit for Japanese financial market data, supporting J-Quants and EDINET APIs.
|
18
|
-
|
19
|
-
## Gemini CLI
|
20
|
-
|
21
|
-
https://github.com/google-gemini/gemini-cli/issues/6297
|
22
|
-
|
23
|
-
```bash
|
24
|
-
echo $GEMINI_CLI_IDE_SERVER_PORT
|
25
|
-
sudo sh -c 'echo "127.0.0.1 host.docker.internal" >> /etc/hosts'
|
26
|
-
```
|
27
|
-
|
28
|
-
## References
|
29
|
-
|
30
|
-
https://jpx.gitbook.io/j-quants-ja/api-reference
|
31
|
-
https://japanexchangegroup.github.io/J-Quants-Tutorial/
|
32
|
-
https://www.jpx.co.jp/corporate/news/news-releases/0010/20210813-01.html
|
33
|
-
https://disclosure2dl.edinet-fsa.go.jp/guide/static/disclosure/WZEK0110.html
|
kabukit-0.1.0.dist-info/RECORD
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
kabukit/__init__.py,sha256=iPsCZbh4lCYivLMPEtQphSu9tv-srLArCVs17qV_s1o,53
|
2
|
-
kabukit/cli.py,sha256=Ed990MnPe--Rfjpr5Ow1WuafIQi3e3ASIBqXjN45teM,1005
|
3
|
-
kabukit/jquants/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
kabukit/jquants/client.py,sha256=ngMl40pXSkzm4C1mQBVFPYr7zHez16HpDVDsO4jr85o,10287
|
5
|
-
kabukit-0.1.0.dist-info/WHEEL,sha256=NHRAbdxxzyL9K3IO2LjmlNqKSyPZnKv2BD16YYVKo18,79
|
6
|
-
kabukit-0.1.0.dist-info/entry_points.txt,sha256=gVuAclA51VqzWiPx_zyB3-0MklaCD1EsC9fsLtX9O_M,42
|
7
|
-
kabukit-0.1.0.dist-info/METADATA,sha256=JQNE2jPQmGSYBHKMZUB--cKdkdX8v1gTdja2asVGXZA,890
|
8
|
-
kabukit-0.1.0.dist-info/RECORD,,
|