PyPtt (PTT Library)
PyPtt 是一套以 Pure Python 實作的 PTT (批踢踢) SDK,提供了批踢踢完整功能讓您可以自由開發你的批踢踢機器人。
主要功能
- 帳號管理: 登入登出、修改密碼
- 文章相關: 發文、推文、回覆、刪文
- 看板相關: 搜尋文章、取得看板資訊
- 信件系統: 寄信、收信、刪信
- 管理功能: 水桶、修改看板標題
- 其他功能: 即時訊息(水球)、P幣轉帳
系統需求
- Python 3.11 以上
- 非雲端環境 (因 PTT 封鎖雲端 IP)
快速開始
pip install PyPtt
回報問題
請參考 常見問題 章節
加入 PyPtt 社群
你可以在 Discord 上找到 PyPtt 社群 
贊助
issue 解太慢嗎?幫我增加一點動力吧!
Star History
贊助清單
leftc
Metadata
Release files for PyPtt 2.3.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyptt-2.3.16.tar.gz | 411.1 kB | Without provenance | Details for pyptt-2.3.16.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyptt-2.3.16-py3-none-any.whl | Python 3 | none | any | Details for pyptt-2.3.16-py3-none-any.whl |
Total release size: 759.5 kB
Release files / pyptt-2.3.16.tar.gz
| Download URL | pyptt-2.3.16.tar.gz |
|---|---|
| Size | 411.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37f6c1d2e4b4eac5987f0c6be6cb9a36a7ea1cbce11efb6a578460fe63c2cfde
|
|
BLAKE2b-256 checksum How to use checksums |
fb570901323abc3f93cf0f9eb98b91e6fa515488009cf91e8638b77649f3a787
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / pyptt-2.3.16-py3-none-any.whl
| Download URL | pyptt-2.3.16-py3-none-any.whl |
|---|---|
| Size | 348.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b907adf3b732c0d277193e6249dbc43f9e9686d26e1e2349741e3334b9fdd96
|
|
BLAKE2b-256 checksum How to use checksums |
694d3473bc44f273200da50b94036fe5d90de03c7798a8f6a4e97929d6a218ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for PyPtt 2.3.16
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.