Riot manifest parsing, concurrent downloader, and manifest/WAD diff toolkit.
Project description
RiotManifest
riot 提供的 manifest 文件解析与下载工具。
安装
pip3 install riotmanifest
快速使用
下载(异步并发,推荐)
import asyncio
from riotmanifest import PatcherManifest
async def main() -> None:
manifest = PatcherManifest(
"https://lol.secure.dyn.riotcdn.net/channels/public/releases/CB3A1B2A17ED9AAB.manifest",
path="./out",
bundle_url="https://lol.dyn.riotcdn.net/channels/public/bundles/",
)
files = list(manifest.filter_files(flag="zh_CN", pattern="wad.client"))
await manifest.download_files_concurrently(files)
if __name__ == "__main__":
asyncio.run(main())
默认并发为 16。可通过 PatcherManifest(..., concurrency_limit=...) 或 download_files_concurrently(..., concurrency_limit=...) 调整。
完整 API 文档
完整用法(进度回调、WAD 提取、Manifest/WAD diff、性能基线)请见:
维护者
Virace
感谢
-
@CommunityDragon, CDTB
-
JetBrains 提供开发环境支持
许可证
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file riotmanifest-2.1.0.tar.gz.
File metadata
- Download URL: riotmanifest-2.1.0.tar.gz
- Upload date:
- Size: 48.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26bfcf454fd4f67f86caba1b1c3c6a7e00882f1a8b603def1ae3d5f18ab85455
|
|
| MD5 |
6dc12da523fc7a17f97e0c3cde671e70
|
|
| BLAKE2b-256 |
a87663dfe23f9c7ca3e8f55ebd409359a5f6fa66af761d40c03b2fc198130649
|
Provenance
The following attestation bundles were made for riotmanifest-2.1.0.tar.gz:
Publisher:
python-publish.yml on Virace/RiotManifest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
riotmanifest-2.1.0.tar.gz -
Subject digest:
26bfcf454fd4f67f86caba1b1c3c6a7e00882f1a8b603def1ae3d5f18ab85455 - Sigstore transparency entry: 1018246619
- Sigstore integration time:
-
Permalink:
Virace/RiotManifest@f220aef477e636a576f152c631352c6a93b35405 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/Virace
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f220aef477e636a576f152c631352c6a93b35405 -
Trigger Event:
release
-
Statement type:
File details
Details for the file riotmanifest-2.1.0-py3-none-any.whl.
File metadata
- Download URL: riotmanifest-2.1.0-py3-none-any.whl
- Upload date:
- Size: 56.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16cbf301e9fc62a95c38e5c70bc31be090755be97acce22f416a3be2efae616b
|
|
| MD5 |
23738a3340e0cef40b139551191b34d7
|
|
| BLAKE2b-256 |
c7b55832620db011926f016cba265116b4ccf590ea6f2ed4021add4faded6f6a
|
Provenance
The following attestation bundles were made for riotmanifest-2.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on Virace/RiotManifest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
riotmanifest-2.1.0-py3-none-any.whl -
Subject digest:
16cbf301e9fc62a95c38e5c70bc31be090755be97acce22f416a3be2efae616b - Sigstore transparency entry: 1018246632
- Sigstore integration time:
-
Permalink:
Virace/RiotManifest@f220aef477e636a576f152c631352c6a93b35405 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/Virace
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f220aef477e636a576f152c631352c6a93b35405 -
Trigger Event:
release
-
Statement type: