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.4.9-py3-none-win_arm64.whl (1.7 MB view details)

Uploaded Python 3Windows ARM64

aria2_next-2.4.9-py3-none-win_amd64.whl (1.9 MB view details)

Uploaded Python 3Windows x86-64

aria2_next-2.4.9-py3-none-manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

aria2_next-2.4.9-py3-none-manylinux_2_28_aarch64.whl (1.7 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

aria2_next-2.4.9-py3-none-macosx_11_0_arm64.whl (3.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

aria2_next-2.4.9-py3-none-macosx_10_13_x86_64.whl (3.5 MB view details)

Uploaded Python 3macOS 10.13+ x86-64

aria2_next-2.4.9-py3-none-android_21_arm64_v8a.whl (3.5 MB view details)

Uploaded Android API level 21+ ARM64 v8aPython 3

File details

Details for the file aria2_next-2.4.9-py3-none-win_arm64.whl.

File metadata

  • Download URL: aria2_next-2.4.9-py3-none-win_arm64.whl
  • Upload date:
  • Size: 1.7 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.4.9-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 d6092152e72949cf5bdb551aeff28c7be1dd980c177009a766e47c48f9221ccd
MD5 4f9401dd3a7b8ceb2240b8e82fc8900b
BLAKE2b-256 e0fd71cef015c2f9175c90887508d47e62e80e14caa5661cd7cda8a422ee8a40

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aria2_next-2.4.9-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.9 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.4.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a80761261f30070b4794aaf69da6811af4b24332252dd21317f5364ac9283f62
MD5 4876e5c9cb4bffc2f4b0e7963f78528e
BLAKE2b-256 2a04299070658dd99283e0bc558de1c7c645cf51abf961e7bdf560d62d4e514f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.9-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 68843de1fe671323d55ecc4d5f36bb2442f725f2f57fefdd2f0af4893ba7f9ab
MD5 403f72bf65e094f5928bca9a6f4680fc
BLAKE2b-256 c91d7dcd13678b2433cf1a6657dd8e44d0e55f3a80bab7615104d2a2ec9acade

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.9-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7fad199233a64fef868e23bc25fe12c2215dbb22760c9ece611d250069710a8d
MD5 ff225f6642a31149d0b354a19f06fe8c
BLAKE2b-256 83e832a6eb58a2e7143034c87d916518b4ede682dd65f3d8b312e1c4e9ad71ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f4134ed3b31eaca271ef8a5d1f11c2130850551dfadab979273a68cd5bc4063a
MD5 af72d5bc15ffac7c493fa2842bdc29c6
BLAKE2b-256 d089b28fa14708765f3f23db3ee01bb9da0919c766f2b75c21b85830705d6cfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.9-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 08a94c55b6287564851633f80630f7084cc01d0bea1147aa9bff3e2cc2404d59
MD5 38128d9c87b4a5b3cbd7f77a09356781
BLAKE2b-256 a9666e5d02b685716fb2194f9a47af4198fb10a901bc4468524c018474149daa

See more details on using hashes here.

File details

Details for the file aria2_next-2.4.9-py3-none-android_21_arm64_v8a.whl.

File metadata

File hashes

Hashes for aria2_next-2.4.9-py3-none-android_21_arm64_v8a.whl
Algorithm Hash digest
SHA256 a59cef88e6e43082a977863186601c5e2d84c2e5c0e20a3ca3c7255e7b972128
MD5 7de58dad5bb478895d041d25133f5c30
BLAKE2b-256 eadcd5cd1f5306481f8eb5c6956b246a36991f2c049a421c9bafc6c60074c81e

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