Quick install

Install irfpy.planets with PIP or UV

Normal users are recommended to install irfpy.planets from the distribution server at https://irfpy.irf.se/simple/ .

With using PIP:

% pip install --index-url=https://irfpy.irf.se/simple/ irfpy.planets --pre

With using UV:

% uv pip install --index-url=https://irfpy.irf.se/simple/ irfpy.planets --pre

Note

irfpy.planets is not published on the public PyPI, so always install from the internal server at https://irfpy.irf.se/simple/ . The --pre flag is recommended because new releases are published frequently.

Update irfpy.planets

To update to the latest version:

% pip install --index-url=https://irfpy.irf.se/simple/ irfpy.planets -U --pre
% uv pip install --index-url=https://irfpy.irf.se/simple/ irfpy.planets -U --pre

Check installation

Verify that the package installed correctly:

% pip list | grep irfpy

Then try importing it:

import irfpy.planets
print(irfpy.planets.__version__)

Install from the source code

To develop irfpy.planets library itself, install from the source checkout.

Note

Source code is managed locally at IRF, available upon request.

The simplest installation is to use uv, after checking out the source tree:

% uv sync

UV sync installs the irfpy.planets package from the local source checkout in editable mode, so changes to the source are reflected without reinstalling. (Therefore, –pre is not needed for irfpy.planets to be installed as editable mode.)