Unified CLI for Japanese equity factor analysis
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jpfin-0.1.0.tar.gz
(127.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
jpfin-0.1.0-py3-none-any.whl
(5.3 kB
view details)
File details
Details for the file jpfin-0.1.0.tar.gz.
File metadata
- Download URL: jpfin-0.1.0.tar.gz
- Upload date:
- Size: 127.6 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0adc413d1f1d5dbce72f7246e826b8572d58f27fadb119ef7cf963ee1ff6394c
|
|
| MD5 |
85e95dd4f14f41fa1e46d3ff8fe4d48b
|
|
| BLAKE2b-256 |
64cedd60faa11cc5f46444798a4aa8f60de48ad360b39d5c9c586feb0c6808f4
|
File details
Details for the file jpfin-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jpfin-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ae9c38272c322701633b5c79c9dcda5e3a37f630736970217600341a91819e1
|
|
| MD5 |
783ace016e41b4f6d50216a7fe03eed7
|
|
| BLAKE2b-256 |
9fd3a157a8ddf70cc7a9c1cf898d05d6abbf609a77aab697ce0597b2091d786f
|