PyPtt is a free, open source data extraction & web scraping project written in Python and released under LGPL-3.0. It has 732 GitHub stars, 104 forks and 0 open issues, and was last pushed 30 days ago. On this registry it ranks #95 of 105 tracked projects in Data Extraction & Web Scraping, with 5 head-to-head comparisons available.

Package Version PyPI - Downloads test PyPI - Python Version License: LGPL v3 Discord Donate

PyPtt (PTT Library)

PyPtt 是一套以 Pure Python 實作的 PTT (批踢踢) SDK,提供了批踢踢完整功能讓您可以自由開發你的批踢踢機器人。

主要功能

  • 帳號管理: 登入登出、修改密碼
  • 文章相關: 發文、推文、回覆、刪文
  • 看板相關: 搜尋文章、取得看板資訊
  • 信件系統: 寄信、收信、刪信
  • 管理功能: 水桶、修改看板標題
  • 其他功能: 即時訊息(水球)、P幣轉帳

系統需求

  • Python 3.11 以上
  • 非雲端環境 (因 PTT 封鎖雲端 IP)

快速開始

pip install PyPtt

回報問題

請參考 常見問題 章節

加入 PyPtt 社群

你可以在 Discord 上找到 PyPtt 社群 Discord

贊助

issue 解太慢嗎?幫我增加一點動力吧!
Donate

Star History

Star History Chart

贊助清單

leftc

Frequently asked questions

Is PyPtt free to use?

PyPtt is open source under the LGPL-3.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does PyPtt do?

The best PTT library

What is PyPtt written in?

PyPtt is primarily written in Python. Its source is publicly available at https://github.com/PyPtt/PyPtt, and it has 732 GitHub stars.