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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file aiotieba-3.2.2-pp39-pypy39_pp73-win_amd64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-pp39-pypy39_pp73-win_amd64.whl
- Upload date:
- Size: 253.9 kB
- Tags: PyPy, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdb9ae6efd26b386fac1097ed9b1a528e742bbf7a1c28fe17bf8823353e33616 |
|
MD5 | 15c8e3e6b533d9a7745d657ab8902aff |
|
BLAKE2b-256 | dd0bc1704d56c0309e2c6732a148457d97438af42d052d12635e92de6ab1e829 |
File details
Details for the file aiotieba-3.2.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 281.4 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1cb664b73bfb8d4ab0e04187d6bf9c87ca2c6299722d24845a418738259a88e |
|
MD5 | 089abe67608fb7bed5800f36bf2fc15a |
|
BLAKE2b-256 | 85c6426101a4e53016f102b3bf6bb6aff2339892952ca38e55183f629c77922b |
File details
Details for the file aiotieba-3.2.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl
- Upload date:
- Size: 266.7 kB
- Tags: PyPy, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33f0524d238ff56efc105191a87c3a096156d3be30ad963eeb77caa4ac1b65dd |
|
MD5 | 18c0b8eda03fe5f09ac7547295e30209 |
|
BLAKE2b-256 | 09f94deaf9afa9a7f55d04c881a23d4ab92f4582d10b72a02b488fbfd5110aba |
File details
Details for the file aiotieba-3.2.2-pp38-pypy38_pp73-win_amd64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-pp38-pypy38_pp73-win_amd64.whl
- Upload date:
- Size: 253.9 kB
- Tags: PyPy, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4480979071f422e8bd13e208b7b6ac851243de333117b44ec62cae5524f2586 |
|
MD5 | 4ccfe9deef8dfb90f2d653b290abb796 |
|
BLAKE2b-256 | 659c8a5360ab9894f7c430edeb0f9f3882a1f0ca99adeac70a47814b7351a166 |
File details
Details for the file aiotieba-3.2.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 281.4 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63bbb579df1cfe33116989f58b143dcaade73df1631b16cd60e41eef17809953 |
|
MD5 | 800b714b93e1521373bdf11ac7e6e59c |
|
BLAKE2b-256 | 0415f771b0d4b291536b3bd1699c8104ff43d33b90e0808410b5fc75df5e6f9c |
File details
Details for the file aiotieba-3.2.2-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
- Upload date:
- Size: 266.7 kB
- Tags: PyPy, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd3b8c56f5634cb269e4e526567b4f394865e0cfa44dfcf2eb27758eeb6b9aa1 |
|
MD5 | b476edcad43501f0b69a91efbe0169d0 |
|
BLAKE2b-256 | 1e0a1ddc63c68acde3400c6f0a5d266b6d4b4574202ea6e99c101bb3929cda53 |
File details
Details for the file aiotieba-3.2.2-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 253.9 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef863685e738cfbd5dff371d48837b38eddef863f1efd0f599fa99ade5ca7795 |
|
MD5 | 3a468ffa1e7a381163c6b0e539bb2054 |
|
BLAKE2b-256 | a42a691dd5865f7e7697ea30df174f2f2bec82844945fa0c144914fe21f1f1bf |
File details
Details for the file aiotieba-3.2.2-cp311-cp311-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp311-cp311-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 517.3 kB
- Tags: CPython 3.11, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | deda120f1326240f21909b12299d542c6dcb8aa502957459592c32ebbd8f25eb |
|
MD5 | de3b851be37ae94ca6534faa67085a12 |
|
BLAKE2b-256 | bee152e2a6cdaaec02eeb7e9c7c59fbdd6f6ff780caf88dff4af12deb32439aa |
File details
Details for the file aiotieba-3.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 489.8 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9096231245596386f9ae38d0ac37ed80b703999608361d03b5ba0ba0736ba402 |
|
MD5 | cd946493453e7cae7b9daa806420906e |
|
BLAKE2b-256 | b669a4ba4f92fb268b7c2a073650db5b6d5261c2cfce73504c77799521479356 |
File details
Details for the file aiotieba-3.2.2-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 269.6 kB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 855a1d0455c774f19f9e3261c58f30350dc4de28b6772e5453f0ce8ccc716bf3 |
|
MD5 | 48d0b341742c5a2fec3fdb950bf654b8 |
|
BLAKE2b-256 | 4a9e4ce946ce18d491c8733c5e51a5581a085612a8a64330f48527d41fc0b629 |
File details
Details for the file aiotieba-3.2.2-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 253.9 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc973387cc880665b5a4cf2e18fb5554c49bde65cc324ba5ba72bd692d968813 |
|
MD5 | ec8afbaed338fbe14eec901ee9e723c1 |
|
BLAKE2b-256 | 7cf8d39af0d4fb6b6c1d60d2524045c47beb08689e18f1ef10fd4f881c5759cd |
File details
Details for the file aiotieba-3.2.2-cp310-cp310-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp310-cp310-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 515.3 kB
- Tags: CPython 3.10, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6518ca98a78490e1b9a14a041c49bd0bc227af8f08c2abf7855a9ee2ccdefe2f |
|
MD5 | 215f7cfb20fe2b50b8fb0410a47c3034 |
|
BLAKE2b-256 | 6c52917f328dbba1557e1898a2d5458a1fcbaba9094fcd2c5780e1b5072b76dc |
File details
Details for the file aiotieba-3.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 489.1 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eff3bfe909f13e5047ee9d514158a577bfe81daf3a3bdc049fe810d7255b1b0 |
|
MD5 | e60cce986fb09ee7b423b0955c46b244 |
|
BLAKE2b-256 | 7923262d3591eda67bcc3a133b6533e56ba0e9ce0422049e4fb79de38d6b9c58 |
File details
Details for the file aiotieba-3.2.2-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 269.5 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7e62e3c8156739d2330d437fdfe067c3bc6c63534a6a8aeee0cb29de7cb090b |
|
MD5 | 490674005370ace32b5663e28b77695d |
|
BLAKE2b-256 | 31a7f12283d932fd4232a444e4a365b5667901d78bbb0f90c93750f09ea459ba |
File details
Details for the file aiotieba-3.2.2-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 253.9 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c6053924a1cf1517087e73a6dcfdd4f2c408a9d1d022730e399ba2948eff5e5 |
|
MD5 | 96ffff287be0743ba4806ef95025a6a5 |
|
BLAKE2b-256 | c615d14d9201024ab4f1fad542f4f1f40a17229e3eb4074ea95a0dcddef11158 |
File details
Details for the file aiotieba-3.2.2-cp39-cp39-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp39-cp39-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 515.0 kB
- Tags: CPython 3.9, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a829b2411afa290d56d86884af7382e38b98027eae7dd731e1fcd7ae4946ba62 |
|
MD5 | f85f38afd4b04bb532b2d434717809a9 |
|
BLAKE2b-256 | 11003561afe0fb5ed35d0c0d6b25bc6d81ff5b56b11ad09f27db5cc68521f114 |
File details
Details for the file aiotieba-3.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 488.9 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f1b26c75bba8a22d36118ef2cd41559fe91c8242e7242231872601192f5dd3b |
|
MD5 | bdbce5f2c1b101e4a6b51582206b8567 |
|
BLAKE2b-256 | 8b688902bbfcffb4cc65f5a7f293bbc3199da3cd026c7cba43e05cade8ec8d75 |
File details
Details for the file aiotieba-3.2.2-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 269.5 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f20e4509b88d199c533b00430d0e8946e600e51e3523cd38cfe24dd368a00511 |
|
MD5 | a3f4f8373a49e9f28e25b9baf652342d |
|
BLAKE2b-256 | 9d8b80bf52bb0ace8b5a48663dc1e4446475d7e853c1646ff646bb5363917ff5 |
File details
Details for the file aiotieba-3.2.2-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 253.9 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e82ad7e7c50b0fabf0a59e8f34990a551b94739be0bb7f3a2084f813fc43913 |
|
MD5 | 75b5bb8b76a8f10f895ca281490f0925 |
|
BLAKE2b-256 | 91747c77312b61fd10c0fe1255146d9b26ddce5461f8dd94f5b34481de738908 |
File details
Details for the file aiotieba-3.2.2-cp38-cp38-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp38-cp38-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 515.1 kB
- Tags: CPython 3.8, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bd547dfca3c93a78a02fcbbf0481a54257920be06fbdf987ee9debb69e71568 |
|
MD5 | 1d3372a89e2f7521838ff9335c1044a7 |
|
BLAKE2b-256 | 0f192607c683aaebc96bff8056b080e6943b3e945b4d48c1b3c81d1cb4350276 |
File details
Details for the file aiotieba-3.2.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 489.5 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cce6d3707d65c21408f00790f3b6a2da3603f4632716b0eb352ad85bef7fbf08 |
|
MD5 | 5ddfccdbfab8f2400af559845c783611 |
|
BLAKE2b-256 | 3d1dd7a46e156aa4072ee2763b320ef22dd9dd4276f1181f12d7d275b9427d5b |
File details
Details for the file aiotieba-3.2.2-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: aiotieba-3.2.2-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 269.5 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cc7099e833e3d00ceb6e91aca9e1d98d2dc56d948a042316a9aef5aef6cb9d7 |
|
MD5 | 6dec3bf8f4fec18b23d4d7400cf708e0 |
|
BLAKE2b-256 | 9e2d14d6760c5dc777c6fe7c3d645403a2fcd7452db1ae11dcfac61adab49c1f |