Installation#
System Requirements#
Python 3.10 or newer
Installation from PyPI#
The simplest way to install JEDI is to use pip.
$ pip install --upgrade strainjedi
The above command should work if you are using a virtual environment, Conda, or some other user-level Python installation.
If your Python/pip was provided by a system administrator or package manager, you might not have appropriate permissions to install JEDI. Additionally, pip itself might complain about potentially breaking your system packages. In that case, install with e.g.
$ pip install --upgrade --user strainjedi
If that for some reasons still does not work, try the steps below as if you were working on a Python project.
Using JEDI in your projects#
If you’re intending to use JEDI in one of your python projects, add it to your dependencies in pyproject.toml:
[project]
dependencies = [
"strainjedi>=1.0.0",
]
Or, when you’re using uv to manage your dependencies (you should):
$ uv add strainjedi
$ uv sync
Alternatively, consult the documentation of your favourite Python dependency manager.
Installing from source#
For the latest and greatest code updates, you can install JEDI from Git.
$ pip install --upgrade git+https://github.com/neudecker-group/jedi@main
The --upgrade option ensures that pip always reinstalls, even if the version number has not changed.