Skip to main content

Python wrapper around the Flexible Query API of the UNFCCC.

Project description

UNFCCC DI API

PyPI release Documentation https://zenodo.org/badge/DOI/10.5281/zenodo.4457483.svg

Python wrapper around the Flexible Query API of the UNFCCC.

Features

  • High-level API to query all information for a given party.

  • Low-level API to selectively query information with the same resolution as in the UNFCCC web query tool.

Citation

If you use this library and want to cite it, please cite it as:

Mika Pflüger & Daniel Huppmann. (2021-02-09). pik-primap/unfccc_di_api: Version 2.0.0. Zenodo. https://doi.org/10.5281/zenodo.4525036

Data package

If you just want all the data in CSV and parquet format (suitable for reading with pandas), look at our data package.

Changelog

2.0.1 (2021-04-23)

  • Change build system.

2.0.0 (2021-02-09)

  • Accept ASCII format for 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.

1.1.1 (2021-02-08)

  • Include ipython notebooks and CHANGELOG in release tarballs.

1.1.0 (2021-01-25)

  • Add a useful error message when querying for unknown parties, thanks to Daniel Huppmann.

1.0.0 (2021-01-22)

  • Add continuous integration using GitHub actions.

  • Add tests.

  • Add usage documentation in notebook format.

  • Documentation fixes.

0.1.0 (2021-01-22)

  • First release on PyPI.

  • Convert API wrapper into standalone Python package.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unfccc_di_api-2.0.1.tar.gz (21.2 kB view hashes)

Uploaded Source

Built Distribution

unfccc_di_api-2.0.1-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page