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.4.0.tar.gz
(26.1 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.4.0.tar.gz.
File metadata
- Download URL: pykabu_calendar-0.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66111252d820f36a25e87c8583e3c6d9231fe985bb5db08464df53e7f3624b81
|
|
| MD5 |
7a4c2dd751883458699c46ee65266349
|
|
| BLAKE2b-256 |
09153d10f193e5c01d4c9dc832b0e9ba103754d52747cd3a99b179d890bfc28a
|
File details
Details for the file pykabu_calendar-0.4.0-py3-none-any.whl.
File metadata
- Download URL: pykabu_calendar-0.4.0-py3-none-any.whl
- Upload date:
- Size: 18.1 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 |
c106b49140f87853b704997e896080151e0ef07a6936a1731b885a920144ff18
|
|
| MD5 |
e1d71621cf519ebd7cece91017244eac
|
|
| BLAKE2b-256 |
14f250669833c57f9a54bd6ed04071c9f576c7a04f53f3cbdd20b4278b4480f6
|