aria2-next-bin
aria2-next-bin 项目用来把
AnInsomniacy/aria2-next GitHub Releases
中已经构建好的 aria2-next 可执行文件打包成平台专用 Python wheel。本项目已经发布到
PyPI,包名为 aria2-next,安装命令为:
pip install aria2-next
本项目不会从源码编译 aria2-next。
构建
从最新 release 为当前平台构建 wheel:
python3 scripts/build_wheel.py
从最新 release 构建指定目标平台:
python3 scripts/build_wheel.py --target linux-x86_64
python3 scripts/build_wheel.py --target macos-arm64
python3 scripts/build_wheel.py --target windows-x86_64
构建所有支持的目标平台:
python3 scripts/build_wheel.py --target all
从指定 release tag 构建:
python3 scripts/build_wheel.py --release v2.2.6 --target linux-x86_64
也可以通过环境变量指定相同配置:
ARIA2_NEXT_RELEASE=v2.2.6 ARIA2_NEXT_TARGET=linux-x86_64 python3 scripts/build_wheel.py
支持平台
| 目标 | Release asset | Wheel 平台标签 |
|---|---|---|
linux-x86_64 |
linux-x86_64 |
manylinux_2_28_x86_64 |
linux-aarch64 |
linux-aarch64 |
manylinux_2_28_aarch64 |
macos-x86_64 |
macos-x86_64 |
macosx_10_13_x86_64 |
macos-arm64 |
macos-arm64 |
macosx_11_0_arm64 |
windows-x86_64 |
windows-x86_64.exe |
win_amd64 |
windows-arm64 |
windows-arm64.exe |
win_arm64 |
wheel 版本号来自 GitHub release tag。例如 release v2.2.6 会生成版本号为
2.2.6 的 wheel。
安装和运行
从 PyPI 安装:
pip install aria2-next
从本地 wheel 安装:
python3 -m venv .venv
. .venv/bin/activate
pip install dist/aria2_next-*.whl
aria2-next --version
python -m aria2_next --version
wheel 文件名来自发行包名 aria2-next,安装后的 Python import 包名是 aria2_next。
wheel 会像 uv 一样把真实的 aria2-next 二进制文件安装到当前 Python 环境的脚本目录
(例如虚拟环境的 bin/aria2-next)。python -m aria2_next 会按 uv 的
_find_uv.py 思路定位该二进制文件并执行它。
校验
release 下载文件会使用 SHA-256 校验。构建脚本会优先使用 GitHub asset 的 digest
字段;如果该字段不可用,则下载并解析 release 中的 checksums.sha256 文件。
GitHub Actions 发布
build-wheels workflow 会在 push、PR 和手动触发时构建所有平台 wheel,并上传
aria2-next-bin-wheels artifact。手动触发时可以填写 release 来指定要打包的
aria2-next release。
默认不会上传到 PyPI。需要发布新版本时,在 GitHub Actions 手动运行 workflow,并把
publish 设置为 true。发布使用 twine upload dist/*.whl,凭据从 Secrets 读取:
- 推荐设置
PYPI_API_TOKEN,workflow 会使用__token__作为 Twine 用户名。 - 也可以设置标准的
TWINE_USERNAME和TWINE_PASSWORD。 - 如果要上传到 TestPyPI 或私有仓库,可以填写
repository_url。
许可证
打包进去的可执行文件来自
AnInsomniacy/aria2-next,按
GPL-2.0-or-later 分发。
如果所选 release tag 可以获取上游 COPYING 文件,构建出的 wheel 会一并包含该文件。
Release files for aria2-next 2.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| aria2_next-2.8.0-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details |
| aria2_next-2.8.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| aria2_next-2.8.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details |
| aria2_next-2.8.0-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details |
| aria2_next-2.8.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| aria2_next-2.8.0-py3-none-macosx_10_13_x86_64.whl | Python 3 | none | macOS 10.13+ x86-64 | Details |
| aria2_next-2.8.0-py3-none-android_21_arm64_v8a.whl | Python 3 | none | Android API level 21+ ARM64 v8a | Details |
Total release size: 54.3 MB
Release files / aria2_next-2.8.0-py3-none-win_arm64.whl
| Download URL | aria2_next-2.8.0-py3-none-win_arm64.whl |
|---|---|
| Size | 7.0 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
233eafbbd61d960239be4af20e7ed9c9f4f960bc902ee930e5fc36a3f81d6ff7
|
|
BLAKE2b-256 checksum How to use checksums |
865ce8fe25786f45220a407161cda6d87351d1e483a62fe90cae45890a615a28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / aria2_next-2.8.0-py3-none-win_amd64.whl
| Download URL | aria2_next-2.8.0-py3-none-win_amd64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
98a97953b4f9b0535ae7ecc934129e5609b9d6f0059fa13a20572e0c7f7cd5dc
|
|
BLAKE2b-256 checksum How to use checksums |
40a4ae092a0fa905fec0e7ef3024a6b62647993b4ad8a06448f3614135aab40f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / aria2_next-2.8.0-py3-none-manylinux_2_28_x86_64.whl
| Download URL | aria2_next-2.8.0-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 8.1 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
d3ca510354e1c6d1551a98bea2535548057d86958f5347080f350bd263d6087e
|
|
BLAKE2b-256 checksum How to use checksums |
4105d0fff976b8c93ed842e404c681af2583e6eca9cb6c614a5b24210de5dc6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / aria2_next-2.8.0-py3-none-manylinux_2_28_aarch64.whl
| Download URL | aria2_next-2.8.0-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
87ee3afa508b986515827d6b4eb1ccb369c246097d85c94ce76f06033b3157a0
|
|
BLAKE2b-256 checksum How to use checksums |
6126804f7ccc178795b1d0f8b30f8eb77746d83f0cd1da8779510c1a9d4f57a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / aria2_next-2.8.0-py3-none-macosx_11_0_arm64.whl
| Download URL | aria2_next-2.8.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 7.5 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4d93502827acac67263d6490fa279e2601944122795c2a961e0070d900012413
|
|
BLAKE2b-256 checksum How to use checksums |
aaed7d101188c8877f33f3bc72f81420a86d63f67ca3057e2dd4d2201dd7b02e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / aria2_next-2.8.0-py3-none-macosx_10_13_x86_64.whl
| Download URL | aria2_next-2.8.0-py3-none-macosx_10_13_x86_64.whl |
|---|---|
| Size | 7.5 MB |
| Tags | Python 3 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
25c09aa52111c0d689abb3a0116e2d4e1cca36b22a5ae514e26c1dd160b00774
|
|
BLAKE2b-256 checksum How to use checksums |
59d486b85177514724a8d32b2fcf744977bf0cd83cae79fcef9118f6e83392eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / aria2_next-2.8.0-py3-none-android_21_arm64_v8a.whl
| Download URL | aria2_next-2.8.0-py3-none-android_21_arm64_v8a.whl |
|---|---|
| Size | 8.1 MB |
| Tags | Android API level 21+ ARM64 v8a Python 3 |
|
SHA-256 checksum How to use checksums |
c6d595e54af64415231fb946449179c1c0bdb13f39e0b7458060847b1ef7e430
|
|
BLAKE2b-256 checksum How to use checksums |
df2823957ca8757a3ffbd826c86e9817be020dc3cd6de9dfd9bea0ab00d16e50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|