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_USERNAME 和 TWINE_PASSWORD。
  • 如果要上传到 TestPyPI 或私有仓库,可以填写 repository_url。

许可证

打包进去的可执行文件来自 AnInsomniacy/aria2-next,按 GPL-2.0-or-later 分发。 如果所选 release tag 可以获取上游 COPYING 文件,构建出的 wheel 会一并包含该文件。

Release files for aria2-next 2.7.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for aria2-next 2.7.5
File
aria2_next-2.7.5-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details
aria2_next-2.7.5-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
aria2_next-2.7.5-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
aria2_next-2.7.5-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details
aria2_next-2.7.5-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
aria2_next-2.7.5-py3-none-macosx_10_13_x86_64.whl Python 3 none macOS 10.13+ x86-64 Details
aria2_next-2.7.5-py3-none-android_21_arm64_v8a.whl Python 3 none Android API level 21+ ARM64 v8a Details

Total release size: 39.7 MB

Release files / aria2_next-2.7.5-py3-none-win_arm64.whl

Download URL aria2_next-2.7.5-py3-none-win_arm64.whl
Size 4.9 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
72c2374193554ed99b8133e0a7388cab7455187d2a57619501c0814b16d3237c
BLAKE2b-256 checksum
How to use checksums
8c3c223a3effb86778dd43557323c3bf6d597114358c2e415d3dafdb35e6a12a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / aria2_next-2.7.5-py3-none-win_amd64.whl

Download URL aria2_next-2.7.5-py3-none-win_amd64.whl
Size 5.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
fdb9ab77dba1c147dea0e8c010b9f7bed279706dddaa49991dbedf3062a888ce
BLAKE2b-256 checksum
How to use checksums
49066e4b681aafd2376ac56e1d9adea32a0ef62471b7bf85e1638eca3ac8af04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / aria2_next-2.7.5-py3-none-manylinux_2_28_x86_64.whl

Download URL aria2_next-2.7.5-py3-none-manylinux_2_28_x86_64.whl
Size 6.0 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
05c38eb33d02d8b49b710079834dbd752200e3ff149b60a39146b85d67dfb550
BLAKE2b-256 checksum
How to use checksums
b1da67046e858c520e5f4462544f48e404bdf7c5b38a23df2e10328650998943
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / aria2_next-2.7.5-py3-none-manylinux_2_28_aarch64.whl

Download URL aria2_next-2.7.5-py3-none-manylinux_2_28_aarch64.whl
Size 6.2 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
9ac0feb4d1811b7a60a9d943f8b97792e1606176f063566522fc7a5dab9cb148
BLAKE2b-256 checksum
How to use checksums
f0402c2beacff5f673109eeb6a530a5c0cb3ba32b3a1448cd7ddbf9c3d62e9e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / aria2_next-2.7.5-py3-none-macosx_11_0_arm64.whl

Download URL aria2_next-2.7.5-py3-none-macosx_11_0_arm64.whl
Size 5.5 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
10dfb5355e9ffaf372ecb58d62b73c211b2425dff3676facb048bfb6fd3c1ed4
BLAKE2b-256 checksum
How to use checksums
5f132d4dc29701c17e6dd7c83af4cb87e5ac1a45ed1fac2cae3a048c460e66d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / aria2_next-2.7.5-py3-none-macosx_10_13_x86_64.whl

Download URL aria2_next-2.7.5-py3-none-macosx_10_13_x86_64.whl
Size 5.5 MB
Tags Python 3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
0499fb35f964aac6e7ce980ca90709b062472c545b7b08e3e4a5b09ddcb6ae3a
BLAKE2b-256 checksum
How to use checksums
b229295b5c09a53a78211b474f0866e1ebde7429e1bbaacc8ed8da65174edd82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release files / aria2_next-2.7.5-py3-none-android_21_arm64_v8a.whl

Download URL aria2_next-2.7.5-py3-none-android_21_arm64_v8a.whl
Size 6.0 MB
Tags Android API level 21+ ARM64 v8a Python 3
SHA-256 checksum
How to use checksums
f01077b27c5a9c397650636213ffb0e940fae47ada812d7cc81cb2b549e1c05c
BLAKE2b-256 checksum
How to use checksums
dd7a9617aa8239f1c80dcb8992f6752a1a2abc5baf1de023f00dad099bbc8e4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.16

Release history Release notifications | RSS feed

2.8.2

7 release files

2.8.1

7 release files

2.8.0

7 release files

This release

2.7.5 This release

7 release files

2.7.4

7 release files

2.7.2

7 release files

2.7.1

7 release files

2.7.0

7 release files

2.6.8

7 release files

2.6.7

7 release files

2.6.4

7 release files

2.6.1

7 release files

2.5.9

7 release files

2.5.7

7 release files

2.5.6

7 release files

2.5.5

7 release files

2.5.4

7 release files

2.5.3

7 release files

2.5.2

7 release files

2.5.1

7 release files

2.4.9

7 release files

2.4.6

6 release files

2.4.5

6 release files

2.4.4

6 release files

2.4.3

6 release files

2.4.2

6 release files

2.4.1

6 release files

2.3.5

6 release files

2.3.0

6 release files

2.2.11

6 release files

2.2.6

6 release 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