jpfin
Unified CLI for Japanese equity factor analysis.
Integrates japan-finance-factors, edinet-mcp, stockprice-mcp, and japan-finance-codes into a single command.
Install
pip install jpfin
Usage
# Analyze a single ticker
jpfin analyze 7203
# Multiple tickers
jpfin analyze 7203 6758 9984
# JSON output
jpfin analyze 7203 --format json
# Specify fiscal year
jpfin analyze 7203 --year 2024
Features
- 18 quantitative factors across 5 categories (value, quality, momentum, risk, size)
- Point-in-time (PIT) safety — no lookahead bias
- Auto-resolution of ticker → EDINET code
- Market cap from yfinance merged into financial data
- Table and JSON output formats
Environment Variables
EDINET_API_KEY— Required for financial data from EDINET
License
Apache-2.0
Metadata
Release files for jpfin 0.13.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jpfin-0.13.0.tar.gz | 203.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jpfin-0.13.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 248.6 kB
Release files / jpfin-0.13.0.tar.gz
| Download URL | jpfin-0.13.0.tar.gz |
|---|---|
| Size | 203.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9f85ec859cf20aab91ead5d4bc55d49da48a95a939e5ab03e40fd6964a29e38
|
|
BLAKE2b-256 checksum How to use checksums |
98d6015de6e69620f96d4c0bea632a3c3e7784cadaa646a4e7fb09d71d1d88be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / jpfin-0.13.0-py3-none-any.whl
| Download URL | jpfin-0.13.0-py3-none-any.whl |
|---|---|
| Size | 45.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5bff8f764ea3e9a84e46aff4c35bab9b99b0cf74d03e61d4718995c6d9f3964
|
|
BLAKE2b-256 checksum How to use checksums |
5ae5b41dbb00aee40250d5b49b06db7736dead8d40b37514ef86566046cd6222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|