Skip to main content

Asynchronous I/O Client for Baidu Tieba

Project description


安装

pip install aiotieba

尝试一下

import asyncio

import aiotieba


async def main():
    async with aiotieba.Client() as client:
        threads = await client.get_threads("天堂鸡汤")
        print(threads[3:6])


asyncio.run(main())

输出样例

[{'tid': 8090519523, 'pid': 145826926675, 'user': '熙时T', 'text': '记录下我的生活吧\n远渡重洋来到这,一周课不算多,20个小时课时,加上每天自学时间,差不多40个小时。9点到17点,一周四天。今天是周五,去了趟镇上买了一周的食物,平时上课,早上就吃点面包和牛奶,中餐是14点溜出来吃个3.99磅的meal deal(挺丰富的,一个大的三明治,一瓶饮料,一份小吃)晚上不想做就吃个巧克力喝点牛奶。周末就会自己做点火锅或者焖锅改善一下生活。这个周末本来想去利物浦和曼城,但下周二有个debate,周末还有个essay和journal,虽然比较简单,还是想认真对待。班上只有两个国人,室友都是当地人,对我很好,没有歧视啥的。'}, {'tid': 8256346027, 'pid': 146825511891, 'user': '煞南波万', 'text': '如题,好奇大家会存什么样的图图✧◔.̮◔'}, {'tid':: 8255392021, 'pid': 146820360992, 'user': 'Yfy1357oy', 'text': '有没有一些治愈的音乐推荐呢?\n如题,范围很广阔,鼓舞人心的、轻快的、浪漫的,有词的、无词的,中文的、外文的,都可以。希望大家能从音乐中找到生活的力量'}]

继续阅读入门教程

项目特色

  • 收录72个常用API
  • 类型注解全覆盖,方法注释全覆盖,类属性注释全覆盖,内部命名统一
  • 请求参数支持protobuf序列化
  • 支持websocket接口
  • 高一致性的密码学实现

友情链接

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

aiotieba-3.2.0-pp39-pypy39_pp73-win_amd64.whl (256.6 kB view details)

Uploaded PyPy Windows x86-64

