abxpkg
System package manager interfaces with Python type hints
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real problem for applications that need to manage cross-platform runtime dependencies. It's most valuable if you're building tools that must work across multiple operating systems or package ecosystems; less critical for single-platform projects with static dependencies.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.12 or later (3.12, 3.13, or 3.14).
- Actual package installation depends on target package managers being available on the host system.
- Low friction: pure Python wheel with four lightweight runtime dependencies (platformdirs, pydantic, rich-click, typing-extensions).
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both open-source and commercial projects.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 28 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 182,562 downloads/mo, #10,094 on PyPI
Alternatives
Verify before relying
pip install abxpkg
from abxpkg import Binary, env, npm, brew
prettier = env.load('prettier') or npm.install('prettier') or brew.install('prettier')
# or:
prettier = Binary(name='prettier', binproviders=[env, npm, brew]).install()
print(prettier.abspath, prettier.version)- Whether the library can reliably detect and install binaries across all listed package managers in mixed environments.
- Performance characteristics when searching large package indexes or installing many dependencies in parallel.
- Extent of Django integration (classifiers list Django 4.0–6.0 but description mentions optional django-ninja/django-jsonform usage).
What it is and what it does
abxpkg is a Python library and CLI that abstracts away the differences between multiple package managers, letting you install and manage binaries and dependencies at runtime without hardcoding which package manager to use. Instead of writing separate logic for apt, brew, pip, npm, docker, and others, you define a Binary with a list of providers to try in order—the library handles detection, installation, versioning, and execution across all of them.
It's designed for applications that need to fetch and run external tools dynamically: ArchiveBox uses it to install chrome, wget, and other extractors on macOS, Linux, and Docker. You can bake dependency installation into your app, use it as a CLI tool to manage binaries in a dedicated cache directory, or integrate it into Django projects to build UIs and APIs around package management. The library defaults to safe behavior (7-day minimum release age, no post-install scripts) and isolates installed packages to avoid polluting the host system.
Use it for
- Detect and auto-install external tools (chrome, ffmpeg, yt-dlp) at runtime without requiring users to install them manually.
- Build a CLI tool that works across macOS, Linux, and Docker by abstracting away platform-specific package managers.
- Serialize and persist dependency metadata to a database or config file for reproducible deployments.
- Search package indexes across multiple managers to find the best available version of a binary.
- Integrate package management into a Django application to provide a UI or API for managing system dependencies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real problem for applications that need to manage cross-platform runtime dependencies. It's most valuable if you're building tools that must work across multiple operating systems or package ecosystems; less critical for single-platform projects with static dependencies.
Install
abxpkg on PyPI
Before you install
Low friction: pure Python wheel with four lightweight runtime dependencies (platformdirs, pydantic, rich-click, typing-extensions). Active maintenance with a release on 2026-08-14.
Requires Python 3.12 or later (3.12, 3.13, or 3.14). Actual package installation depends on target package managers being available on the host system.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both open-source and commercial projects.
Quickstart
pip install abxpkg
from abxpkg import Binary, env, npm, brew
prettier = env.load('prettier') or npm.install('prettier') or brew.install('prettier')
# or:
prettier = Binary(name='prettier', binproviders=[env, npm, brew]).install()
print(prettier.abspath, prettier.version)
Verify before relying
- Whether the library can reliably detect and install binaries across all listed package managers in mixed environments.
- Performance characteristics when searching large package indexes or installing many dependencies in parallel.
- Extent of Django integration (classifiers list Django 4.0–6.0 but description mentions optional django-ninja/django-jsonform usage).
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <3.15,>=3.12 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesplatformdirspydanticrich-clicktyping-extensions |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 182,562 / month, #10,094 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.0Framework :: Django :: 5.0Framework :: Django :: 6.0Intended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: abxpkg-1.12.72-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “multi-package manager interface”
- abxpkgUnified interface for detecting, installing, and managing binary and…
- colcon-corecolcon-core is a command-line tool that orchestrates building,…
- colcon-cmakecolcon-cmake is a plugin for colcon that adds support for building…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also abx-dl · nab-python · abx-plugins · abxbus · pipx · chromedriver-py · pip-autoremove · sail-sdk · detect-installer · pkgconf