Skip to main content

Unified company ID registry for Japanese financial data (EDINET, TDnet, yfinance)

Project description

japan-finance-codes

Unified company ID registry for Japanese financial data.

Maps between EDINET codes, securities codes (4/5-digit), corporate numbers (法人番号), and yfinance tickers.

Installation

pip install japan-finance-codes

Usage

from japan_finance_codes import CompanyRegistry

# Build registry from EDINET company list
registry = await CompanyRegistry.create()

# Lookup by various ID types
company = registry.by_ticker("7203")           # 4-digit ticker
company = registry.by_edinet("E02144")         # EDINET code
company = registry.by_sec_code("72030")        # 5-digit securities code
company = registry.by_corporate_number("2180001012461")  # 法人番号

# Auto-detect identifier type
company = registry.resolve("7203")

# Name search
results = registry.search("トヨタ")

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

japan_finance_codes-0.2.0.tar.gz (457.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

japan_finance_codes-0.2.0-py3-none-any.whl (348.4 kB view details)

Uploaded Python 3

File details

Details for the file japan_finance_codes-0.2.0.tar.gz.

File metadata

  • Download URL: japan_finance_codes-0.2.0.tar.gz
  • Upload date:
  • Size: 457.7 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

Hashes for japan_finance_codes-0.2.0.tar.gz
Algorithm Hash digest
SHA256 09171e97b3596014058700d8e02ab6be7006ecf4ba6e284671d3b44ead3933ae
MD5 bad1b330857e79c58926bca0e2ef6902
BLAKE2b-256 1a6d4f51132b9c58659daa6381ac50d054c3d40017eb6477a5b2d188182a0933

See more details on using hashes here.

File details

Details for the file japan_finance_codes-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: japan_finance_codes-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 348.4 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

Hashes for japan_finance_codes-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52befd4b5b7b94894301a50dfcb4c14b5fdf55d83afbfabe55216f04aa51632b
MD5 20edb6913c9a6835dc92310263bea892
BLAKE2b-256 17e8cb7f41b2af61d0a1328ff1b0213384859501b4cf4f0abd7d371ed86b9e99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page