Skip to main content

Japanese earnings calendar aggregator

Project description

pykabu-calendar

Japanese earnings calendar aggregator.

Open In Colab

Installation

pip install pykabu-calendar

For SBI scraping (requires browser):

pip install pykabu-calendar
pip install playwright && playwright install chromium

Quick Start

import pykabu_calendar as cal

# Get earnings calendar for a specific date
df = cal.get_calendar("2026-02-10")

# Include SBI (requires Playwright)
df = cal.get_calendar("2026-02-10", include_sbi=True)

# Without historical inference (faster)
df = cal.get_calendar("2026-02-10", infer_from_history=False)

# Export to CSV
cal.export_to_csv(df, "earnings.csv")

Output Columns

Column Description
code Stock code (e.g., "7203")
name Company name
datetime Best estimate datetime
candidate_datetimes List of candidate datetimes (most likely first)
sbi_datetime Datetime from SBI (if available)
matsui_datetime Datetime from Matsui
tradersweb_datetime Datetime from Tradersweb
inferred_datetime Datetime inferred from history
past_datetimes List of past earnings datetimes

Features

  • Aggregates earnings calendars from SBI, Matsui, Tradersweb
  • Infers announcement time from historical patterns (via pykabutan)
  • Centralized URL configuration for easy maintenance
  • Modern User-Agent for reliable scraping
  • Exports to CSV (Google Sheets compatible)

Data Source Priority

  1. Inferred + Source match - When inferred time matches a source
  2. Inferred - From historical patterns
  3. SBI - Primary public source (requires Playwright)
  4. Matsui/Tradersweb - Lightweight sources (default)

Documentation

Full documentation: https://obichan117.github.io/pykabu-calendar

License

MIT

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_calendar-0.2.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

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

pykabu_calendar-0.2.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pykabu_calendar-0.2.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for pykabu_calendar-0.2.0.tar.gz
Algorithm Hash digest
SHA256 20669000fb3d6b3a6224ca4c8af51a73a61515bc07dd98dd107c5a5b4d9a0528
MD5 21f5d224992930a5b150d92e32853edf
BLAKE2b-256 4575a1d159cf6d4466713e33ebebc445f83d3ba0d2de44b7baf25e49316647a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pykabu_calendar-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 230bc4adee200c647c8eebbf867b6796cff23c7686d0021c7014674a43aa40cc
MD5 44707c0d158bddf8889ffb91ba6ee75b
BLAKE2b-256 fd9bb7bba7e89a1734bb2d495e09a77b2dadeac93b72de6fb1cd3696b46a6f3f

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