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, elaborated in this Functional Overview. A graphical representation of the fundamental calculations is also available in the docs directory.

Getting started with the user interface:

If you use Anaconda environments, open an Anaconda prompt window, navigate to the root of the ITR release (ITR-develop) and run:

conda env create -f environment.yml
conda activate itr_ui

For virtual environments, open a command prompt/terminal window, navigate to the root of the ITR release 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

Next, run:

python3 -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .

Now you are ready to change to the examples directory and run the tool:

cd examples
python3 ITR_UI.py
python3 ITR_UI.py "data/20230106 ITR V2 Sample Data.xlsx"

Note the python commands are python for windows and python3 for linux/mac. If no file is specified, the tool uses a default, small ITR dataset. With a filename given, the ITR tool will load data from that dataset. The 20230106 data template has over 120 companies across nearly a dozen sectors.

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

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.4.tar.gz (109.1 kB view details)

Uploaded Source

Built Distribution

itr-1.0.4-py3-none-any.whl (116.8 kB view details)

Uploaded Python 3

File details

Details for the file itr-1.0.4.tar.gz.

File metadata

  • Download URL: itr-1.0.4.tar.gz
  • Upload date:
  • Size: 109.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for itr-1.0.4.tar.gz
Algorithm Hash digest
SHA256 9c782b67fd5fce47fe76ccf95b376668ac9c9e99033ad060fe555d572a7f3f13
MD5 7d47e64c7009caad50d9c68e2f04978d
BLAKE2b-256 1b6fb1b040040076d882197459c7f92c1ff69de5f661d9357041f64751805fea

See more details on using hashes here.

File details

Details for the file itr-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: itr-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 116.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for itr-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8c0dc7364e4a27957aa689f9590286c6b3b9ac288b32d54dcd01fbf867b2021b
MD5 a3319c80cb8a27868e2d21b6934776a8
BLAKE2b-256 802fe09930106a09527d17e19a74d610e0896e4f5cd5707981217a9121b38fb8

See more details on using hashes here.

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