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

Uploaded Python 3Windows ARM64

aria2_next-2.5.1-py3-none-win_amd64.whl (2.0 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.28+ x86-64

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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.13+ x86-64

aria2_next-2.5.1-py3-none-android_21_arm64_v8a.whl (3.6 MB view details)

Uploaded Android API level 21+ ARM64 v8aPython 3

File details

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

File metadata

  • Download URL: aria2_next-2.5.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 1.8 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.5.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 ec03cee72298b595bf33dd3878eeee88d4dac41e903c5b149e9df71b10bb8efb
MD5 184c2196c5c1885493fd566885c95746
BLAKE2b-256 397d9b57c8ead5c6c64689eed03b0489c87a5526c26b579ebef09093c0e67d51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aria2_next-2.5.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.0 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.5.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 899dee8c30765c632f9d641c28f751868822fe0a6a10e973b07fd3f631332999
MD5 30943bfc5d03dd0e1e0c81fcb140f867
BLAKE2b-256 888b79faca63b609e3f5d7b65928a0a51f41daff55db155c28920e7c45f75b03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.1-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4f72f4006c74b3683b36bfc6cbd381e4c58c86a7be1b55d7aa669536ec31be41
MD5 41904732910c1f0ed1f23ce6111cce4f
BLAKE2b-256 d59718d17a4c807a07beab4d4d984aa2fcbf2b7f51cfe6b13b79fc0036cfe978

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fdacbcf109af69119b8c560f5ed0a7afba390bbf7e44a4725af1f8666845fb57
MD5 d7d0921e194e2be13f18fa5ff0653492
BLAKE2b-256 451972c79af32ba8340e15fb9bf97ec4d44fefca45bc382ac343ba6e9d0127d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c12e760a5a700f9a0b632d636f344b42d5280911665a1a27e1eb535e235bb9ea
MD5 f0635e42f62c31f471fb958324c70e9a
BLAKE2b-256 dc9e221f2a0a5454c9613450cfef7b6149d4c78a4aee9a78dcb984d54d6a40c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.1-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 3c829d7e685bff3f4a021372a6d363d6d40af760dd54dfaa818c78bd5a0ac46d
MD5 45ad67c2c82edf6fac05c4d77e3e4db9
BLAKE2b-256 d23ae7c80e32c11d3a37f9ea2b28e5e0cab508ba183ed8d4d551b8e0c0642215

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.1-py3-none-android_21_arm64_v8a.whl
Algorithm Hash digest
SHA256 656abd81689911b48af6110fb3f14a09ce26ff5fb7611d2906f23ae424461b6e
MD5 b0a49b3dce66933b9a3eebbeb5e5fca1
BLAKE2b-256 42b1e0a94f710adae7635e2a48acf08728b744ee3f07957a8ce70bfc8806d8c5

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