Setup
Pipx
The easieast way to use Knwler is via pipx, see this for more details. If installed, simply use
pipx install knwlerand from here on you can use Knwler in your terminal
knwler --file ./my-document.pdf
Pip
Knwler sits in the Pypi repository and it means you can install it like any other Python package
pip install knwlerPoetry
Add Knwler like any other dependency
mkdir trying
cd trying
poetry init -q
poetry env use python3.12
poetry run pip install knwlerUV
UV is the modern alternative to pip and poetry. If you have a new directory, init things like so
mkdir trying
cd trying
uv init
uv add knwlerIf you cloned the code from Github use the usual
uv syncwhich add the core dependencies. You can add all dependencies optional dependencies via
uv sync --all-groupsor only one specific like neo4j with
uv sync --group "neo4j"Things like HelixDB and Neo4j have been moved to optional dependencies so it doesn’t polute the Python env unless you need it in your work.