Skip to main content

Climate Finance data

Project description

pypi python Code style: black

The climate finance package

climate-finance is the python package to get, clean, and work with international public climate finance.

You can use this package to get, rebuild, remix, and create using our tools and methodologies — all with only a few lines of code.

Climate finance data is notoriously difficult to work with. It's messy - really messy - and comes in all sorts of shapes and sizes, scattered across multiple websites.

It took us months to understand which climate finance data to use, and even longer to clean the data ready for the Climate Finance Files.

We don't think you should have to do this too.

We have built climate-finance to lower the barriers to access that many organisations face when seeking to conduct research or advocacy on these topics. For too long, bad data has restricted climate accoutability. And for too long, global leaders have capitalised on bad data to dictate the narrative on climate finance.

We hope these tools equip everyone with the data to hold global leaders accountable in the fight against climate change. As currently, they are not doing enough.

Getting started

This package provides a set of tools to help you work with climate finance data. It can be used to:

  • download data from the OECD databases (The Creditor Reporting System (CRS) and the Climate-related Development Finance database (CRDF))
  • download data from the UNFCCC data portal
  • clean and harmonise data from the different sources
  • convert climate finance data to different currencies and prices

Set up

The Climate Finance package is composed of many different tools to download, process and analyse data.

To get started, you will need to install the package. You can do this from pipy using pip:

pip install climate_finance --upgrade

or directly from the source code:

pip install git+https://github.com/ONEcampaign/climate-finance-package.git

Basic Usage

The first step when using the Climate Finance package should be to set a working directory where the data will be stored. This can be done importing using the set_climate_finance_data_path function:

from climate_finance import set_climate_finance_data_path

set_climate_finance_data_path('path/to/your/data')

The easiest way to interact with the data is through the ClimateData class.

For a detailed overview of how to use the ClimateData class, please see its documentation.

Questions? Would like to collaborate?

We want this package to help others analyse climate finance data. If you want to collaborate, or have any questions, please reach out.

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

climate_finance-1.2.2.tar.gz (110.5 kB view details)

Uploaded Source

Built Distribution

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

climate_finance-1.2.2-py3-none-any.whl (138.2 kB view details)

Uploaded Python 3

File details

Details for the file climate_finance-1.2.2.tar.gz.

File metadata

  • Download URL: climate_finance-1.2.2.tar.gz
  • Upload date:
  • Size: 110.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for climate_finance-1.2.2.tar.gz
Algorithm Hash digest
SHA256 eba775043c75c8aa231fa7cfc7784863a32a99bb5eb2c7fb3a380f1f6b80d738
MD5 0dee4ae870b735db339f37b28a42c524
BLAKE2b-256 9a280322cddd571451bd13d7c598325436893084944de5ea08a6ce47796831c9

See more details on using hashes here.

File details

Details for the file climate_finance-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: climate_finance-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 138.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for climate_finance-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 26cbff8f9820f578fb19ba8fe00fbd2c08ac0844014314545baf4e8b67b76b37
MD5 b65cde4d79575c76903c2413e58a1383
BLAKE2b-256 caa913c7f7affd1ca9f9c582124fd69b81b22dee2b8739e24bdf4a45a18dd07a

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