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.1-pp39-pypy39_pp73-win_amd64.whl (257.4 kB view details)

Uploaded PyPy Windows x86-64

aiotieba-3.2.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285.0 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

aiotieba-3.2.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (270.3 kB view details)

Uploaded PyPy macOS 10.9+ x86-64

aiotieba-3.2.1-pp38-pypy38_pp73-win_amd64.whl (257.4 kB view details)

Uploaded PyPy Windows x86-64

aiotieba-3.2.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285.0 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

aiotieba-3.2.1-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (270.3 kB view details)

Uploaded PyPy macOS 10.9+ x86-64

aiotieba-3.2.1-cp311-cp311-win_amd64.whl (257.3 kB view details)

Uploaded CPython 3.11 Windows x86-64

aiotieba-3.2.1-cp311-cp311-musllinux_1_1_x86_64.whl (520.7 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

aiotieba-3.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (493.3 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

aiotieba-3.2.1-cp311-cp311-macosx_10_9_x86_64.whl (273.2 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

aiotieba-3.2.1-cp310-cp310-win_amd64.whl (257.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

aiotieba-3.2.1-cp310-cp310-musllinux_1_1_x86_64.whl (518.6 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

aiotieba-3.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (492.5 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

aiotieba-3.2.1-cp310-cp310-macosx_10_9_x86_64.whl (273.1 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

aiotieba-3.2.1-cp39-cp39-win_amd64.whl (257.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

aiotieba-3.2.1-cp39-cp39-musllinux_1_1_x86_64.whl (518.3 kB view details)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

aiotieba-3.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (492.3 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

aiotieba-3.2.1-cp39-cp39-macosx_10_9_x86_64.whl (273.1 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

aiotieba-3.2.1-cp38-cp38-win_amd64.whl (257.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

aiotieba-3.2.1-cp38-cp38-musllinux_1_1_x86_64.whl (518.4 kB view details)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

aiotieba-3.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (492.9 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

aiotieba-3.2.1-cp38-cp38-macosx_10_9_x86_64.whl (273.1 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 b1e7e74aa87ebddd56a7c0604ab1e5715d7785266da80a0e327f6da63fc8687a
MD5 d6ee2a22ea8423cbd73dedde334eb2ce
BLAKE2b-256 1612aa9d9eb8e879c23a8462c1ad01c800d6798bf636327795eff5578c6e1e62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f13ad716d39f86f28095ac015321f41c928b5e95a39562b914949597be7f31b
MD5 5d2c5e0c04b0cc986feae4f1fd6755b2
BLAKE2b-256 25ce65f3aab6fcd0cc1e479b903ca047b0e11fbeab13ecc7ca68f00b5a8aa5ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 32e2f5c4bc677b49eab59b131cb0534c9dfee4a992a63fd9eed95a02bd73ee61
MD5 241275366b6fa996d0a2f4fcd42f5027
BLAKE2b-256 3aa090d254b60a6d527117a5a9a0ba3628bf691188a698cdf94653c8a70cc001

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 3287db18a67bcf555dda16a5865eab9bddd1a6ba755b8a94df9e8cff522d0f02
MD5 a61bc441c176ab8b048324ddc9416a9d
BLAKE2b-256 c6837b1274393b41d2484d2e90c5bed1087c61835f41b06199a9bfc94f965319

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0db6281a7cf76eac198adabf3942429c18325fc0e11ca82f65a740a66f08dc81
MD5 5d1149750a38186ec6273f771f58f397
BLAKE2b-256 7263207370ce939fed8951be755589c2bcc8d815f49941fd6e8a179b6e23c97f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dff64719bd1a3861150665c08a3f773734a2ee728f15605631ef2655f63a6c51
MD5 bd48bece8038edb2874bbfef77f827aa
BLAKE2b-256 ae3f7f3eb01dd256ba611cd065de26eb600a3be8c2b09b77f9ec11c8ae833a15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiotieba-3.2.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 257.3 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.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 119fc9fe558f9fc570401cdf93b2b95fc585f73987e04b457d9a463d7ffe9d8d
MD5 7ce5f8fec01da5df0ceeef82dd221f3f
BLAKE2b-256 1146c18e06ef4d157d2620e5001a38542acc4d539635e83da60a1ef3c1c11fd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 4f0e88a0fdcfddba7caf1b565d27d84c2b0269bbbbed44243cc7c83a2d8575bd
MD5 e9f1e723f3fb3c445680cb6ee2174011
BLAKE2b-256 ae0cc4f1f9cd6f90d3e277e48138356184a83faf7f6666d80f6a29e3f1d4ce6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6a958eb6d4bfa14b10e16698a20890b3e1ff5f52507739e814ebbc98a3f20aba
MD5 c113ec06257e668edf11c446f1ef24f7
BLAKE2b-256 09cac805dc249de38c2f1ad8d1c45210537e4cc82848b073d4c482cb3e5a1563

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 65d2ce54e4a7d119d1086206cb49b060a395f9c69bdb9c5ddf6b1e9ef7ebe5bc
MD5 4ce6cdbb8c82b2783c2ee50a9bcc2243
BLAKE2b-256 5ebd33f52f2832137d98ac8a3361a4975c0a98025e9131c05037f18a84256667

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiotieba-3.2.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 257.3 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.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2709826237a1b0f537292202d548e27c68de2d9b0db4c62424c82f13fec0d55c
MD5 73a1175138f9762c8af33f7a64b12d00
BLAKE2b-256 ece169c744954e96b95c92e03359b974b48593b61380f47541805ac937595fdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ee0d0531410cf7b8e7ba1fe440b810a21e38a160e438f1381918cb43f219b711
MD5 dde61f362147421c3fc5d3b0ee6a4ed1
BLAKE2b-256 6e0d1e76ef5398d9bc3384b2515fe35e9ba60397502f71f7c6c41aac39e7a439

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ef20f332fb51df1658e5b9fa3721fddb401199f00e2ece98fb7abf1b382d96d6
MD5 52646eec9e720bd6795e1ef47b77dd56
BLAKE2b-256 15bfbd97e096281b325c0ba83f5cfbc24b661c954cf56757baaa99383673630a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cbcb4e40c1e42249823a26610647d62e2c37d7af1f5d7c39f413291505228b15
MD5 00aef0f2060b966d9d9586902d296c0e
BLAKE2b-256 9868706e2c6c8c05670c432d272c7b3e356cbbe6befcbe5fa93b75cdb290fb67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiotieba-3.2.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 257.3 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.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 ab66cfa067b0df714509e2aefd774dfb26c71906871083d14ff834f1d081740c
MD5 7f821460c91b53b9cbd200ea5e285ad1
BLAKE2b-256 e389ecf1da973e244ee3e6ada0da4e8cf80bb3b025dc90f483671c1398dab67c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 59fce26c992ea55cacfad8803d167323263069bff7ab2daf4907d93c8ba43130
MD5 6bb47b8908b7d1b14d805e2d5380b58f
BLAKE2b-256 711df667b802ad0945e23f13b13d90c207f2c3d5d34068e2aaa7e5dff055803f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e719f280762f55a0455114305db2fce070d61fcaadfe65958c085f2df4c4f683
MD5 a493bda0597774d3dce1b385b1c85e3d
BLAKE2b-256 42fe8e8bae0e814339d87ed46a086ab3304400ea3ac2993d55ef9df199cee69d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bf305753f3e4596a406d2fdb12b45baa5df2206f0f144ce80f9f7de135a64d86
MD5 b12b8fb48336818159d6af411f98b731
BLAKE2b-256 21da21fe96870266123d3ba7fc4c7f65e46c8aa35f73e7336c6eb3fee3f3e161

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiotieba-3.2.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 257.3 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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b08ee9d0e7edfeb903fa4f316dc7fa0c7a7d423172e1b966cd115c0d39e25927
MD5 2536a3322d28c9db4f80164cc98acdd8
BLAKE2b-256 c8b0fe548d7a0760a522afe3f181468bd72cad20dda0ee1749286978aedc72a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 83399f7b9a4eeebe3a2c93c3466168fdde56e1043f756652169b0082c67b9f34
MD5 99cf1d38fbb5df63844750dcafb09727
BLAKE2b-256 37566339a961277b6c50e7fafed229edb3d3b95dd844a3eab3c099cf9c5b085c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15c1f48a07a034f9a51afe962ad09525892492686692290ab6b59917fba95760
MD5 46e70310de75b299b511b2f4d1299d9f
BLAKE2b-256 6e65a5d9d51342c53437adb49b808e2ec60d23b9376ee5138c9fd4d0bac3d6d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aiotieba-3.2.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e28638e1409c15615e5278babe851fbef8c01bb96e110899f094095d01a33261
MD5 bd53e2bfa7d2ff33fcc04820a2adccf5
BLAKE2b-256 e8cec4f77c2918ccac90798dd9fdc1f3b2777a5d866bd0e6faba4be59fcd2353

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