Skip to main content

Example code and user interface for the ITR project.

Project description

[!IMPORTANT] On June 26 2024, Linux Foundation announced the merger of its financial services umbrella, the Fintech Open Source Foundation (FINOS), with OS-Climate, an open source community dedicated to building data technologies, modeling, and analytic tools that will drive global capital flows into climate change mitigation and resilience; OS-Climate projects are in the process of transitioning to the FINOS governance framework; read more on finos.org/press/finos-join-forces-os-open-source-climate-sustainability-esg

ITR-examples

Example data and user interface for the ITR project

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

To install the tool (or upgrade to the latest release) run:

python3 -m pip install --upgrade pip
python3 -m pip install --upgrade itr-examples

Now you are ready to run the tool:

itr-ui

You can also load specific content using the syntax:

itr-ui "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, to access the user interface open a browser window and navigate to: http://127.0.0.1:8050/

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 haven't done so already, follow the installation instructions above.

Make sure you have sourced the virtual environment using:

source itr_env/bin/activate

...Or under Windows:

itr_env\Scripts\activate

The commands below will upgrade to the latest release and install the components necessary for development:

python3 -m pip install --upgrade pip
python3 -m pip install --upgrade itr-examples
pip install -e .[dev]

docs/ITR_demo.gif

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_examples-1.1.9.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

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

itr_examples-1.1.9-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file itr_examples-1.1.9.tar.gz.

File metadata

  • Download URL: itr_examples-1.1.9.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for itr_examples-1.1.9.tar.gz
Algorithm Hash digest
SHA256 9808be2ee4387efcfd5f8e0c8700b0cf1be726efcd205a7f76f48606c2cbc083
MD5 2dfec3afac99181e911e49161832f5af
BLAKE2b-256 7e7de7d8d01e641e65acc020ff92d1b8dd5ed0af86b5d20943150ae18c96c20a

See more details on using hashes here.

Provenance

The following attestation bundles were made for itr_examples-1.1.9.tar.gz:

Publisher: release.yaml on os-climate/ITR-examples

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file itr_examples-1.1.9-py3-none-any.whl.

File metadata

  • Download URL: itr_examples-1.1.9-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for itr_examples-1.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1aa8394d69c9f57856689a403faf1ffde227ffd1970cb452c1ba13b64c2cd169
MD5 07b439026d5dc25139ffe4364a4090a5
BLAKE2b-256 790ed429745852fbe3ab5f7bdd0a3f4927a65972d8ab9ab8991d6e36f7ba1bae

See more details on using hashes here.

Provenance

The following attestation bundles were made for itr_examples-1.1.9-py3-none-any.whl:

Publisher: release.yaml on os-climate/ITR-examples

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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