Skip to main content

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.

Metadata

Release files for climate-finance 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for climate-finance 1.2.3
File Size Uploaded
climate_finance-1.2.3.tar.gz 110.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for climate-finance 1.2.3
File Interpreter ABI Platform
climate_finance-1.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 248.7 kB

Release files / climate_finance-1.2.3.tar.gz

Download URL climate_finance-1.2.3.tar.gz
Size 110.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0693261c03052dc5b48e2827c07754a71b3eb2a0c3a6ac434f1d4130f48d52e4
BLAKE2b-256 checksum
How to use checksums
61b87208c6517f6aed5dfd7ba6860de120c0ed8a81665fdbfa7e285682c208bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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}

Release files / climate_finance-1.2.3-py3-none-any.whl

Download URL climate_finance-1.2.3-py3-none-any.whl
Size 138.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c097df3e77f5bad8c9df2b50c0ab9faae6cf11a85dceccf3b4a3322ee9a89e6
BLAKE2b-256 checksum
How to use checksums
8f3621a47d0c85f89ed398b11c6f45d2a10de93080769111850185bd6a22ae1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","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}

Release history Release notifications | RSS feed

This release

1.2.3 This release

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page