Prebuilt aria2-next executable packaged as platform-specific Python wheels.
Project description
aria2-next-bin
aria2-next-bin 项目用来把 AnInsomniacy/aria2-next GitHub Releases 中已经构建好的
aria2-next 可执行文件打包成平台专用 Python wheel。发布到 Python 包索引时,包名为
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。
安装和运行
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 会一并包含该文件。
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
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 aria2_next-2.2.6-py3-none-win_arm64.whl.
File metadata
- Download URL: aria2_next-2.2.6-py3-none-win_arm64.whl
- Upload date:
- Size: 4.0 MB
- Tags: Python 3, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66eb37dde5b775c4538332d260618fdbd357dab434b7a816f1db27c69aa574fb
|
|
| MD5 |
36afeeac1d3b41b246e1e894382d5c65
|
|
| BLAKE2b-256 |
859e8f36c9c9691edd547896faae4c28464c7a9df19ba1485a707d30cdbfd3fb
|
File details
Details for the file aria2_next-2.2.6-py3-none-win_amd64.whl.
File metadata
- Download URL: aria2_next-2.2.6-py3-none-win_amd64.whl
- Upload date:
- Size: 5.4 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1595f8e5b94de261e2e4782f7c14137dc894fceda6cce2a56c6ea1d66bd4f21c
|
|
| MD5 |
188ff87a7cb0ec3a6913ec03f54e5d18
|
|
| BLAKE2b-256 |
62de69f2c6e0114d425fbb75d4efaeee94d63ef32e0659335f1c10d7c67bb2ae
|
File details
Details for the file aria2_next-2.2.6-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: aria2_next-2.2.6-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 5.5 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06fe894a511ca4be3a6770323597b01369e92c5b95300db317277de4ebac3d51
|
|
| MD5 |
faff227ea9fcdc3f0a43239284c88288
|
|
| BLAKE2b-256 |
484ea24142b0d824831be7c6edf6efed94ec581b8118b531479aa09e648fe095
|
File details
Details for the file aria2_next-2.2.6-py3-none-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: aria2_next-2.2.6-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 5.7 MB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
476ef5b675f102d7926bf64c2d814bbf854568097b3f739de158ab6fb643bf54
|
|
| MD5 |
22a594874dd3e2ec16cd7f89455e0551
|
|
| BLAKE2b-256 |
c39104d8e9d3aa3ef8199c3bc16cf04887bdd11e02caab901506786230e3ff4c
|
File details
Details for the file aria2_next-2.2.6-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: aria2_next-2.2.6-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.7 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2e84a1f72999fe9f0fde24ea6968079ea358a4455eb19951cd6612cb9315bd2
|
|
| MD5 |
35292326397adbedf58c04f01f43a305
|
|
| BLAKE2b-256 |
8aeda9a1029d3969048d0c4963e641404dfbf009e9020b69bbd7ff4641423f8d
|
File details
Details for the file aria2_next-2.2.6-py3-none-macosx_10_13_x86_64.whl.
File metadata
- Download URL: aria2_next-2.2.6-py3-none-macosx_10_13_x86_64.whl
- Upload date:
- Size: 4.6 MB
- Tags: Python 3, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8110bffaf52063171e8fbd11ecfbca23804292e835a00685e5aa41b72fce6f2c
|
|
| MD5 |
dc7634307ec10cff116c73663e695110
|
|
| BLAKE2b-256 |
ace4b5ebf6304550777db90f466f2f33471d04b26a18dc09168c3695aaf9c9dd
|