Skip to main content

Python library and CLI for Japanese stock market data

Project description

pykabu

Python library and CLI for Japanese stock market data.

Installation

pip install pykabu

# For market indices (requires browser automation)
playwright install chromium

CLI Usage

kabu sche              # Today's schedule
kabu sche -t           # Tomorrow's schedule
kabu sche -w           # This week's schedule
kabu sche -i 3         # Filter by importance (>= 3 stars)

# Market indices
kabu index             # Default 8 indices
kabu index --all       # All known indices (~25)
kabu index --custom    # Custom configured indices
kabu index --merged    # Default + custom indices

# Configuration
kabu config show                      # Show current config
kabu config set default_importance 3  # Set default star filter

# Custom indices
kabu config index list                # List all available codes
kabu config index add 212             # Add NASDAQ
kabu config index add 1001            # Add Bitcoin
kabu config index remove 212          # Remove an index

Library Usage

from pykabu.sources import nikkei225

# Schedule data
schedule = nikkei225.get_schedule()
today = nikkei225.get_today_schedule()
tomorrow = nikkei225.get_tomorrow_schedule()
week = nikkei225.get_week_schedule()

# Market indices (requires playwright)
indices = nikkei225.get_indices()

Data Sources

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

pykabu-0.1.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

pykabu-0.1.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pykabu-0.1.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pykabu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c1816f5a4179db080f098cff63abba0e6c2a040d7e06fa5307647519f57722a
MD5 c777ea24be6a8d84d03b75adb02693fd
BLAKE2b-256 160a0f394a4ab062b26d5e291b39f9435d52a6f7608d079f476ca794e4ecf81b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pykabu-0.1.0.tar.gz:

Publisher: publish.yml on obichan117/pykabu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: pykabu-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pykabu-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc57ba8e9085d227c21f33253ccedd8bd2ce5c82ce76ae122026555c06df1c3b
MD5 b9ebd5b53afc655b6571943b7f601fa8
BLAKE2b-256 a12f0afba7a8d7eb410aa9447dbbd803864b57cdca1a1297015aad33e410b873

See more details on using hashes here.

Provenance

The following attestation bundles were made for pykabu-0.1.0-py3-none-any.whl:

Publisher: publish.yml on obichan117/pykabu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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