Donfig can be installed from PyPI using pip:
pip install donfig
Donfig is available on the conda-forge conda channel:
conda install -c conda-forge donfig
The current version on github can be installed directly with pip:
pip install git+https://github.com/pytroll/donfig.git
After downloading the source code for donfig from github or other source, the package can be installed in a “development mode” by running:
pip install -e .
This will install the package so that any changes to the source code are immediately reflected in your environment.