Skip to content

Installation

machinable is available on PyPI:

bash
$ pip install machinable

Python version

machinable targets modern Python (3.11+)

Optional extras

ExtraInstallAdds
allpip install machinable[all]numpy + pandas, needed for Collection.as_dataframe() and array analysis
mcppip install machinable[mcp]fastmcp + scipy + pandas for the Agents & MCP server and reference inferences

SQLite requirement

machinable's index uses the SQLite json1 extension. If your Python's bundled SQLite lacks it you will see:

sqlite3.OperationalError: no such function: json_extract

The simplest fix is to install sqlean.py, which machinable detects and uses automatically:

bash
$ pip install sqlean.py

Verify

bash
$ machinable version

Then continue with the Quickstart.

MIT Licensed