Japanese earnings calendar aggregator
Project description
pykabu-calendar
Japanese earnings calendar aggregator.
Installation
pip install pykabu-calendar
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
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")
# Export to Parquet (requires pyarrow)
cal.export_to_parquet(df, "earnings.parquet")
# Export to SQLite
cal.export_to_sqlite(df, "earnings.db")
# Load back from SQLite
df = cal.load_from_sqlite("earnings.db", date="2026-02-10")
# Health check all data sources
cal.check_sources()
Output Columns
| Column | Description |
|---|---|
code |
Stock code (e.g., "7203") |
name |
Company name |
datetime |
Best estimate datetime |
confidence |
Confidence level: "highest", "high", "medium", or "low" |
during_trading_hours |
Whether datetime falls within TSE trading hours |
candidate_datetimes |
List of candidate datetimes (most likely first) |
ir_datetime |
Datetime from company IR page |
sbi_datetime |
Datetime from SBI |
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
- Discovers company IR pages and extracts exact announcement times
- Infers announcement time from historical patterns (via pykabutan)
- Parallel source fetching for faster results
- Source health checks via
check_sources() - YAML-based source configuration for easy maintenance
- Exports to CSV, Parquet, and SQLite
- EarningsSource ABC for adding custom sources
Data Source Priority
- IR page - Company's official IR page (most accurate)
- Inferred - From historical patterns
- SBI - SBI Securities (JSONP API)
- Matsui - Matsui Securities
- Tradersweb - Tradersweb
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.8.0.tar.gz
(65.0 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.8.0.tar.gz.
File metadata
- Download URL: pykabu_calendar-0.8.0.tar.gz
- Upload date:
- Size: 65.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac87156ef3dcd7fa403bc0394481990d32989afb7b379d372f3c953632a7c8fb
|
|
| MD5 |
6d6cfafc7fe7e3e0157856cdd1c32bbb
|
|
| BLAKE2b-256 |
91b3e593945486275bb9e871856a1ca8e8d407c8bcaf77315a741d80aecb3b52
|
File details
Details for the file pykabu_calendar-0.8.0-py3-none-any.whl.
File metadata
- Download URL: pykabu_calendar-0.8.0-py3-none-any.whl
- Upload date:
- Size: 39.8 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 |
b16de477aad3f379960d51abb32175f00b2d6109f847299b768adfd1865aeac4
|
|
| MD5 |
e345fd1675c268eefc96f8930447c8ad
|
|
| BLAKE2b-256 |
93955e2c7e7d142fe71741fb4fdf99d80b6f261791d42e5637a49c48f1af7241
|