![](https://raw.githubusercontent.com/PttCodingMan/PyPtt/master/logo/facebook_cover_photo_2.png)
# PyPtt
[![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/test.yml/badge.svg)](https://github.com/PyPtt/PyPtt/actions/workflows/test.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) 是一套 Pure Python PTT API 是目前支援最完整的 PTT API。具備大部分常用功能,無論推文、發文、取得文章、取得信件、寄信、發 P 幣、丟水球,你都可以在這裡找到完整的使用範例
#### 使用帳號登入,支援使用登入之後才可以使用的功能,例如:推文、發文、寄信、發 P 幣等等
#### 本專案意旨在提供 PTT 自動化機器人函式庫,無意違反任何 PTT 站方規範。如有牴觸,請馬上告知。
#### 由於 PTT 封鎖雲端連線,建議在雲端以外的環境使用。
####
#### Pypi: https://pypi.org/project/PyPtt/
<img src="https://raw.githubusercontent.com/PyPtt/PyPtt/master/docs/_static/login_1.0.gif" width="560">
## 安裝
```bash
pip install PyPtt
```
## 回報問題
#### 請參考 [常見問題](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)
## 贊助清單
#### leftc
Raw data
{
"_id": null,
"home_page": "https://pyptt.cc/",
"name": "PyPtt",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "PTT, crawler, bot, library, websockets",
"author": "CodingMan",
"author_email": "pttcodingman@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/22/5a/03fc866aa3108c1a33cd2e969130270bfb62eca377a89d38917f2041477a/pyptt-1.2.14.tar.gz",
"platform": null,
"description": "![](https://raw.githubusercontent.com/PttCodingMan/PyPtt/master/logo/facebook_cover_photo_2.png)\n# PyPtt\n[![Package Version](https://img.shields.io/pypi/v/PyPtt.svg)](https://pypi.python.org/pypi/PyPtt)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/PyPtt)\n[![test](https://github.com/PyPtt/PyPtt/actions/workflows/test.yml/badge.svg)](https://github.com/PyPtt/PyPtt/actions/workflows/test.yml)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/PyPtt)\n[![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0)\n[![chatroom icon](https://patrolavia.github.io/telegram-badge/chat.png)](https://t.me/PyPtt)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](http://paypal.me/CodingMan)\n\n#### PyPtt (PTT Library) \u662f\u4e00\u5957 Pure Python PTT API \u662f\u76ee\u524d\u652f\u63f4\u6700\u5b8c\u6574\u7684 PTT API\u3002\u5177\u5099\u5927\u90e8\u5206\u5e38\u7528\u529f\u80fd\uff0c\u7121\u8ad6\u63a8\u6587\u3001\u767c\u6587\u3001\u53d6\u5f97\u6587\u7ae0\u3001\u53d6\u5f97\u4fe1\u4ef6\u3001\u5bc4\u4fe1\u3001\u767c P \u5e63\u3001\u4e1f\u6c34\u7403\uff0c\u4f60\u90fd\u53ef\u4ee5\u5728\u9019\u88e1\u627e\u5230\u5b8c\u6574\u7684\u4f7f\u7528\u7bc4\u4f8b\n#### \u4f7f\u7528\u5e33\u865f\u767b\u5165\uff0c\u652f\u63f4\u4f7f\u7528\u767b\u5165\u4e4b\u5f8c\u624d\u53ef\u4ee5\u4f7f\u7528\u7684\u529f\u80fd\uff0c\u4f8b\u5982\uff1a\u63a8\u6587\u3001\u767c\u6587\u3001\u5bc4\u4fe1\u3001\u767c P \u5e63\u7b49\u7b49\n#### \u672c\u5c08\u6848\u610f\u65e8\u5728\u63d0\u4f9b PTT \u81ea\u52d5\u5316\u6a5f\u5668\u4eba\u51fd\u5f0f\u5eab\uff0c\u7121\u610f\u9055\u53cd\u4efb\u4f55 PTT \u7ad9\u65b9\u898f\u7bc4\u3002\u5982\u6709\u7274\u89f8\uff0c\u8acb\u99ac\u4e0a\u544a\u77e5\u3002\n#### \u7531\u65bc PTT \u5c01\u9396\u96f2\u7aef\u9023\u7dda\uff0c\u5efa\u8b70\u5728\u96f2\u7aef\u4ee5\u5916\u7684\u74b0\u5883\u4f7f\u7528\u3002\n####\n#### Pypi: https://pypi.org/project/PyPtt/\n<img src=\"https://raw.githubusercontent.com/PyPtt/PyPtt/master/docs/_static/login_1.0.gif\" width=\"560\">\n\n## \u5b89\u88dd\n```bash\npip install PyPtt\n```\n\n## \u56de\u5831\u554f\u984c\n#### \u8acb\u53c3\u8003 [\u5e38\u898b\u554f\u984c](https://pyptt.cc/faq.html) \u7ae0\u7bc0\n\n## \u52a0\u5165 PyPtt \u793e\u7fa4\n#### \u4f60\u53ef\u4ee5\u5728 Telegram \u4e0a\u627e\u5230 PyPtt \u793e\u7fa4 [![chatroom icon](https://patrolavia.github.io/telegram-badge/chat.png)](https://t.me/PyPtt)\n\n## \u8d0a\u52a9\n#### issue \u89e3\u592a\u6162\u55ce\uff1f\u5e6b\u6211\u589e\u52a0\u4e00\u9ede\u52d5\u529b\u5427\uff01\n####\n#### [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](http://paypal.me/CodingMan)\n\n## \u8d0a\u52a9\u6e05\u55ae\n\n#### leftc\n",
"bugtrack_url": null,
"license": null,
"summary": "PyPtt",
"version": "1.2.14",
"project_urls": {
"Homepage": "https://pyptt.cc/"
},
"split_keywords": [
"ptt",
" crawler",
" bot",
" library",
" websockets"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "998f24e2b67dc262df876b7209bdf8a111e2b9616af862e5378135c73a9783c2",
"md5": "bc89d27065d1afce0103f70d3f281c29",
"sha256": "1d5c81d614f5b729060cb9beac28e24c6560dc697652f8a78a8d316c6c758863"
},
"downloads": -1,
"filename": "PyPtt-1.2.14-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bc89d27065d1afce0103f70d3f281c29",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 79225,
"upload_time": "2024-11-18T06:33:16",
"upload_time_iso_8601": "2024-11-18T06:33:16.651290Z",
"url": "https://files.pythonhosted.org/packages/99/8f/24e2b67dc262df876b7209bdf8a111e2b9616af862e5378135c73a9783c2/PyPtt-1.2.14-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "225a03fc866aa3108c1a33cd2e969130270bfb62eca377a89d38917f2041477a",
"md5": "ca9aebb794939c3cf67576e021de21b9",
"sha256": "80767b0249ca090346e2ac7d5bde6d423e8a2b97add8528cd34492f04c606ce9"
},
"downloads": -1,
"filename": "pyptt-1.2.14.tar.gz",
"has_sig": false,
"md5_digest": "ca9aebb794939c3cf67576e021de21b9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 62879,
"upload_time": "2024-11-18T06:33:18",
"upload_time_iso_8601": "2024-11-18T06:33:18.404941Z",
"url": "https://files.pythonhosted.org/packages/22/5a/03fc866aa3108c1a33cd2e969130270bfb62eca377a89d38917f2041477a/pyptt-1.2.14.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-18 06:33:18",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pyptt"
}