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 会一并包含该文件。
Metadata
Release files for aria2-next 3.0.7
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-3.0.7-py3-none-win_arm64.whl | Python 3 | none | Windows ARM64 | Details |
| aria2_next-3.0.7-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| aria2_next-3.0.7-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details |
| aria2_next-3.0.7-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details |
| aria2_next-3.0.7-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| aria2_next-3.0.7-py3-none-macosx_10_13_x86_64.whl | Python 3 | none | macOS 10.13+ x86-64 | Details |
| aria2_next-3.0.7-py3-none-android_21_arm64_v8a.whl | Python 3 | none | Android API level 21+ ARM64 v8a | Details |
Total release size: 54.9 MB
Release files / aria2_next-3.0.7-py3-none-win_arm64.whl
| Download URL | aria2_next-3.0.7-py3-none-win_arm64.whl |
|---|---|
| Size | 7.1 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
8ad67b91e6cfab510e4a740b214a8f962e04a187d1c6141d698db5ff46363d9d
|
|
BLAKE2b-256 checksum How to use checksums |
c7d89defd620c8372455cbcf4e72a7f98831b2fdad9e73e901c0f2c28705df21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / aria2_next-3.0.7-py3-none-win_amd64.whl
| Download URL | aria2_next-3.0.7-py3-none-win_amd64.whl |
|---|---|
| Size | 7.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e8b4498822ba6b90aa7e072b4584d31ea9f0247fd30e505918a5baf0538de23d
|
|
BLAKE2b-256 checksum How to use checksums |
e919a4c201083b55be09cdd9008ac0c9708c77b39d98c8034f4a5aca83b1c640
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / aria2_next-3.0.7-py3-none-manylinux_2_28_x86_64.whl
| Download URL | aria2_next-3.0.7-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 |
80d25474e084328c21bbcc2d97bcb51e28020ff52cee114c92ed3268087e6c51
|
|
BLAKE2b-256 checksum How to use checksums |
b0b4e87b451bdf73aa080dd94141c7c2d0eeed7a8aeaa39a96ded3fbdd795e9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / aria2_next-3.0.7-py3-none-manylinux_2_28_aarch64.whl
| Download URL | aria2_next-3.0.7-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 |
0db7a8b09b770d72f23acfb41498f6884f46372283ae3ec1105e72cfea049448
|
|
BLAKE2b-256 checksum How to use checksums |
014b09fd7ecd42ef77efff88a1a24d0089a9c38355b44b22290ef536a6f7b569
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / aria2_next-3.0.7-py3-none-macosx_11_0_arm64.whl
| Download URL | aria2_next-3.0.7-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
30840b1a896bdde3af90ed6224952d43b3c07838107a157d2bf5039bb5edd6b4
|
|
BLAKE2b-256 checksum How to use checksums |
3341f9e498c68acc0b59f285612dcab6fc3a635bbab693535e0ab18a3241f253
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / aria2_next-3.0.7-py3-none-macosx_10_13_x86_64.whl
| Download URL | aria2_next-3.0.7-py3-none-macosx_10_13_x86_64.whl |
|---|---|
| Size | 7.6 MB |
| Tags | Python 3 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
2340666a72a938478b87f8304e6a78465ff4b33a84f8ca404d1a962918bac8a0
|
|
BLAKE2b-256 checksum How to use checksums |
a1313940c6c2fe124f12bae1f57afc50e2397f80b1797fd33d0a4e9042a7fffe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Release files / aria2_next-3.0.7-py3-none-android_21_arm64_v8a.whl
| Download URL | aria2_next-3.0.7-py3-none-android_21_arm64_v8a.whl |
|---|---|
| Size | 8.4 MB |
| Tags | Android API level 21+ ARM64 v8a Python 3 |
|
SHA-256 checksum How to use checksums |
2bbeb9f59172a23c67843a53fb2d42e960e097decb414e27339adc3478d45061
|
|
BLAKE2b-256 checksum How to use checksums |
1366b052cc2c1de6b0ed49ac0c459588d087352ae52128964c8ae3a7bd322de7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.17
|
Security for aria2-next 3.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.