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
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.2.tar.gz
.
File metadata
- Download URL: ITR-1.0.2.tar.gz
- Upload date:
- Size: 56.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c050eb8129a72e8425a906a7d5b4ba2d9ae8642febecaf509b7f106dc77a5c53 |
|
MD5 | c6d7c67d95d148d2c2f4c96c8f356324 |
|
BLAKE2b-256 | dcabe129e2e5071ccec1efd98ee61524ba2977c6b0ac3f5862a8b783dfeabbe5 |
File details
Details for the file ITR-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: ITR-1.0.2-py3-none-any.whl
- Upload date:
- Size: 48.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 938cd87d5b562c845045da04327fc61c8c69f8736ed60ac94a458349bebcf7be |
|
MD5 | 5cafe330706f6506bb4d94733bac407c |
|
BLAKE2b-256 | c2ea5e8c056961297d6dc307bfbfce6dcc0af81a1f24ba105938690eee28761f |