Skip to main content

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 会一并包含该文件。

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

Uploaded Python 3Windows ARM64

aria2_next-2.5.9-py3-none-win_amd64.whl (5.3 MB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3manylinux: glibc 2.28+ x86-64

aria2_next-2.5.9-py3-none-manylinux_2_28_aarch64.whl (5.9 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

aria2_next-2.5.9-py3-none-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

aria2_next-2.5.9-py3-none-macosx_10_13_x86_64.whl (5.2 MB view details)

Uploaded Python 3macOS 10.13+ x86-64

aria2_next-2.5.9-py3-none-android_21_arm64_v8a.whl (5.7 MB view details)

Uploaded Android API level 21+ ARM64 v8aPython 3

File details

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

File metadata

  • Download URL: aria2_next-2.5.9-py3-none-win_arm64.whl
  • Upload date:
  • Size: 4.7 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for aria2_next-2.5.9-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 f3fd068facb47047731a849f210ecc69c8aab2ceec64aa75df222aeac3c0280b
MD5 66f224de1be714b4d7e9c1d6d220c01e
BLAKE2b-256 62a242352e560e54359302ecb8e615c557f5aa169f6517f8a07fcf4a63417671

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for aria2_next-2.5.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b29ef7501067736eaab52dcab7b56015e32dec7d2b78fcb67ec4f35d1506508d
MD5 facf7bb28261ecd63289e0aa74685636
BLAKE2b-256 0fcc09bc9ae88f60f2b9f8131f8809af0b661845370b30ecab34d90c9f396754

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.9-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 195048b8b3ff2c8728c1dbb4d3995f927de6373f0bdeb84c7301c83b287ea972
MD5 c3e3726a92014eb160c9f259fc3b2e1b
BLAKE2b-256 50bee7d482603774b86ca1526d7339210b4db8a8db61d18b29b43acdf0baccbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.9-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 93b26ac995a17aa6617ae01bc9975fdce4a885f9efbab187b1a00864761b8ac4
MD5 27f19216d062706db018fe2966b3ce30
BLAKE2b-256 d03781b801ca974d4bfe2b843154a4602ece2973749904b1e0d7abcbfcc39d11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 03fa81228c7b1c16e172c352183b664c186b958c8f9b546c8e5d627e30e61509
MD5 1e9f76705cbd00bcc1199912b92c6039
BLAKE2b-256 555322d52d8899718ec2b2614b36b4b6548d6715b41f623684ebc60e9388c563

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.9-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 2cb641bd0b89161c9e5b58f9f8b347cc9d27a35817dac4bd8c8ace9d8aa9f077
MD5 3cd1b3ee93c2c4936981606c9fd6e8fd
BLAKE2b-256 58baba29c45af0e33a4135a7e228bab4a8abd5cc5cd62bb032df7be3cc606316

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.9-py3-none-android_21_arm64_v8a.whl
Algorithm Hash digest
SHA256 5393ba5879d2c67f23b11945e561594338e1a03c3761c28e6fd1efc032aa8575
MD5 4e627ccb2ab84caeb4d4b447a1ff382f
BLAKE2b-256 87154fcb1bf7bb7a4cc407f9e35bcdeb79e0f0d9eeeda0b2e9a1c3938f0dcadc

See more details on using hashes here.

Release history Release notifications | RSS feed

2.7.4

7 files

2.7.2

7 files

2.7.1

7 files

2.7.0

7 files

2.6.8

7 files

2.6.7

7 files

2.6.4

7 files

2.6.1

7 files

This release

2.5.9 This release

7 files

2.5.7

7 files

2.5.6

7 files

2.5.5

7 files

2.5.4

7 files

2.5.3

7 files

2.5.2

7 files

2.5.1

7 files

2.4.9

7 files

2.4.6

6 files

2.4.5

6 files

2.4.4

6 files

2.4.3

6 files

2.4.2

6 files

2.4.1

6 files

2.3.5

6 files

2.3.0

6 files

2.2.11

6 files

2.2.6

6 files

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