Skip to main content

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。本项目不会从源码编译 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_USERNAMETWINE_PASSWORD
  • 如果要上传到 TestPyPI 或私有仓库,可以填写 repository_url

许可证

打包进去的可执行文件来自 AnInsomniacy/aria2-next,按 GPL-2.0-or-later 分发。 如果所选 release tag 可以获取上游 COPYING 文件,构建出的 wheel 会一并包含该文件。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

aria2_next_bin-2.2.6-py3-none-win_arm64.whl (4.0 MB view details)

Uploaded Python 3Windows ARM64

aria2_next_bin-2.2.6-py3-none-win_amd64.whl (5.4 MB view details)

Uploaded Python 3Windows x86-64

aria2_next_bin-2.2.6-py3-none-manylinux_2_28_x86_64.whl (5.5 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

aria2_next_bin-2.2.6-py3-none-manylinux_2_28_aarch64.whl (5.7 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

aria2_next_bin-2.2.6-py3-none-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

aria2_next_bin-2.2.6-py3-none-macosx_10_13_x86_64.whl (4.6 MB view details)

Uploaded Python 3macOS 10.13+ x86-64

File details

Details for the file aria2_next_bin-2.2.6-py3-none-win_arm64.whl.

File metadata

File hashes

Hashes for aria2_next_bin-2.2.6-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 e1db967da2312f07e801350554f559a6f91f2819eaa4766c515f62a14b868f9a
MD5 480674679188d888ea0cfdab0cd63bd3
BLAKE2b-256 916309261bac3f1b0d99e177f96a1eb5a10c8150765c7b6468a1c9c00fa78a92

See more details on using hashes here.

File details

Details for the file aria2_next_bin-2.2.6-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for aria2_next_bin-2.2.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 f631ca99803e4157ff70e2e2c7e4278ef5bf45b14409dbdb8170ee8d23e8abba
MD5 b07e92c4072dbed55b91aace53b71672
BLAKE2b-256 47d07341a8068811c14d3ed74605087e42fcf41ef4412f11dfd04fed97aaa9dd

See more details on using hashes here.

File details

Details for the file aria2_next_bin-2.2.6-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aria2_next_bin-2.2.6-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d925600d0cee9ac02e5a3333dd7ed0d936b4c4b738f50158e900ec500c5f177a
MD5 e29bf2603097e441645230ff85b5d152
BLAKE2b-256 6371654cd2d74b1998d94508553ce79728f3b674cde8e8d6ed003604facc894d

See more details on using hashes here.

File details

Details for the file aria2_next_bin-2.2.6-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aria2_next_bin-2.2.6-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 18c1b61d68bfc54badf8c3705db472c882874c09091c6d379025bd0d0618cb92
MD5 4d4e89ff31b4d23562ccc5b0eb10d505
BLAKE2b-256 f1434a5ac96dd20c12153198595fece202fc46b6384354cfcc84cfa230aced15

See more details on using hashes here.

File details

Details for the file aria2_next_bin-2.2.6-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aria2_next_bin-2.2.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 757a07accc7e0e67c0d68b46e036fe0a01ba7d307a9b25894a9c4a86022d8d4a
MD5 351b3d5c7f7d46dc53672cb731fb7ad5
BLAKE2b-256 50e6f3c81c252a4c3e04ffe5a345a07945711974558765eeb43899ac25f63047

See more details on using hashes here.

File details

Details for the file aria2_next_bin-2.2.6-py3-none-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for aria2_next_bin-2.2.6-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 72be3b4726dfc928c534203f8332430ee313bccea3dd39c15fe631cd2588a761
MD5 be72e1da5a002aa06befd09ba254412c
BLAKE2b-256 bf4cebd8da305a8c6274e82848100c01ad44737ed4d1b31458e3497f0384a2e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page