Skip to content

Installation and Requirements

Installing

With pip:

To install the current release of the iGrafx P360 Live Mining SDK with pip, simply navigate to the console and type the following command:

pip install igrafx_mining_sdk

Requirements

The requirements of this SDK work with Poetry. Please install it before proceeding further. Eventually, specify poetry env if you handle multiple python versions. The following commands could help you :

which python
poetry env use ~/.pyenv/pyenv-win/versions/your/version

You must also make sure you add Poetry to your PATH.

Afterwards, you can install the dependencies in the .venv virtual environment. This command produces a poetry.lock file that is not versioned to Git.

poetry install

The pyproject.toml contains the projects details and all of the necessary dependencies. If you wish, you can see the versions of the packages used in it.