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.0.tar.gz (26.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_calendar-0.3.0-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pykabu_calendar-0.3.0.tar.gz
  • Upload date:
  • Size: 26.1 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.0.tar.gz
Algorithm Hash digest
SHA256 19a43eee16a2a1e494bc774df71eb57e0ce4d0e3d2451aff245bf576df963496
MD5 a91df026e549c10fec23af1d75b7e662
BLAKE2b-256 56efd64b141c922bc321623a571d5c8532c693750fefbfed7491fef14dfc71a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pykabu_calendar-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38e4d7fcf979f6db824d82ecd0e017ca31e97b7df5d8b7a7e43f1e6ee3377960
MD5 5cfeb44024c72ddbe674861452050917
BLAKE2b-256 a1efffba357e28646bec4c1ba29e7016338c90ec1379a8f9c7245381519e21de

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