Skip to main content

aria2-next-bin

aria2-next-bin 用来把 AnInsomniacy/aria2-next GitHub Releases 中已经构建好的 aria2-next 可执行文件打包成平台专用 Python wheel。本项目不会从源码编译 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_bin-*.whl
aria2-next --version
python -m aria2_next --version

wheel 文件名仍来自发行包名 aria2-next-bin,安装后的 Python 包名是 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-bin 2.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for aria2-next-bin 2.2.6
File Actions
aria2_next_bin-2.2.6-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for aria2_next_bin-2.2.6-py3-none-win_arm64.whl
aria2_next_bin-2.2.6-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for aria2_next_bin-2.2.6-py3-none-win_amd64.whl
aria2_next_bin-2.2.6-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for aria2_next_bin-2.2.6-py3-none-manylinux_2_28_x86_64.whl
aria2_next_bin-2.2.6-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for aria2_next_bin-2.2.6-py3-none-manylinux_2_28_aarch64.whl
aria2_next_bin-2.2.6-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for aria2_next_bin-2.2.6-py3-none-macosx_11_0_arm64.whl
aria2_next_bin-2.2.6-py3-none-macosx_10_13_x86_64.whl Python 3 none macOS 10.13+ x86-64 Details for aria2_next_bin-2.2.6-py3-none-macosx_10_13_x86_64.whl

Total release size: 29.8 MB

Release files / aria2_next_bin-2.2.6-py3-none-win_arm64.whl

Download URL aria2_next_bin-2.2.6-py3-none-win_arm64.whl
Size 4.0 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
e1db967da2312f07e801350554f559a6f91f2819eaa4766c515f62a14b868f9a
BLAKE2b-256 checksum
How to use checksums
916309261bac3f1b0d99e177f96a1eb5a10c8150765c7b6468a1c9c00fa78a92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / aria2_next_bin-2.2.6-py3-none-win_amd64.whl

Download URL aria2_next_bin-2.2.6-py3-none-win_amd64.whl
Size 5.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
f631ca99803e4157ff70e2e2c7e4278ef5bf45b14409dbdb8170ee8d23e8abba
BLAKE2b-256 checksum
How to use checksums
47d07341a8068811c14d3ed74605087e42fcf41ef4412f11dfd04fed97aaa9dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / aria2_next_bin-2.2.6-py3-none-manylinux_2_28_x86_64.whl

Download URL aria2_next_bin-2.2.6-py3-none-manylinux_2_28_x86_64.whl
Size 5.5 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d925600d0cee9ac02e5a3333dd7ed0d936b4c4b738f50158e900ec500c5f177a
BLAKE2b-256 checksum
How to use checksums
6371654cd2d74b1998d94508553ce79728f3b674cde8e8d6ed003604facc894d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / aria2_next_bin-2.2.6-py3-none-manylinux_2_28_aarch64.whl

Download URL aria2_next_bin-2.2.6-py3-none-manylinux_2_28_aarch64.whl
Size 5.7 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
18c1b61d68bfc54badf8c3705db472c882874c09091c6d379025bd0d0618cb92
BLAKE2b-256 checksum
How to use checksums
f1434a5ac96dd20c12153198595fece202fc46b6384354cfcc84cfa230aced15
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / aria2_next_bin-2.2.6-py3-none-macosx_11_0_arm64.whl

Download URL aria2_next_bin-2.2.6-py3-none-macosx_11_0_arm64.whl
Size 4.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
757a07accc7e0e67c0d68b46e036fe0a01ba7d307a9b25894a9c4a86022d8d4a
BLAKE2b-256 checksum
How to use checksums
50e6f3c81c252a4c3e04ffe5a345a07945711974558765eeb43899ac25f63047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / aria2_next_bin-2.2.6-py3-none-macosx_10_13_x86_64.whl

Download URL aria2_next_bin-2.2.6-py3-none-macosx_10_13_x86_64.whl
Size 4.6 MB
Tags Python 3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
72be3b4726dfc928c534203f8332430ee313bccea3dd39c15fe631cd2588a761
BLAKE2b-256 checksum
How to use checksums
bf4cebd8da305a8c6274e82848100c01ad44737ed4d1b31458e3497f0384a2e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for aria2-next-bin 2.2.6

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.2.6 This release

6 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page