{"id":9144,"name":"UNFCCC DI API","description":"Data access to the total greenhouse gas emissions by country reported to the United Nations Framework Convention on Climate Change (UNFCCC).","url":"https://github.com/primap-community/unfccc_di_api","last_synced_at":"2026-04-06T10:30:16.607Z","repository":{"id":37929281,"uuid":"331891730","full_name":"primap-community/unfccc_di_api","owner":"primap-community","description":"Python wrapper around the Flexible Query API of the UNFCCC.","archived":false,"fork":false,"pushed_at":"2026-03-17T10:35:01.000Z","size":413,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-22T15:31:47.926Z","etag":null,"topics":["climate-data","unfccc"],"latest_commit_sha":null,"homepage":"https://unfccc-di-api.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/primap-community.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-01-22T09:02:57.000Z","updated_at":"2026-03-17T10:35:04.000Z","dependencies_parsed_at":"2026-02-19T12:01:13.151Z","dependency_job_id":null,"html_url":"https://github.com/primap-community/unfccc_di_api","commit_stats":{"total_commits":201,"total_committers":3,"mean_commits":67.0,"dds":"0.42288557213930345","last_synced_commit":"103302049634934e031e417a970ec14ab0dccb64"},"previous_names":["primap-community/unfccc_di_api","pik-primap/unfccc_di_api"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/primap-community/unfccc_di_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primap-community%2Funfccc_di_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primap-community%2Funfccc_di_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primap-community%2Funfccc_di_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primap-community%2Funfccc_di_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primap-community","download_url":"https://codeload.github.com/primap-community/unfccc_di_api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primap-community%2Funfccc_di_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31087348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-28T02:23:35.801Z","status":"ssl_error","status_checked_at":"2026-03-28T02:23:32.528Z","response_time":79,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"owner":{"login":"primap-community","name":"PRIMAP","uuid":"114724539","kind":"organization","description":"","email":null,"website":null,"location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/114724539?v=4","repositories_count":1,"last_synced_at":"2023-03-05T19:48:36.725Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/primap-community","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2023-03-05T19:48:36.726Z","updated_at":"2023-03-05T19:48:36.726Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primap-community","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primap-community/repositories"},"packages":[],"commits":{"id":2575727,"full_name":"primap-community/unfccc_di_api","default_branch":"main","total_commits":307,"total_committers":3,"total_bot_commits":166,"total_bot_committers":1,"mean_commits":102.33333333333333,"dds":0.4592833876221498,"past_year_total_commits":39,"past_year_total_committers":1,"past_year_total_bot_commits":39,"past_year_total_bot_committers":1,"past_year_mean_commits":39.0,"past_year_dds":0.0,"last_synced_at":"2026-04-03T09:02:25.040Z","last_synced_commit":"fcbf4b421e01895bb2db50736e4b678da80a061c","created_at":"2024-10-10T10:34:42.923Z","updated_at":"2026-04-03T09:02:05.857Z","committers":[{"name":"pre-commit-ci[bot]","email":"66853113+pre-commit-ci[bot]","login":"pre-commit-ci[bot]","count":166},{"name":"Mika Pflüger","email":"mika.pflueger@pik-potsdam.de","login":"mikapfl","count":133},{"name":"Daniel Huppmann","email":"dh@dergelbesalon.at","login":"danielhuppmann","count":8}],"past_year_committers":[{"name":"pre-commit-ci[bot]","email":"66853113+pre-commit-ci[bot]","login":"pre-commit-ci[bot]","count":39}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/primap-community%2Funfccc_di_api/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-05T00:00:09.419Z","repositories_count":6210889,"commits_count":926043117,"contributors_count":35750694,"owners_count":1144630,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"primap-community/unfccc_di_api","html_url":"https://github.com/primap-community/unfccc_di_api","last_synced_at":"2026-04-01T08:00:23.255Z","status":"active","issues_count":2,"pull_requests_count":81,"avg_time_to_close_issue":1808373.0,"avg_time_to_close_pull_request":256994.68852459016,"issues_closed_count":1,"pull_requests_closed_count":61,"pull_request_authors_count":1,"issue_authors_count":2,"avg_comments_per_issue":4.5,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":61,"bot_issues_count":1,"bot_pull_requests_count":81,"past_year_issues_count":1,"past_year_pull_requests_count":50,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":236714.65625,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":32,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":9.0,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":50,"past_year_merged_pull_requests_count":32,"created_at":"2024-10-10T10:34:49.141Z","updated_at":"2026-04-01T08:00:23.256Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/primap-community%2Funfccc_di_api","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/primap-community%2Funfccc_di_api/issues","issue_labels_count":{},"pull_request_labels_count":{},"issue_author_associations_count":{"NONE":1,"CONTRIBUTOR":1},"pull_request_author_associations_count":{"CONTRIBUTOR":81},"issue_authors":{"mark-sommer":1,"pre-commit-ci[bot]":1},"pull_request_authors":{"pre-commit-ci[bot]":81},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-03T00:00:08.051Z","repositories_count":14057057,"issues_count":34385588,"pull_requests_count":112384995,"authors_count":11219742,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"NONE":1},"past_year_pull_request_author_associations_count":{"CONTRIBUTOR":50},"past_year_issue_authors":{"mark-sommer":1},"past_year_pull_request_authors":{"pre-commit-ci[bot]":50},"maintainers":[],"active_maintainers":[]},"events":{"total":{"DeleteEvent":34,"PullRequestEvent":63,"ForkEvent":1,"IssueCommentEvent":1,"PushEvent":40,"CreateEvent":36},"last_year":{"DeleteEvent":21,"PullRequestEvent":34,"IssueCommentEvent":1,"PushEvent":20,"CreateEvent":22}},"keywords":["climate-data","unfccc"],"dependencies":[{"ecosystem":"pypi","filepath":"docs/requirements.txt","sha":null,"kind":"manifest","created_at":"2022-07-20T00:48:55.275Z","updated_at":"2022-07-20T00:48:55.275Z","repository_link":"https://github.com/primap-community/unfccc_di_api/blob/main/docs/requirements.txt","dependencies":[{"id":276693991,"package_name":"ipykernel","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false},{"id":276693992,"package_name":"nbsphinx","ecosystem":"pypi","requirements":"*","direct":true,"kind":"runtime","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/ci.yml","sha":null,"kind":"manifest","created_at":"2023-02-19T12:01:12.085Z","updated_at":"2023-02-19T12:01:12.085Z","repository_link":"https://github.com/primap-community/unfccc_di_api/blob/main/.github/workflows/ci.yml","dependencies":[{"id":7787570234,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":7787570235,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false},{"id":7787570236,"package_name":"codecov/codecov-action","ecosystem":"actions","requirements":"v2","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"pypi","filepath":"pyproject.toml","sha":null,"kind":"manifest","created_at":"2023-12-04T10:48:08.251Z","updated_at":"2023-12-04T10:48:08.251Z","repository_link":"https://github.com/primap-community/unfccc_di_api/blob/main/pyproject.toml","dependencies":[]},{"ecosystem":"pypi","filepath":"requirements.txt","sha":null,"kind":"manifest","created_at":"2023-12-04T10:48:08.257Z","updated_at":"2023-12-04T10:48:08.257Z","repository_link":"https://github.com/primap-community/unfccc_di_api/blob/main/requirements.txt","dependencies":[]},{"ecosystem":"pypi","filepath":"requirements_dev.txt","sha":null,"kind":"manifest","created_at":"2023-12-04T10:48:08.262Z","updated_at":"2023-12-04T10:48:08.262Z","repository_link":"https://github.com/primap-community/unfccc_di_api/blob/main/requirements_dev.txt","dependencies":[]},{"ecosystem":"pypi","filepath":"setup.py","sha":null,"kind":"manifest","created_at":"2023-12-04T10:48:08.266Z","updated_at":"2023-12-04T10:48:08.266Z","repository_link":"https://github.com/primap-community/unfccc_di_api/blob/main/setup.py","dependencies":[]}],"score":3.401197381662156,"created_at":"2023-09-11T14:36:09.978Z","updated_at":"2026-04-06T10:30:16.608Z","avatar_url":"https://github.com/primap-community.png","language":"Python","category":"Emissions","sub_category":"Emission Observation and Modeling","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"=============\nUNFCCC DI API\n=============\n\n\n.. image:: https://img.shields.io/pypi/v/unfccc_di_api.svg\n        :target: https://pypi.python.org/pypi/unfccc_di_api\n        :alt: PyPI release\n\n.. image:: https://readthedocs.org/projects/unfccc-di-api/badge/?version=main\n        :target: https://unfccc-di-api.readthedocs.io/en/main/\n        :alt: Documentation\n\n.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4457483.svg\n   :target: https://doi.org/10.5281/zenodo.4457483\n\n\nPython wrapper around the `Flexible Query API \u003chttps://di.unfccc.int/flex_annex1\u003e`_ of\nthe UNFCCC.\n\n\n* Free software: Apache Software License 2.0\n* Documentation: https://unfccc-di-api.readthedocs.io.\n\nWarning\n-------\n\nDue to a recent change in the UNFCCC's API, the UNFCCCApiReader class is\n**not functional** any more in standard environments. To continue to access the data,\nyou have two options:\n\n1. Use the new ZenodoReader. It provides access using the `query` function like the\n   UNFCCCApiReader, but only supports querying for a full dataset with all data. It\n   relies on our `data package \u003chttps://doi.org/10.5281/zenodo.4198782\u003e`_, which we\n   update regularly; however, the data is naturally not as recent as querying from\n   the API directly.\n2. Run your functions in an environment which is not blocked by the UNFCCC DI API.\n   According to our tests, Azure virtual machines work, as well as github hosted\n   runners, with the exception of Mac OS runners.\n\n\nFeatures\n--------\n\n* High-level API to query all information for a given party.\n* Low-level API to selectively query information with the same resolution as in the\n  UNFCCC web query tool.\n\nCitation\n--------\nIf you use this library and want to cite it, please cite it as:\n\nMika Pflüger, Daniel Huppmann \u0026 Johannes Gütschow. (2024-01-08).\npik-primap/unfccc_di_api: Version 4.0.4.\nZenodo. https://doi.org/10.5281/zenodo.10471122\n\nData package\n------------\nIf you just want all the data in CSV and parquet format (suitable for reading with\npandas), look at our `data package \u003chttps://doi.org/10.5281/zenodo.4198782\u003e`_.\n\nCI status and other links\n-------------------------\n\n.. image:: https://results.pre-commit.ci/badge/github/pik-primap/unfccc_di_api/main.svg\n   :target: https://results.pre-commit.ci/latest/github/pik-primap/unfccc_di_api/main\n   :alt: pre-commit.ci status\n","funding_links":[],"readme_doi_urls":["https://doi.org/10.5281/zenodo.4457483","https://doi.org/10.5281/zenodo.4198782","https://doi.org/10.5281/zenodo.10471122"],"works":{"https://doi.org/10.5281/zenodo.4457483":null,"https://doi.org/10.5281/zenodo.4198782":null,"https://doi.org/10.5281/zenodo.8160056":null},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["energy-system-model","energy-system","climate-change","climate-policy","accessor"],"project_url":"https://ost.ecosyste.ms/api/v1/projects/9144","html_url":"https://ost.ecosyste.ms/projects/9144"}