Skip to main content

yfcomment

PyPI version Python versions License: MIT Docs Open In Colab

Yahoo Finance Japan stock forum comments (掲示板) and BBS rankings in your terminal — no more scrolling a UI that shows 3 comments per screen.

yfc 285A                 # latest 20 comments, compact table
yfc 285A -n 50           # more comments
yfc 285A --no-user       # hide usernames
yfc 285A --no-votes      # hide はい/いいえ counts
yfc 285A --no-poll       # hide the thread sentiment poll header
yfc 285A --full          # untruncated comment text
yfc 285A --json          # JSON to stdout: {"code", "poll", "comments"}

yfc rank                 # 掲示板投稿数ランキング: top 20, daily
yfc rank -n 60 -w        # top 60 weekly (paginates automatically)
yfc rank -m --json       # monthly, JSON: {"term", "entries"}

Install

uv tool install yfcomment   # or: pip install yfcomment

Python API

from yfcomment import get_forum, get_comments, get_ranking

forum = get_forum("285A", limit=20)
print(forum.poll)                # {"強く買いたい": 26.83, "買いたい": 2.44, ...} or None

for c in get_comments("285A", limit=20):
    print(c.posted_at, c.helpful_yes, c.helpful_no, c.text)

for e in get_ranking("weekly", limit=10):
    print(e.rank, e.code, e.name, e.price)

Metadata

Release files for yfcomment 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yfcomment 0.2.1
File Size Uploaded Provenance
yfcomment-0.2.1.tar.gz 31.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for yfcomment 0.2.1
File Interpreter ABI Platform
yfcomment-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 44.2 kB

Release files / yfcomment-0.2.1.tar.gz

Download URL yfcomment-0.2.1.tar.gz
Size 31.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9067955470f74f3dfbe17bf55b52f90d9af16c43475626d052541e30bba7c125
BLAKE2b-256 checksum
How to use checksums
5027657b1607123e6ba100766b30b51b2e82776081f17234430f9de95399c625
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / yfcomment-0.2.1-py3-none-any.whl

Download URL yfcomment-0.2.1-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dda6a3c3c8fd4333281ba92001be81132283bf7c5bd6c3422a698319384a86c4
BLAKE2b-256 checksum
How to use checksums
7f7dcf4a7c836ca3b62fc2187a9af80591c55c8b6db4bd91805a0c73c9193ace
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for yfcomment 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page