{"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-06-11T18:30:20.213Z","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-06-02T15:29:10.000Z","size":427,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-06-06T16:02:43.996Z","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-06-02T15:32:46.000Z","dependencies_parsed_at":"2026-03-30T07:00:34.383Z","dependency_job_id":"353f50f4-8fdd-4a19-96c1-2d11420f2bda","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":34163252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":312,"total_committers":3,"total_bot_commits":171,"total_bot_committers":1,"mean_commits":104.0,"dds":0.45192307692307687,"past_year_total_commits":37,"past_year_total_committers":1,"past_year_total_bot_commits":37,"past_year_total_bot_committers":1,"past_year_mean_commits":37.0,"past_year_dds":0.0,"last_synced_at":"2026-06-08T17:00:53.102Z","last_synced_commit":"24957d09a744805a33459c462421a95a35d6b45f","created_at":"2024-10-10T10:34:42.923Z","updated_at":"2026-06-08T17:00:50.903Z","committers":[{"name":"pre-commit-ci[bot]","email":"66853113+pre-commit-ci[bot]","login":"pre-commit-ci[bot]","count":171},{"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":37}],"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-06-10T00:00:07.748Z","repositories_count":6255010,"commits_count":884231128,"contributors_count":35062048,"owners_count":1164098,"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-06-04T15:00:24.141Z","status":"active","issues_count":2,"pull_requests_count":84,"avg_time_to_close_issue":1808373.0,"avg_time_to_close_pull_request":285579.984375,"issues_closed_count":1,"pull_requests_closed_count":64,"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":64,"bot_issues_count":1,"bot_pull_requests_count":84,"past_year_issues_count":1,"past_year_pull_requests_count":37,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":340093.13636363635,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":22,"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":37,"past_year_merged_pull_requests_count":22,"created_at":"2024-10-10T10:34:49.141Z","updated_at":"2026-06-04T15:00:24.141Z","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":84},"issue_authors":{"mark-sommer":1,"pre-commit-ci[bot]":1},"pull_request_authors":{"pre-commit-ci[bot]":84},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-06-08T00:00:18.161Z","repositories_count":14785402,"issues_count":33468351,"pull_requests_count":110175925,"authors_count":11295995,"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":37},"past_year_issue_authors":{"mark-sommer":1},"past_year_pull_request_authors":{"pre-commit-ci[bot]":37},"maintainers":[],"active_maintainers":[]},"events":{"total":{"DeleteEvent":35,"PullRequestEvent":65,"ForkEvent":1,"IssueCommentEvent":1,"PushEvent":43,"CreateEvent":38},"last_year":{"DeleteEvent":18,"PullRequestEvent":23,"IssueCommentEvent":1,"PushEvent":18,"CreateEvent":17}},"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-06-11T18:30:20.217Z","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"}