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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

aria2_next-2.5.3-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.3-py3-none-manylinux_2_28_aarch64.whl (1.7 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.13+ x86-64

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

File metadata

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

File hashes

Hashes for aria2_next-2.5.3-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 7f9ac77ed825a12d79827bed568e319e546343055f08bdc63562f0914671c236
MD5 499235e077680d1fe58826f73b254f56
BLAKE2b-256 7b845a1b2e08520137fa458aaae069acca6540b10487546e272a821fb5feb49e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aria2_next-2.5.3-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/7.0.0 CPython/3.11.15

File hashes

Hashes for aria2_next-2.5.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 baee3467ef5420ee82c17a6af6e12753f23da38a216e09fd36b3f87bb9576367
MD5 1c0816ee311c978a7308e18f5a40ca9e
BLAKE2b-256 87a4c935685cd68305f53e236978c3fc78f413d460cb32418c29fcc855e0302f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.3-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7538c4acfbf27f30b651abbf0a2d49ff9fc06a7c3a1546c14634c85cd403bfd6
MD5 970785bb7ef812d85d711ef35324ee9f
BLAKE2b-256 44b667c64da1ddcaa9226296e58a5b837163c6841a7f89701895fdedcc0462c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.3-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 99ee53d63da73755a341f71b8a1aafaa6ed316ea72042fb1fb6a569e234911e8
MD5 c75da2c324f3993c3a8ea557f33d5bd8
BLAKE2b-256 eba53532bc982decc020de5e7b77074e9fca5a0babde765675bfafec68da45f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 06b9154d016128e3c1e713016d64258d061b0ddf1d9937320bcb3028956696eb
MD5 543dc5c8cdda84b0ee9fd975621918cb
BLAKE2b-256 e2eeae2a926eeb39e158fea37bd6475fe337a76d6de17c4c671d96a6913f32ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.3-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 cdbd6073b18ecdf2c331ecdb45bdb0136a9d7b8e625f096c3604eb20ae83a625
MD5 6c7f80acc64e8750572478f8b3554a71
BLAKE2b-256 3aa7d73e3fb707108bd9c92f7dcdf5cd73b883e0fd6b4b0443fb8d2591af36da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.5.3-py3-none-android_21_arm64_v8a.whl
Algorithm Hash digest
SHA256 88d57b2d0752873e7f6065999f3e6dfd94960dd42f20b5aa0a6ce0cf0d4220bd
MD5 c7dcc1ae136b74cd868d1cf36496bb9d
BLAKE2b-256 728bae0386fff938f60c8e77d9a79e765c788215ceb60d6c98642e511d2653a0

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

2.5.9

7 files

2.5.7

7 files

2.5.6

7 files

2.5.5

7 files

2.5.4

7 files

This release

2.5.3 This release

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