【文件属性】:
文件名称:BatTorrent:使用Python Asyncio编写的Bittorrent客户端
文件大小:151KB
文件格式:ZIP
更新时间:2021-05-14 13:00:05
python bittorrent asyncio Python
蝙蝠托伦特
使用Python的Asyncio编写的Bitttorent客户端。 此代码是针对学习而优化的,请勿将其交付生产。
作者的注释
详细的文章即将发布。 在上我以获取更新。
发展
的Python: 3.6.0
安装开发部门: pip install -r requirements.txt
运行测试: cd src && pytest
去做
较小的重构使代码更易于遵循,
将消息解析为对象
使用async for来遍历消息
压扁所有TODO
运行时显示进度
更多单元测试
设定CI
设置mypy静态类型的linter
【文件预览】:
BatTorrent-master
----.gitignore(47B)
----README.md(818B)
----src()
--------torrio.py(6KB)
--------file_saver.py(1KB)
--------tests()
--------run.log(26KB)
--------util.py(284B)
--------Zulip-1.3.0-beta-mac.zip(0B)
--------tracker.py(3KB)
--------peer.py(7KB)
--------torrent.py(1KB)
--------presentation-code()
--------show_torrent_file(267B)
--------__init__.py(0B)
--------data()
--------.python-version(7B)
----requirements.txt(322B)
----.python-version(7B)
----assets()
--------batman-homer-bart.jpg(112KB)