aiotieba-3.2.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (284.7 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

aiotieba-3.2.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (269.5 kB view details)

Uploaded PyPy macOS 10.9+ x86-64

aiotieba-3.2.0-pp38-pypy38_pp73-win_amd64.whl (256.6 kB view details)

Uploaded PyPy Windows x86-64

aiotieba-3.2.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (284.7 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

aiotieba-3.2.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (269.5 kB view details)

Uploaded PyPy macOS 10.9+ x86-64

aiotieba-3.2.0-cp311-cp311-win_amd64.whl (256.5 kB view details)

Uploaded CPython 3.11 Windows x86-64

aiotieba-3.2.0-cp311-cp311-musllinux_1_1_x86_64.whl (520.4 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

aiotieba-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (492.9 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

aiotieba-3.2.0-cp311-cp311-macosx_10_9_x86_64.whl (272.4 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

aiotieba-3.2.0-cp310-cp310-win_amd64.whl (256.5 kB view details)

Uploaded CPython 3.10 Windows x86-64

aiotieba-3.2.0-cp310-cp310-musllinux_1_1_x86_64.whl (518.3 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

aiotieba-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (492.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

aiotieba-3.2.0-cp310-cp310-macosx_10_9_x86_64.whl (272.3 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

aiotieba-3.2.0-cp39-cp39-win_amd64.whl (256.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

aiotieba-3.2.0-cp39-cp39-musllinux_1_1_x86_64.whl (518.0 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

aiotieba-3.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (491.9 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

aiotieba-3.2.0-cp39-cp39-macosx_10_9_x86_64.whl (272.3 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

aiotieba-3.2.0-cp38-cp38-win_amd64.whl (256.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

aiotieba-3.2.0-cp38-cp38-musllinux_1_1_x86_64.whl (518.1 kB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

aiotieba-3.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (492.6 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

aiotieba-3.2.0-cp38-cp38-macosx_10_9_x86_64.whl (272.3 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file aiotieba-3.2.0-pp39-pypy39_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 c795eea5c60a389c16dd32eb9e96d7297606c3565a7b12f95ca6d9c1c16de991
MD5 741100143d084d3434b39e162daa4c00
BLAKE2b-256 e8c466101c2ec6647f9ef7dcfbd630a8e6e33fc7bbc5478b4211751238fed232

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 60cf629a6b5c3fd6aa3f6b19ae3a0a03de86f2b17905b8c83d2e9beaa3db3ff4
MD5 8337ab4f38f9d87731b43aa6a92ded79
BLAKE2b-256 ca63ff75c15b5cb42383934ba9ee5eabd6cc75519a165bef64cff6743899c755

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a28b584cc06ad35e412fea4aa06183249fa7ba52fd7f89f98272fbc74f12d777
MD5 625be453b96729c4538122cd6b9bb94f
BLAKE2b-256 4f980575d05c089431ab3b513b25b39e618a668c8a1f5e61c14d3d282cbcfa6d

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-pp38-pypy38_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 851e35ad36b078f68f4a0687359133b771694f980737f9ffd35dbc73bea36f82
MD5 a2519dc6534fa30714e5e6c39f76e11c
BLAKE2b-256 06556efa75d88808089c34e55e638998b11443c9fa2a421f05e635f8ed7574c0

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1dfdaa2652bcf68dc6631af78878d0e0c93f03eb4c4b283c459c5f7d01fa5ad4
MD5 356aa2a159980c4bcfaeb6b6dda4f6e3
BLAKE2b-256 daa04b2ab32bb5105978da0ecf93f8a0d0bd9eb8cf883bf27947e4ad9fecccf1

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 caee1de508a553192ddd99cf35ccf6389f712aa3a12ddbf763c9375d2baa558e
MD5 493b680a794164c11be3325584f644a1
BLAKE2b-256 1d8c27b8d63f3960b89f6c4b8740cbf50a307bffece0022796ed27e1597147dd

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: aiotieba-3.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 256.5 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for aiotieba-3.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 17581280bfcf81de85395943362e84d85df692513ec682061f39af2307ebe081
MD5 f7f60131ec8d4a1ee154140724765b54
BLAKE2b-256 0ecfc5490fdb34af144eb3d283ff3527c71edc74960294fd4b6c5b5445fbbae6

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 036fb29a0879a290825871a253ac1bef53ebad8534d6f672f2cf95a17d300d7d
MD5 5717e5f10ac23918f8957624145e0d82
BLAKE2b-256 c22ec98b8d92dfbf13c2c5bbb3a2e3eeca283527fd6e5601b58865b6cd38b1d7

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 581b1d9c33ced92af0abd138dc7ca7b6a0b9735a8ea0a3b977637723ca540469
MD5 336b882ea2069b514dd7741d48255fc6
BLAKE2b-256 4c8f7695db66f4592020af45785711090b1024f2c8fedc691ed700e0c4e05b98

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 03ff7ca6f9cbe483819c92d4175658ec5422c3f9db10cccb20ff3cafb5739fe1
MD5 309585cc9559acf2d01a46888cee4c9d
BLAKE2b-256 da707af7ab905a53a27dc9226e30732625ac2487248fa52eb854730701de205f

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: aiotieba-3.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 256.5 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for aiotieba-3.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b7bca76f364606b2b8d3dcb72cd50680b07633f47b43871ff14ccf150e53f51b
MD5 e12f910a3a2b8b815c4ac2e392090307
BLAKE2b-256 350bd3c3f0cc3510ed933343a47540d54d69f55b422bbe863b5aa88c447ee87d

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f77f71cf7ac7f8a9c023bb3cd01808b1dc07eb09c94b4b1095386f6ab0ca3d2a
MD5 fe707239980e353ccb5edd59b9acd820
BLAKE2b-256 3030613463a1914349f33b9fdf69426fb7dce6b623ce67b3690e07c899971bfb

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 99f7de3cac346fde63165f7188ac0b4e9b9e215d18d4a3c7404217fd3471644a
MD5 0b8d619fe90d2151e9ba82b53ce58632
BLAKE2b-256 f4cbf08d3b767edcc021d41a2c77c38418f02c72302b68965d9fe3585f5596bb

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 35023ed69b858840497ca69b63c52e90b177ae54eee82063c2bf9fa42d5d94e8
MD5 d4acdc6ac28dbb290b0daa3fc455d214
BLAKE2b-256 b66effd66e82d377b95c50e39cb68297ed829f17f5223e0e8a156ff946fc5af8

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: aiotieba-3.2.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 256.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for aiotieba-3.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e24cb0f4d063e5a470aa8538298d9e53c3762eecea6ac940deecf3dddb0eecea
MD5 e095b6fc80b11994d35857fbb00e72ce
BLAKE2b-256 16ef47896a3ded26e63b10acf476bcf18d88a17176d0c988ab5d63747354250a

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d4c3dc5be180260ed013fa7d3716d094f36bf8b23b7b11b29d99057fa7860564
MD5 865d6da5f79dcffbd95da3dcda25b015
BLAKE2b-256 19cb5e4d724e54ecb2fe155b95620437525cb080dce54fa18c866f7c8773a7ab

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f1b036663ab1eca4ec442bfcfa00f99d627b39c17e9ca725519466fc15de83ac
MD5 4204db4b2e83dd2fd4076d662eca173b
BLAKE2b-256 23bc18de1d590529c37e43420124a80286ad2d98d24e8481a4089328e7a22100

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0c5a20e93381dd0b088892d5e8559fe96b4a6debcbdf2a5ef7f89a8a7db0ee1e
MD5 9c43337072dbdaa2790e2d895877c845
BLAKE2b-256 8a2705fed12d79b98c4d46496d9cff00680a597e4cdd1d22edb95c223d7cf799

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: aiotieba-3.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 256.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for aiotieba-3.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2b9b1335abad9e876d1f12c4cc01e6def5563688aa9d499be43dd02afdab3c06
MD5 1bc3c2ebf33632dc80649115a0002392
BLAKE2b-256 5af02f322d0e42d13630cbf4cf62f690ceb90ae5478eb90b5c7b4b135ab59351

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d94cb3b67eb378ca98ed1a29b31fac2eeca59f66157508aeacdcaa5ce46ff780
MD5 8148948a46573639c58c850d248c1151
BLAKE2b-256 be7e37771b63cda506d096e076400540a88c31429a358c3f2c8e4f67573e37d0

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eedd3ce0a3f0d59c4fd28c8fd236609a80c6571e51ebf672101c30a7d2b20a3d
MD5 91b5cf6872318373fc097a242c411b08
BLAKE2b-256 f979395242890c4f79d6e435c12744636eeaf1de24151736466c947b2c5008ea

See more details on using hashes here.

File details

Details for the file aiotieba-3.2.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for aiotieba-3.2.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 02f13428c183f114fa40088a0e86ad5caa2b424fa6563b2fb5db35f9beaeabc2
MD5 98c229a0c961bb0b6363f5b7587bef18
BLAKE2b-256 1cb2d6cd308c66b57ec6256343e14271d631e986026edcfdd4cead0b405bcfe1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page