Skip to main content

This package helps companies and financial institutions to assess the temperature alignment of current climate reduction targets and commitments for investment and lending portfolios. The tool can also be used to develop targets for official validation by the SBTi.'

Project description

ITR-tool

WWF version of the SBTi-Finance-tool, based on the CDP-WWF Temperature rating methodology

Visit https://wwf-sweden.github.io/ITR-tool/ for the full documentation

If you have any additional questions or comments send a mail to: ekonomi-finans@wwf.se

About the tool

This package helps companies and financial institutions to assess the temperature alignment of current targets, commitments, and investment and lending portfolios, and to use this information to develop targets for official validation by the SBTi.

The WWF Finance toolkit can be used in different ways:

  • Users can integrate the Python package in their codebase
  • Using Notebooks, either locally or on Google Colab

Structure

The folder structure for this project is as follows:

.
├── .github                 # Github specific files (Github Actions workflows)
├── docs                    # Documentation files (Sphinx)
├── config                  # Config files for the Docker container
├── ITR                     # The main Python package for the temperature alignment tool
└── test                    # Automated unit tests for the SBTi package (Nose2 tests)

Installation

The ITR package may be installed using PIP. If you'd like to install it locally use the following command. For testing or production please see the deployment section for further instructions

pip install -e .

For installing the latest stable release in PyPi run:

pip install wwf-itr

Development

To set up the local dev environment with all dependencies, install poetry and run

poetry install

This will create a virtual environment inside the project folder under .venv.

Testing

Each class should be unit tested. The unit tests are written using the Nose2 framework. The setup.py script should have already installed Nose2, so now you may run the tests as follows:

nose2 -v

Publish to PyPi

The package should be published to PyPi when any changes to main are merged.

Update package

  1. bump version in pyproject.toml based on semantic versioning principles
  2. run poetry build
  3. run poetry publish
  4. check whether package has been successfully uploaded

Initial Setup

  • Create account on PyPi

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

wwf_itr-1.5.3.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wwf_itr-1.5.3-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file wwf_itr-1.5.3.tar.gz.

File metadata

  • Download URL: wwf_itr-1.5.3.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.1 Darwin/24.6.0

File hashes

Hashes for wwf_itr-1.5.3.tar.gz
Algorithm Hash digest
SHA256 bf731ca359a2706a15c90c4b237ddc15b641928d26b13fe9b2e434c7383a5a41
MD5 3c5c60954cc4e17e6d49c4bab6a1a3f7
BLAKE2b-256 47396667875bcf34d7e6e5fcc4048a056c5698c5c9f903295f80993ba0451122

See more details on using hashes here.

File details

Details for the file wwf_itr-1.5.3-py3-none-any.whl.

File metadata

  • Download URL: wwf_itr-1.5.3-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.1 Darwin/24.6.0

File hashes

Hashes for wwf_itr-1.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a6ed526fd1c2a566cb4a0f5745f870478cb429fe40c4677b42c994157d93922b
MD5 48727088502fe3e91b749c18d4eaf346
BLAKE2b-256 4851f82dd72934a797031dd59330f8fe8e0e2380f8989352220d9e48f9d87eeb

See more details on using hashes here.

Supported by

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