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.3.1.tar.gz (25.6 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.3.1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pykabu_calendar-0.3.1.tar.gz
  • Upload date:
  • Size: 25.6 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.3.1.tar.gz
Algorithm Hash digest
SHA256 8116f19f161361ba04665946c6aa1a3170f22b1e829d8489e5357d45fea810de
MD5 ca2f2ec2c43b92f511a0db42cd94a17e
BLAKE2b-256 8def062b73978edfc5b3cb5866d16b656cb774c7891acdb69c091d4b10313a9f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pykabu_calendar-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9389c60c82355b8c38fdbd661cea22b0fcfd963bcb3cec9ba3cb838c29e71fff
MD5 46b970eeb02146c44ecbe2a946328235
BLAKE2b-256 b1c652164c973d40c629d92cba19a426c2f31f4a2e4abacedbeda6869b34d0a5

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