Installation

Note

lftools-uv requires Python 3.11.5 or later. Install it into a virtual environment, or with a tool that manages one for you such as uv. Installing into the system Python can have serious negative side effects!

For Install

lftools-uv is available on PyPI. Install it with uv pip install lftools-uv or pip install lftools-uv in your virtual environment. Optional features such as LDAP support are extras, for example pip install "lftools-uv[ldap]". The openstack commands need no extra; the openstack extra remains, empty, so that callers that name it keep working.

For CI, use the pinned extra, for example uvx "lftools-uv[pinned]". A plain install resolves the dependencies to the newest versions the ranges in pyproject.toml allow; pinned holds each core dependency at the version uv.lock records for that release, the set its tests ran on. It combines with other extras, as in "lftools-uv[pinned,ldap]", but pins the core dependencies and nothing else: a package that the ldap or zulip extra brings, and the core does not, is not pinned. The extra exists in the published sdist and wheel, which tox -e build produces, and not in pyproject.toml.

The package installs the lftools-uv command. It does not install the lftools command from legacy lftools.

For Development

Often during development you want to run tests and/or try code out locally as you change it. To do this you need the installation of lftools-uv to be your local git repo. From a clone of the repository, run make install-dev, which runs uv sync with the development, test, documentation, LDAP and OpenStack extras.