
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
.. image:: https://img.shields.io/pypi/v/unfccc_di_api.svg :target: https://pypi.python.org/pypi/unfccc_di_api :alt: PyPI release
.. image:: https://readthedocs.org/projects/unfccc-di-api/badge/?version=main :target: https://unfccc-di-api.readthedocs.io/en/main/ :alt: Documentation
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4457483.svg :target: https://doi.org/10.5281/zenodo.4457483
Python wrapper around the Flexible Query API <https://di.unfccc.int/flex_annex1>
_ of
the UNFCCC.
Due to a recent change in the UNFCCC's API, the UNFCCCApiReader class is not functional any more in standard environments. To continue to access the data, you have two options:
query
function like the
UNFCCCApiReader, but only supports querying for a full dataset with all data. It
relies on our data package <https://doi.org/10.5281/zenodo.4198782>
_, which we
update regularly; however, the data is naturally not as recent as querying from
the API directly.If you use this library and want to cite it, please cite it as:
Mika PflĂźger, Daniel Huppmann & Johannes GĂźtschow. (2024-01-08). pik-primap/unfccc_di_api: Version 4.0.4. Zenodo. https://doi.org/10.5281/zenodo.10471122
If you just want all the data in CSV and parquet format (suitable for reading with
pandas), look at our data package <https://doi.org/10.5281/zenodo.4198782>
_.
.. image:: https://results.pre-commit.ci/badge/github/pik-primap/unfccc_di_api/main.svg :target: https://results.pre-commit.ci/latest/github/pik-primap/unfccc_di_api/main :alt: pre-commit.ci status
unknown measure nr. {measureId}
instead of erroring out.variableId
as index. Also, the query
function now
correctly restricts queries if category_ids
are provided and correctly fills
all categories with data for a multi-category variable.gases
when querying data
and return gases & units normalized to ASCII (optional), thanks to Daniel Huppmann.
Note that gases and units are normalized to ASCII by default, if you need the old
behaviour for compatibility reasons, pass normalize_gas_names=False
to your
query()
calls.FAQs
Python wrapper around the Flexible Query API of the UNFCCC.
We found that unfccc-di-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.