Skip to main content

Assess the temperature alignment of current targets, commitments, and investment and lending portfolios.

Project description

ITR

This Python module implements the ITR methodology.

Getting started with the user interface:

If you use Anaconda environments, open an Anaconda prompt window, navigate to the 'examples' directory and run:

conda env create -f environment.yml
conda activate itr_ui
python ITR_UI.py

For virtual environments, open a command prompt/terminal window, navigate to the 'examples' directory and run:

python3 -m venv itr_ui

On Unix or MacOS, activate the environment with

source itr_ui/bin/activate

On Windows, activate the environment with

itr_ui\Scripts\activate.bat

Next, run:

python3 -m pip install --upgrade pip
pip install -r requirements.txt
python3 ITR_UI.py

Finally, open a browser window and navigate to http://127.0.0.1:8050/ to access the user interface.

Jupyter notebooks

To work with notebooks from the 'examples' directory please register the kernel from your virtual environment such that it is available in Jupyter. Kernels from Anaconda environments will be available by default. Replace <env_name> in the following command by your environment name (itr_ui or itr_env) and run it in your environment.

python -m ipykernel install --user --name=<env_name>

Start Jupyter by activating your environment and running

jupyter-notebook

Getting started for Contributors/Developers:

If you use Anaconda environments, open an Anaconda prompt window, navigate to the project directory and run:

conda env create -f environment.yml
conda activate itr_env

For virtual environments, open a command prompt/terminal window, navigate to the project directory and run:

python3 -m venv itr_env

On Unix or MacOS, activate the environment with

source itr_env/bin/activate

On Windows, activate the environment with

itr_env\Scripts\activate.bat

Next, run:

python3 -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .[dev]

User Interface

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ITR-1.0.2.tar.gz (56.8 kB view hashes)

Uploaded Source

Built Distribution

ITR-1.0.2-py3-none-any.whl (48.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page