Giter Club home page Giter Club logo

pyptt's Introduction

PyPtt

PyPI - Python Version Package Version PyPI - Downloads Build Status Codacy Badge License: LGPL v3 chatroom icon Donate

PyPtt (PTT Library) 是一套 Pure Python PTT API。具備大部分常用功能,無論推文、發文、爬蟲、寄信、發 P 幣、丟水球或者追蹤帳號,你都可以在這裡找到完整的使用範例

可自由選擇 WebSocket 或者 Telnet 來連線,並支援繁體中文與英文顯示

API 的詳細範例與參數說明 PyPtt 文件

為什麼選擇 PyPtt

完整的支援: PyPtt 是目前支援最完整的 PTT API,除了 PTT 也相容於 PTT2,詳細範例請參考 PyPtt 文件

高效能爬蟲: 登入式爬蟲,除了可以取得即時的推文,也比網頁式爬蟲擁有更好的效能 效能比較表

快速的客服: 如果有任何問題你可以在 chatroom icon 找到我

完整的測試: 你可以在 Build Status 找到完整測試結果

程式碼品質: 你可以在 Codacy Badge 找到程式碼品質報告與評等

版本

Package Version

取得

安裝

Windows 使用 pip, Linux and Mac 使用 pip3

pip install PyPtt

回報問題

1. 請閱讀 PyPtt 文件 確認使用方法無誤並確認你所使用的版本為 Package Version 如果是舊版本請更新後複測

2. 如果問題還是存在,請參考文件中的 初始設定 將 log_level 調整成 PTT.log.level.TRACE 後截圖並附上使用 PyPtt 的相關程式碼

3. 開個 issue 追蹤問題也可以直接問我 chatroom icon

需求

Python ≥ 3.6

相依函式庫

progressbar2

websockets

uao

beautifulsoup4 (Since 0.8.25)

requests (Since 0.8.25)

贊助

如果這個專案對你有幫助,贊助我一杯咖啡吧!!

Donate

XMR

448CUe2q4Ecf9tx6rwanrqM9kfCwqpNbhJ5jtrTf9FHqHNq7Lvv9uBoQ74SEaAu9FFceNBr6p3W1yhqPcxPPSSTv2ctufnQ

贊助清單

leftc

pyptt's People

Contributors

changingtecadmin avatar secretwatcher avatar truth1987 avatar pttcodingman avatar hackmd-deploy avatar arkuyo avatar smailzhu avatar arthurduh1 avatar tsoliangwu0130 avatar gnin avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.