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

Uploaded Python 3Windows ARM64

aria2_next-2.4.1-py3-none-win_amd64.whl (3.4 MB view details)

Uploaded Python 3Windows x86-64

aria2_next-2.4.1-py3-none-manylinux_2_28_x86_64.whl (4.2 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

aria2_next-2.4.1-py3-none-manylinux_2_28_aarch64.whl (4.4 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

aria2_next-2.4.1-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.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: aria2_next-2.4.1-py3-none-win_arm64.whl
  • Upload date:
  • Size: 2.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.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 830953f398c455be557960717a2284cd80d96495b8835010413b96bccc1b5d5a
MD5 37ee472385ba2aa24330109913635239
BLAKE2b-256 6553add46dc0b11e8c323fd6304a8c531952f84af21528d700cad1e124ac3807

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aria2_next-2.4.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.4 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.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2ec96f25b2e078544b6851445fb6351f408ba1833b377b3a4a964f26e1346473
MD5 88150b8591603564e04bc592b98d9190
BLAKE2b-256 522931c5dc92896f1435d7c23f8e73b21c0d8dcde720a2c3d74ef35065a743ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.1-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c37e569b09edff0a941da28eac67e5f609992dac8fccd9e0a34782ec364ca6d9
MD5 14b738e2389096edd8b473df907b2c0c
BLAKE2b-256 6ab995948d71eba32bb743921efd202aa57f9e2330aec728f7051b831d258647

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 361d37d8d3d52106d0d65e10c9c9c930fd8636bc4360d4281a0732e269e5bff2
MD5 a4978aa471c71ee03491a17eba71af15
BLAKE2b-256 504d0f28de65e4ead8255a93068fe0e9efd6429eb1c3c2e9bb8922c335f0ab73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 28759e9182833cacd229c681301dafe321495322b7f1c8b9162ea43375af55d5
MD5 b206d5a0cb8ab821fae48c3a13212fb2
BLAKE2b-256 cda2d205cc00f2742774874a7c349dc4fdca296cb2d8e1e8668d31e3dc9082ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aria2_next-2.4.1-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 3eb38b607a662e2d023c99cab15a071bb69a9c6f7dabb6f4a689090170106137
MD5 a20ea7f5cff1fe49f5afc4e901654324
BLAKE2b-256 b6a9c6bd51f837e85cc69d156c48eabfa77bb94cf9717010c7fa5de7ccd7a571

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