Skip to content

Install Apizr

0.4.6 development documentation

Apizr 0.4.6 is not published. Versioned installation commands on this page describe that upcoming release. For the published package, use uv tool install outerspace-apizr==0.4.5. To run the 0.4.6 examples now, build the selected development source.

Install Apizr 0.4.6, then follow the Quickstart to make your first REST or MCP calls. The core is enough for that example; plugins are optional.

Data scientist

Already have a Python environment with pandas and scikit-learn? Install Apizr's notebook support into that environment, then start with apizr experiment inspect. The Data Scientist quickstart explains installation of Apizr 0.4.6 and walks through an unchanged notebook, two datasets, comparison and real REST/MCP prediction calls. Scientific libraries are your workload dependencies; no analysis plugin is needed. The installation commands below use version 0.4.6.

Install the core

Use Python 3.11–3.15 on macOS or Linux with a POSIX shell and pip. Choose one installation method. For a first try, create a virtual environment:

mkdir apizr-workspace
cd apizr-workspace
python3 -m venv core
. core/bin/activate
python -m pip install outerspace-apizr==0.4.6
apizr --version

You should see outerspace-apizr 0.4.6. Keep this terminal open and continue with the Quickstart. For an existing project, you can also initialize its configuration.

Already using uv or pipx?

Install Apizr as an isolated command-line tool with one of:

uv tool install outerspace-apizr==0.4.6
pipx install outerspace-apizr==0.4.6

Use the executable path reported by your tool. The Quickstart's pip path is easier to follow for a first try because it keeps an explicit core/ directory.

Watch: Install Apizr with pip, uv, pipx or Homebrew · 6:39

Compare the installation methods and check which Apizr executable you are using. The Homebrew segment shows a reinstall; for a fresh setup, use the install command below.

English · Open on YouTube · Alien6 Studio. Use the written steps for the current release; a recording may show an earlier version.

Homebrew on Apple Silicon

Use the official Alien6 tap:

brew tap alien6-studio/tap
brew install alien6-studio/tap/apizr
apizr --version

You should see outerspace-apizr 0.4.6. The Formula uses Homebrew Python 3.15. Its installation is tested on hosted Apple Silicon; Intel macOS and Linux Homebrew runtime are not qualified. See the release record for details.

Add optional plugin profiles

You want to… Install
Inspect Python and generate REST/MCP interfaces Core only
Let an MCP client analyze a project with Apizr mcp profile
Build and publish a service image oci profile
Deliver an image with an Attest receipt delivery profile

Plugins live in their own environments. Keep all selected core/plugin versions at 0.4.6. Install uv 0.13.1 separately and check uv --version before installing or syncing plugins. This also applies to Homebrew installations.

Plugin preparation accepts stable uv 0.12.x and 0.13.x; CI qualifies with 0.13.1. See the native preparation policy.

Obtain the installation files

The durable GitHub release assets include the packages, plugin catalog, locks and dependencies for each supported target. Prepare a verified installation workspace once, then return here to choose a profile. That advanced procedure covers hash checks and gh attestation verify; normal core installation above does not need those files.

Choose a plugin profile

The core is enough for supported static analysis and generation. Generated REST/MCP servers have separate runtime requirements. The outerspace-apizr-mcp plugin is an analysis server; the historical mcp extra supplies optional dependencies for existing core workflows and does not install that plugin.

Profile Plugins Additional prerequisites when used
mcp outerspace-apizr-mcp An MCP client (the Python example needs no AI account)
oci outerspace-apizr-oci Docker Engine and Buildx for build/push
delivery outerspace-apizr-oci and outerspace-apizr-attest Docker/Buildx; Continuum Attest for receipts; ORAS for proof transport

First prepare the installation files. Keep that workspace and terminal open: the commands below use its TARGET, CORE_DIR and APIZR_VERSION variables. Set CORE_DIR to your existing core environment if you installed it elsewhere. Choose one profile and new plan/plugin-store directories. Use oci or delivery instead of mcp when needed:

