A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

climate-finance

Is the python package to get, clean, and work with international public climate finance.
https://github.com/onecampaign/climate-finance-package

Category: Sustainable Development
Sub Category: Sustainable Investment

Last synced: about 9 hours ago
JSON representation

Repository metadata

Get, clean, and work with international public climate finance

README.md

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.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 7 days ago

Total Commits: 280
Total Committers: 2
Avg Commits per committer: 140.0
Development Distribution Score (DDS): 0.054

Commits in past year: 59
Committers in past year: 1
Avg Commits per committer in past year: 59.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Jorge Rivera j****a@o****g 265
Mattie-P 1****P 15

Committer domains:


Issue and Pull Request metadata

Last synced: about 9 hours ago

Total issues: 89
Total pull requests: 69
Average time to close issues: 2 months
Average time to close pull requests: about 12 hours
Total issue authors: 3
Total pull request authors: 2
Average comments per issue: 0.13
Average comments per pull request: 0.04
Merged pull request: 64
Bot issues: 0
Bot pull requests: 2

Past year issues: 4
Past year pull requests: 9
Past year average time to close issues: 14 days
Past year average time to close pull requests: 1 minute
Past year issue authors: 3
Past year pull request authors: 1
Past year average comments per issue: 1.25
Past year average comments per pull request: 0.11
Past year merged pull request: 9
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/onecampaign/climate-finance-package

Top Issue Authors

  • jm-rivera (81)
  • Mattie-P (7)
  • AidanGeel (1)

Top Pull Request Authors

  • jm-rivera (67)
  • dependabot[bot] (2)

Top Issue Labels

  • enhancement (52)
  • documentation (25)
  • bug (6)
  • tests (5)
  • multilateral (2)

Top Pull Request Labels

  • enhancement (10)
  • dependencies (2)
  • documentation (1)

Package metadata

pypi.org: climate-finance

Climate Finance data

  • Homepage:
  • Documentation: https://climate-finance.readthedocs.io/
  • Licenses: MIT
  • Latest release: 1.1.2 (published about 1 month ago)
  • Last Synced: 2025-04-26T14:01:10.695Z (1 day ago)
  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 301 Last month
  • Rankings:
    • Dependent packages count: 9.607%
    • Average: 36.496%
    • Dependent repos count: 63.384%
  • Maintainers (1)

Dependencies

.github/workflows/CI.yaml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/release.yaml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • pypa/gh-action-pypi-publish release/v1 composite
  • softprops/action-gh-release v1 composite
poetry.lock pypi
  • anyio 4.0.0
  • attrs 23.1.0
  • bblocks 1.1.1
  • beautifulsoup4 4.12.2
  • black 23.10.0
  • bump2version 1.0.1
  • camelot-py 0.10.1
  • certifi 2023.7.22
  • cffi 1.16.0
  • chardet 5.2.0
  • charset-normalizer 3.3.0
  • click 8.1.7
  • colorama 0.4.6
  • country-converter 1.0.0
  • coverage 7.3.2
  • cryptography 41.0.4
  • et-xmlfile 1.1.0
  • exceptiongroup 1.1.3
  • h11 0.14.0
  • httpcore 0.16.3
  • httpx 0.23.3
  • idna 3.4
  • iniconfig 2.0.0
  • iso3166 2.1.1
  • levenshtein 0.23.0
  • lxml 4.9.3
  • mypy-extensions 1.0.0
  • numpy 1.25.2
  • oda-data 1.0.7
  • opencv-python 4.8.1.78
  • openpyxl 3.1.2
  • outcome 1.3.0
  • packaging 23.2
  • pandas 1.5.3
  • pathspec 0.11.2
  • pdfminer-six 20221105
  • platformdirs 3.11.0
  • pluggy 1.3.0
  • pyarrow 12.0.1
  • pycparser 2.21
  • pydeflate 1.3.8
  • pyjstat 2.4.0
  • pypdf2 2.12.1
  • pysocks 1.7.1
  • pytest 7.4.2
  • pytest-cov 4.1.0
  • python-dateutil 2.8.2
  • python-dotenv 1.0.0
  • python-levenshtein 0.23.0
  • pytz 2023.3.post1
  • pyyaml 6.0.1
  • rapidfuzz 3.4.0
  • requests 2.31.0
  • rfc3986 1.5.0
  • selenium 4.14.0
  • six 1.16.0
  • sniffio 1.3.0
  • sortedcontainers 2.4.0
  • soupsieve 2.5
  • tabulate 0.9.0
  • thefuzz 0.19.0
  • tomli 2.0.1
  • trio 0.22.2
  • trio-websocket 0.11.1
  • typing-extensions 4.8.0
  • urllib3 2.0.7
  • wbgapi 1.0.12
  • webdriver-manager 4.0.1
  • weo 0.7.4
  • wsproto 1.2.0
  • xlrd 2.0.1
pyproject.toml pypi
  • bblocks ^1.1.1
  • numpy ^1.25.1
  • oda-data ^1.0.4
  • openpyxl ^3.1.2
  • pandas <2.0
  • python ^3.10
  • requests ^2.31.0
  • selenium ^4.10.0
  • thefuzz ^0.19.0
  • webdriver-manager ^4.0.0

Score: 8.48301573961465