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.1.0.tar.gz (100.2 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.1.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: japan_finance_codes-0.1.0.tar.gz
  • Upload date:
  • Size: 100.2 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.1.0.tar.gz
Algorithm Hash digest
SHA256 8ae9ecab95dcb540a0ea76ecc1e5527e5a1ad84217cd2781b96fe9b4eed9b502
MD5 eb4ce561f21456d12ea375586832bf95
BLAKE2b-256 381ec7468a151f02244592387216e01346b17151c2fd2ee6d6b2c7c7922fb88d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: japan_finance_codes-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 265175835ba4e12756f77bd66f1fa7b1effb24164bcd3e9a95f775ade4cdca86
MD5 0d3bd29ea10a287763eb6cae75b8529a
BLAKE2b-256 94f96644d7f8ac592c5b66c0e6fc427c7f3668503e55995e3d1c6badeb18fa32

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