All Projects → ScienceBasedTargets → SBTi-finance-tool

ScienceBasedTargets / SBTi-finance-tool

Licence: MIT license
This toolkit 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. See the wiki for a change log.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to SBTi-finance-tool

pcmdi metrics
Self contained packages to run PCMDI Metrics
Stars: ✭ 44 (+12.82%)
Mutual labels:  climate-data, climate-model, climate-science
pytr
Use TradeRepublic in terminal and mass download all documents
Stars: ✭ 141 (+261.54%)
Mutual labels:  portfolio, finance
simple portfolio
Export trades from Robinhood and run basic reporting on portfolio performance
Stars: ✭ 17 (-56.41%)
Mutual labels:  portfolio, finance
FinanceKit
FinanceKit is a Framework for iOS and Mac to build apps working with financial data, like money, currencies, stocks, portfolio, transactions and other concepts.
Stars: ✭ 15 (-61.54%)
Mutual labels:  portfolio, finance
awesome-climate-data
Data sources, programming libraries and open source organisations that are working on the climate emergency
Stars: ✭ 17 (-56.41%)
Mutual labels:  climate-data, climate-science
open-climate-investing
Application and data for analyzing and structuring portfolios for climate investing.
Stars: ✭ 20 (-48.72%)
Mutual labels:  finance, climate-data
crypto-portfolio
A CLI Cyrptocurrency Portfolio Tracker
Stars: ✭ 12 (-69.23%)
Mutual labels:  portfolio, finance
Python Trading Robot
A trading robot, that can submit basic orders in an automated fashion using the TD API.
Stars: ✭ 235 (+502.56%)
Mutual labels:  portfolio, finance
Alpha Mind
quantitative security portfolio analysis. The analysis pipeline including data storage abstraction, alpha calculation, ML based alpha combining and portfolio calculation.
Stars: ✭ 171 (+338.46%)
Mutual labels:  portfolio, finance
Node Finance
Module for portfolio optimization, prices and options
Stars: ✭ 101 (+158.97%)
Mutual labels:  portfolio, finance
xcast
A High-Performance Data Science Toolkit for the Earth Sciences
Stars: ✭ 28 (-28.21%)
Mutual labels:  climate-data, climate-science
hockeystick
Download and Visualize Essential Global Heating Data in R
Stars: ✭ 42 (+7.69%)
Mutual labels:  climate-data, climate-science
okama
Investment portfolio and stocks analyzing tools for Python with free historical data
Stars: ✭ 87 (+123.08%)
Mutual labels:  portfolio, finance
AIPortfolio
Use AI to generate a optimized stock portfolio
Stars: ✭ 28 (-28.21%)
Mutual labels:  portfolio, finance
aerobulk
AeroBulk is a modern-FORTRAN-based package/library that gathers state-of-the-art aerodynamic bulk formulae algorithms used to compute turbulent air-sea fluxes of momentum, heat and freshwater.
Stars: ✭ 24 (-38.46%)
Mutual labels:  climate-data, climate-model
lakshmi
Investing library and command-line interface inspired by the Bogleheads philosophy
Stars: ✭ 107 (+174.36%)
Mutual labels:  portfolio, finance
template portfolio
A template for your own Portfolio.
Stars: ✭ 15 (-61.54%)
Mutual labels:  portfolio
kkndme
kkndme聊房,数据整理自天涯。提供HTML、PDF和Markdown三种形式。
Stars: ✭ 752 (+1828.21%)
Mutual labels:  finance
hugo-toha.github.io
An example hugo static site with Toha theme.
Stars: ✭ 59 (+51.28%)
Mutual labels:  portfolio
sb2nov.github.io
Sourabh's portfolio
Stars: ✭ 32 (-17.95%)
Mutual labels:  portfolio

Visit https://sciencebasedtargets.github.io/SBTi-finance-tool/ for the full documentation

If you have any additional questions or comments send a mail to: [email protected]

SBTi Temperature Alignment 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.

This tool can be used either as a standalone Python package, a REST API or as a simple webapp which provides a simple skin on the API. So, the SBTi toolkit caters for three types of usage:

  • Users can integrate the Python package in their codebase
  • The tool can be included as a Microservice (containerised REST API) in any IT infrastructure (in the cloud or on premise)
  • As an webapp, exposing the functionality with a simple user interface.

To following diagram provides an overview of the different parts of the toolkit:

+-------------------------------------------------+
|   UI     : Simple user interface on top of API  |
|   Install: via dockerhub                        |
|            docker.io/sbti/ui:latest             |
|                                                 |
| +-----------------------------------------+     |
| | REST API: Dockerized FastAPI/NGINX      |     |
| | Source : github.com/OFBDABV/SBTi_api    |     |
| | Install: via source or dockerhub        |     |
| |          docker.io/sbti/sbti/api:latest |     |
| |                                         |     |
| | +---------------------------------+     |     |
| | |                                 |     |     |
| | |Core   : Python Module           |     |     |
| | |Source : github.com/ScienceBasedTargets/     |
| | |               SBTi-finance-tool |     |     |
| | |Install: via source or PyPi      |     |     |
| | |                                 |     |     |
| | +---------------------------------+     |     |
| +-----------------------------------------+     |
+-------------------------------------------------+

As shown above the API is dependent on the Python Repo, in the same way the UI requires the API backend. These dependencies are scripted in the Docker files.

This repository only contains the Python module. If you'd like to use the REST API, please refer to this repository or the same repository on Dockerhub.

Structure

The folder structure for this project is as follows:

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

Installation

The SBTi 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 sbti

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].