Metadata-Version: 2.4
Name: PyPtt
Version: 2.0.4
Summary: PyPtt github: https://github.com/PyPtt/PyPtt
Author-email: CodingMan <pttcodingman@gmail.com>
License: GNU Lesser General Public License v3 (LGPLv3)
Project-URL: Homepage, https://pyptt.cc/
Project-URL: Repository, https://github.com/PyPtt/PyPtt
Keywords: PTT,crawler,bot,library,websockets
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Communications :: BBS
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Natural Language :: Chinese (Traditional)
Classifier: Natural Language :: English
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: progressbar2
Requires-Dist: websockets==12.0
Requires-Dist: uao
Requires-Dist: requests==2.33.0
Requires-Dist: AutoStrEnum
Requires-Dist: PyYAML
Provides-Extra: api
Requires-Dist: fastapi; extra == "api"
Requires-Dist: uvicorn[standard]; extra == "api"
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: python-dotenv; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Requires-Dist: sphinx; extra == "dev"
Requires-Dist: sphinx-copybutton; extra == "dev"
Requires-Dist: pygments==2.15.0; extra == "dev"
Requires-Dist: Furo; extra == "dev"
Requires-Dist: sphinx-sitemap; extra == "dev"
Dynamic: license-file

![](https://raw.githubusercontent.com/PttCodingMan/PyPtt/master/logo/facebook_cover_photo_2.png)
[![Package Version](https://img.shields.io/pypi/v/PyPtt.svg)](https://pypi.python.org/pypi/PyPtt)
![PyPI - Downloads](https://img.shields.io/pypi/dm/PyPtt)
[![test](https://github.com/PyPtt/PyPtt/actions/workflows/deploy.yml/badge.svg)](https://github.com/PyPtt/PyPtt/actions/workflows/deploy.yml)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/PyPtt)
[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)
[![chatroom icon](https://patrolavia.github.io/telegram-badge/chat.png)](https://t.me/PyPtt)
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](http://paypal.me/CodingMan)

## PyPtt (PTT Library)

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

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

### 系統需求
- Python 3.11 以上
- 非雲端環境 (因 PTT 封鎖雲端 IP)

### 快速開始

```bash
pip install PyPtt
```
<img src="https://raw.githubusercontent.com/PyPtt/PyPtt/master/docs/_static/login_1.0.gif" width="560">

## 回報問題
#### 請參考 [常見問題](https://pyptt.cc/faq.html) 章節

## 加入 PyPtt 社群
#### 你可以在 Telegram 上找到 PyPtt 社群 [![chatroom icon](https://patrolavia.github.io/telegram-badge/chat.png)](https://t.me/PyPtt)

## 贊助
#### issue 解太慢嗎？幫我增加一點動力吧！
####
#### [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](http://paypal.me/CodingMan)

## Star History

[![Star History Chart](https://codingman.cc/images/star_history.svg)](https://www.star-history.com/#PyPtt/PyPtt&Date)

## 贊助清單

#### leftc
