Install

This page puts Ingence on your computer. Open a terminal and run this one command:

uv tool install ingence

If the terminal says uv is not found, install uv first, as below. Or choose one of the other ways:

What you need

  • A system: macOS, Linux or Windows.

  • Python 3.12, 3.13 or 3.14. If you use uv, it gets Python for you.

  • No graphics card. Ingence doesn’t use one.

With pip, in a virtual environment

A virtual environment is a folder that holds Ingence and the libraries it needs. First check that you have Python 3.12 with python3.12 --version. For 3.13 or 3.14, change the number. If you do not have it, install it from python.org, with brew install python@3.12, or from your system’s packages.

python3.12 -m venv ~/ingence-env
~/ingence-env/bin/python -m pip install ingence
~/ingence-env/bin/ingence --version

To type ingence alone, activate the environment in each new terminal: source ~/ingence-env/bin/activate. To upgrade, run ~/ingence-env/bin/python -m pip install -U ingence.

py -3.12 -m venv $HOME\ingence-env
& $HOME\ingence-env\Scripts\python -m pip install ingence
& $HOME\ingence-env\Scripts\ingence --version

To type ingence alone, activate the environment in each new terminal: & $HOME\ingence-env\Scripts\Activate.ps1. To upgrade, run & $HOME\ingence-env\Scripts\python -m pip install -U ingence.

To remove Ingence, delete the ingence-env folder.

With pipx

pipx installs a program into an environment of its own, like uv tool. It uses the Python that pipx was installed with. That Python must be 3.12, 3.13 or 3.14.

pipx install ingence
ingence --version

If your default Python is another version, add --python and the name of a supported Python, for example --python python3.12. To upgrade, run pipx upgrade ingence. To remove Ingence, run pipx uninstall ingence.

With conda

conda create -n ingence --override-channels -c conda-forge python=3.12 pip
conda activate ingence
python -m pip install ingence
ingence --version

Ingence is not a conda package. pip installs it and its libraries into the conda environment. Keep that environment for Ingence alone. mamba takes the same commands. To upgrade, activate the environment and run python -m pip install -U ingence. To remove Ingence, run conda env remove -n ingence.

Check that it worked

ingence --version

It prints the version of Ingence and the version of the project format it writes. The first command after you install is slower than the next ones, because Python prepares its files once.

Optional parts

The install above reads text, tables, TIFF images, PDF files and Office files. The Dashboard doesn’t need anything extra. Optional parts let Ingence read and compare more:

  • content reads more image formats, and notebooks.

  • images lets Ingence compare images by how they look.

  • detect uses Magika, a small model that runs on your computer, to find file formats. It also installs python-magic, which needs the libmagic library. On macOS, run brew install libmagic. On Ubuntu, run sudo apt install libmagic1. Without it, the other detectors still run.

  • fonttools is a separate package. It reads some fonts inside PDF files. Without it, Ingence can read less of a PDF’s text, and it saves a warning in the scan’s journal.

To add content and fonttools with uv:

uv tool install --force --with fonttools "ingence[content]"

With pip (in a conda environment, python -m pip once the environment is activated):

~/ingence-env/bin/python -m pip install "ingence[content]" fonttools

On a managed computer

Each of the four ways above installs Ingence into the user’s own folder, so you don’t need administrator rights. Ingence doesn’t have an installer package, and it doesn’t start with the computer. Pin the version, because options still change before 1.0.

Where a computer can’t reach the public package index (PyPI), download the package and its libraries on a connected computer. That computer must have the same operating system, processor type (for example Intel or Apple silicon) and Python version. Then move the folder, and install from it without a network:

pip download ingence -d ingence-packages
pip install --no-index --find-links ingence-packages ingence

You can use your own package mirror instead.

Ingence’s own code is under the MIT license. Each library it uses keeps its own license, and the file NOTICE in the source lists them.

Remove Ingence

Uninstall Ingence with the tool that installed it, such as uv tool uninstall ingence. Then delete the project folders you made, and the settings folder (where it is). If you kill the Dashboard instead of stopping it, it can leave a folder in the system’s temporary folder. That folder’s name begins ingence-explorer-. You can delete it.

From a wheel file

Someone may give you a wheel file, such as ingence-0.4.0-py3-none-any.whl. Put its name where the commands above say ingence. Run the command in the folder that holds the file. For example:

uv tool install ingence-0.4.0-py3-none-any.whl

To upgrade, install the newer file in the same way, with --force for uv tool install.

From the source, to change the code

Clone the repository at github.com/andrewbazley/ingence. Then, with Python 3.12, 3.13 or 3.14:

git clone https://github.com/andrewbazley/ingence
cd ingence
python3.12 -m venv .venv
.venv/bin/python -m pip install -e ".[dev,content]"
.venv/bin/ingence --version

With uv, run uv venv --python 3.12, then uv pip install -e ".[dev,content]". The dev part adds the test and lint tools. The browser part adds the Dashboard’s browser tests.

Next: Open the Dashboard.