Skip to main content

Prebuilt aria2-next executable packaged as platform-specific Python wheels.

Project description

aria2-next-bin

Build wheels Build wheels

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_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-2.3.0-py3-none-win_arm64.whl (4.1 MB view details)

Uploaded Python 3Windows ARM64

aria2_next-2.3.0-py3-none-win_amd64.whl (5.5 MB view details)

Uploaded Python 3Windows x86-64

aria2_next-2.3.0-py3-none-manylinux_2_28_x86_64.whl (5.6 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

aria2_next-2.3.0-py3-none-manylinux_2_28_aarch64.whl (5.7 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

aria2_next-2.3.0-py3-none-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

aria2_next-2.3.0-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-2.3.0-py3-none-win_arm64.whl.

File metadata

  • Download URL: aria2_next-2.3.0-py3-none-win_arm64.whl
  • Upload date:
  • Size: 4.1 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for aria2_next-2.3.0-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 bfa45318b70cdf0e30067bcd96927fe0265d884ef36217c309d2edfa7690f7cc
MD5 71311478df5da83a90e08949fabc0046
BLAKE2b-256 7cd0b700112f5e6679b60f13f292d1481e8d2f55124dc7afddd9871d0ada0e2b

See more details on using hashes here.

File details

Details for the file aria2_next-2.3.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: aria2_next-2.3.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 5.5 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for aria2_next-2.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 13ef8ae3899585fc5c17a18d09fcb229b51b29f44a1ccac8ccf983bea387e392
MD5 8da548dd0148fc826739458e25accf24
BLAKE2b-256 2116c24bc56cb4a0f0fee9a6a8bf131017a579e0b72bddbfec7241e3475ebe9a

See more details on using hashes here.

File details

Details for the file aria2_next-2.3.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aria2_next-2.3.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c5c6df96cee9efab4073c750ddd388f3bc5fb7328685fc89976c86a926dc0533
MD5 108cf368ca0df667a2cabdf546ea33f9
BLAKE2b-256 05bf30ad898c1a5f22199aa1aefd5d5ef5ee915c58f7fe0aa19abaa5e37c4407

See more details on using hashes here.

File details

Details for the file aria2_next-2.3.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for aria2_next-2.3.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3f090af47dbdc47a6541f9cea82b364ebb5af75e275e6def02569ea171147453
MD5 82a33fc192aa2f824962a186c7977244
BLAKE2b-256 7c7593cd9d347d11ed16633f72c8ed78925ef5219e1ac66901ed6ab8677eb554

See more details on using hashes here.

File details

Details for the file aria2_next-2.3.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for aria2_next-2.3.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c13bc1a618775af9c17ceab9b7e7267fd8a30ecf756f3b9f12b1f4cb5b5673ee
MD5 4f095d445c442a8d99a5a189c4027a15
BLAKE2b-256 d0e77dfe42e30f47f0bc58cf3e3b79b65f4417a2ca56ff5a5d94c40611d6b6f4

See more details on using hashes here.

File details

Details for the file aria2_next-2.3.0-py3-none-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for aria2_next-2.3.0-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 fd4a828dc88f691b132032e2de7f09c483823b3a9d3eb0762e61b8b5fe9421ea
MD5 2e5e854d3bc21b801070436c6bfa4a4d
BLAKE2b-256 84deedeb85be8ef4d5eb79ba50a6aa0f3edd05953c50f91172f4ee1597965a8e

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