export PROFILE=mcp
export PLAN="$PWD/$PROFILE-plan"
export PLUGINS_DIR="$PWD/plugins"
"$CORE_DIR/bin/apizr" plugins catalog resolve --profile "$PROFILE" --catalog "$TARGET/catalog/catalogue.json" --wheelhouse "$TARGET/wheelhouse" --output-dir "$PLAN" --json
"$CORE_DIR/bin/apizr" plugins lock check --project "$PLAN/apizr.toml" --lock "$PLAN/apizr.plugins.lock.json" --wheelhouse "$TARGET/wheelhouse" --json
"$CORE_DIR/bin/apizr" plugins sync --project "$PLAN/apizr.toml" --lock "$PLAN/apizr.plugins.lock.json" --wheelhouse "$TARGET/wheelhouse" --plugins-dir "$PLUGINS_DIR" --json
"$CORE_DIR/bin/apizr" plugins list --active --json --plugins-dir "$PLUGINS_DIR"

Observe: resolution and lock checking succeed; sync records installations. On this fresh store, the active inventory is empty. Activate only what you selected:

# mcp profile
"$CORE_DIR/bin/apizr" plugins enable outerspace-apizr-mcp --version "${APIZR_VERSION:-0.4.6}" --plugins-dir "$PLUGINS_DIR"
# oci profile: enable outerspace-apizr-oci instead
# delivery profile: enable both outerspace-apizr-oci and outerspace-apizr-attest

Installation verifies and stores bytes. Activation selects an installed version. Authorization permits a particular operation and target; neither installation nor activation grants it. The analysis MCP guide provides a complete project, operator grant and client configuration. The OCI and Attest guides explain explicit image publication and signing permissions. These are trusted programs running with user rights, not a universal sandbox.

Offline core installation with pip, uv or pipx

Install the core offline

Use this alternative only when you need an offline installation. First prepare the installation workspace. Its PYTHON, CORE_DIR, TARGET and CANDIDATE variables are used below. The interpreter must match the target export's Python minor version.

"$PYTHON" -m venv "$CORE_DIR"
"$CORE_DIR/bin/python" -m pip install --no-index --find-links "$TARGET/base" "$CANDIDATE/dist/outerspace_apizr-${APIZR_VERSION:-0.4.6}-py3-none-any.whl"
"$CORE_DIR/bin/apizr" --version

Observe outerspace-apizr 0.4.6, then activate it with . "$CORE_DIR/bin/activate" and follow the Quickstart.

Alternatively, install as a tool

With uv already installed, use this instead of pip:

uv tool install --python "$PYTHON" --offline --no-index --find-links "$TARGET/base" "$CANDIDATE/dist/outerspace_apizr-${APIZR_VERSION:-0.4.6}-py3-none-any.whl"

Or, with pipx already installed, use:

pipx install --python "$PYTHON" --pip-args="--no-index --find-links=$TARGET/base" "$CANDIDATE/dist/outerspace_apizr-${APIZR_VERSION:-0.4.6}-py3-none-any.whl"

Use the executable path reported by that tool, then check apizr --version. Do not install plugins with pipx inject or manually edit a uv tool environment. The profile example below uses the principal pip path ($CORE_DIR/bin/apizr); for tool installations use that reported Apizr executable instead.

Supported targets

Apizr 0.4.6 uses the following dependency exports for offline and plugin installation. Each records the exact Python patch version it supports. Choose the matching interpreter and export; the table is not a Windows or Intel macOS compatibility claim.

System / architecture Python Release export pattern
Linux x86-64 3.11 apizr-0.4.6-linux-x86_64-cpython-3.11.*.tar.gz
Linux x86-64 3.12 apizr-0.4.6-linux-x86_64-cpython-3.12.*.tar.gz
Linux x86-64 3.13 apizr-0.4.6-linux-x86_64-cpython-3.13.*.tar.gz
Linux x86-64 3.14 apizr-0.4.6-linux-x86_64-cpython-3.14.*.tar.gz
Linux x86-64 3.15 apizr-0.4.6-linux-x86_64-cpython-3.15.*.tar.gz
macOS arm64 3.11 apizr-0.4.6-macos-arm64-cpython-3.11.*.tar.gz
macOS arm64 3.14 apizr-0.4.6-macos-arm64-cpython-3.14.*.tar.gz
macOS arm64 3.15 apizr-0.4.6-macos-arm64-cpython-3.15.*.tar.gz

Develop from source

Contributors should follow development and checks. Manual wheel preparation and the guides' advanced sections remain available for custom evaluation builds. Those builds have their own identities and cannot replace approved release bytes. Review plugin locks and operator permissions before replacing development locks, grants or activations.

For publication status and changes in this version, see the 0.4.6 release notes.