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

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

aria2_next-2.4.5-py3-none-manylinux_2_28_x86_64.whl (1.6 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

aria2_next-2.4.5-py3-none-manylinux_2_28_aarch64.whl (1.6 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

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

Uploaded Python 3macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: aria2_next-2.4.5-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.5-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 a959def9ee809a401cc34cea6bdc5eaa8b7fffbb1a25b598cce0b8d4ab1b57a3
MD5 43fea6e6aa9132a158d241fc6e7d7238
BLAKE2b-256 49cc872405fca1ca044ccec4104535c90695adf16965479081b151fa09dc634d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aria2_next-2.4.5-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.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 94d775f5e83368fa5e767585ef44356a5a0aa7f34b44379e46a77f890a5a8642
MD5 07cd58fc5d67ce684e70bef4014b9a75
BLAKE2b-256 75d96c20f7a994a6015d8319678ef72a5b0d180915e0bd49deec744ac6bb4911

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.5-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 752fb7c887959fb9f7837dda969ef24a92203a5b5e6f4fe3d4ddac2d77a446a2
MD5 9b04397e12d699282c09d6e2615b80c9
BLAKE2b-256 c748842968b7fabbaaa30957cd1b5cbe95863287bfbf4401fd6a81886a76adcb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.5-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 42f032855837a118c5e9595f0e5d8727588fccf11472030549f70d41f57e0062
MD5 b89e38e7dbd9968ee00d252be790ae58
BLAKE2b-256 370f86a258cb19d9dc97ba97740f52e1709b23ed2dfe9077d5edbbddc9cd86f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9f73b70c2248a65ecc2e407b4d9e1b460bc717ff4bdb92d8dd65d43b33580e3f
MD5 4e84181d21d286ffce2acbc6e51eca66
BLAKE2b-256 f241886a9a3a44af9ad5de945ae8eee93d218c2c1d2b4ed9ff33e6f44264e8b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.5-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 156f6f55b1a8d7470671a78130ff46b5afe1a5dd3225ce309bdc377336303747
MD5 e9d8a124fa365cca597c2d1b68b68c22
BLAKE2b-256 d2a2f1371101128314daa8787df2e188e4d0ad3bc517209fc89a4fafe61b7bc9

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