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.1.tar.gz (101.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.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: japan_finance_codes-0.1.1.tar.gz
  • Upload date:
  • Size: 101.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.1.tar.gz
Algorithm Hash digest
SHA256 36de6002c6850b7e41747598abcc0928e0babd4eb89b0a99c4cc85b4fc9ce628
MD5 a88171405854686b96413532593e42ba
BLAKE2b-256 90a59bc9336ab1be7b2a4c0489ff665709efba078fdbeff01f7c431645c0b6fd

See more details on using hashes here.

File details

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

File metadata

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

Hashes for japan_finance_codes-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 73bcba740aa58cd0c4743119aeab9cea9fdb012b59d22c7886c1966da082a93b
MD5 9f837bf98c2856780683cd2d8a9d18cf
BLAKE2b-256 084fae6e7b1c301f983b9415dd74edb5c73b11dd0708ba0997aa2d9c4b552bcc

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