Installing Vaibify
Vaibify runs on macOS and Linux with Python 3.9 or later. It uses Docker (or Colima on macOS) to build and manage containers.
Prerequisites
Requirement |
Version |
Notes |
|---|---|---|
Python |
3.9 – 3.14 |
Any CPython release in this range |
Docker |
20.10+ |
Or Colima on macOS |
Docker Buildx |
0.10+ |
BuildKit-based image builder |
Git |
2.0+ |
For cloning repositories into images |
Users
Install the latest release from PyPI:
pip install vaibify
This installs everything: the CLI, Docker SDK, keyring integration, and all data format libraries.
After installation, confirm the CLI is available:
vaibify --version
Multiple Vaibify projects can coexist on the same machine. Each project
gets its own container, image, and workspace volume. Use vaibify init
in each project directory to register it, then target any project from
anywhere with --project/-p.
Developers
Clone the repository and install in editable mode:
git clone https://github.com/RoryBarnes/Vaibify.git
cd Vaibify
pip install -e ".[dev]"
The [dev] extra adds pytest-asyncio and httpx for running vaibify’s
own internal test suite.
Data Format Libraries
All data format libraries (h5py, openpyxl, Pillow, pyarrow, astropy, scipy, pyvista, pysam, pyreadstat, pyreadr, safetensors, tfrecord, scapy) are included by default when you install Vaibify. No additional extras are required. See Supported Data Formats for the complete list.
Run the tests to verify the installation:
pytest tests/
Tests marked with docker require a running Docker daemon:
pytest -m docker
Shell Helpers
Shell completions and helper commands are configured automatically the
first time any vaibify command is run. No manual step is required.
The following aliases are added to your shell configuration:
Alias |
Shorthand |
Equivalent |
|---|---|---|
|
|
|
|
|
|
|
|
|
These commands work from any directory on the host. When multiple
projects are registered, specify the target with --project/-p:
vaibify_connect -p my-project
vaibify_push -p my-project data.csv /workspace/data.csv
vaibify_pull -p my-project /workspace/results.csv ./results.csv
When only one project is registered, the --project flag can be
omitted. See CLI Reference for details.
To force the setup to run again, remove the marker file and invoke any command:
rm ~/.vaibify/.setup_done
vaibify --version
Docker on macOS
On macOS, Colima is the recommended Docker runtime. Install with Homebrew or MacPorts:
Homebrew:
brew install colima docker docker-buildx
colima start --cpu 4 --memory 8
MacPorts:
sudo port install colima docker docker-buildx-plugin
colima start --cpu 4 --memory 8
If a Docker build takes more than a few minutes, macOS may sleep the
Colima VM and corrupt the build. Prefix any long-running command with
caffeinate -s to prevent this:
caffeinate -s vaibify build