Japanese earnings calendar aggregator
Project description
pykabu-calendar
Japanese earnings calendar aggregator.
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 (uses all sources by default)
df = cal.get_calendar("2026-02-10")
# Use specific sources only (faster, no browser needed)
df = cal.get_calendar("2026-02-10", sources=["matsui", "tradersweb"])
# 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
- Inferred + Source match - When inferred time matches a source
- Inferred - From historical patterns
- SBI - Primary public source (requires Playwright)
- Matsui/Tradersweb - Lightweight sources (default)
Documentation
Full documentation: https://obichan117.github.io/pykabu-calendar
License
MIT
Project details
Release history Release notifications | RSS feed
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.6.0.tar.gz
(51.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pykabu_calendar-0.6.0.tar.gz.
File metadata
- Download URL: pykabu_calendar-0.6.0.tar.gz
- Upload date:
- Size: 51.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff53f7b78794dd54e0b86e84db101cda4d8ec7bf64614a10e826068aafad8fcf
|
|
| MD5 |
561b05f462f86dc0dfacc2a2b452c716
|
|
| BLAKE2b-256 |
6ca5468dc85de854ab5eac0d246f7d88922e3669eadaf6b64881e00f9b237ae3
|
File details
Details for the file pykabu_calendar-0.6.0-py3-none-any.whl.
File metadata
- Download URL: pykabu_calendar-0.6.0-py3-none-any.whl
- Upload date:
- Size: 36.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73ef0b5521fe01f124403a80bc2f6c4c8c24da1c495178d107f785e173b0302d
|
|
| MD5 |
4ca173c075f30f9e86adbe905bb50790
|
|
| BLAKE2b-256 |
95f130482afc416a54aacf0ae48f44bcda41a413bc1ef784961837a460398e53
|