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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file itr-1.0.5.tar.gz
.
File metadata
- Download URL: itr-1.0.5.tar.gz
- Upload date:
- Size: 110.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efd4e8e20fd7d58f7c26046b99ad45acde77d0743d09287fe3ea33be8baa893c |
|
MD5 | d39b797b578bc3adaeca2b5e6c90bca6 |
|
BLAKE2b-256 | d0283693aa6d7ec6f889827a95b8f1780e4590f3ce3e77144d213742264e4c29 |
File details
Details for the file itr-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: itr-1.0.5-py3-none-any.whl
- Upload date:
- Size: 118.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7c93a3a1b047c70e941537c9a17f82197d3ce1b724a6181968de0ea78bdff20 |
|
MD5 | d865334569235b2f2de80097a57a77bf |
|
BLAKE2b-256 | 8d8531827b565fe3d3afbf0a829abd902a01f40a924a3b7fa5b1849b520e102b |