Skip to main content

A light-weight wrapper for the Datawrapper API.

Project description

datawrapper

https://img.shields.io/pypi/v/datawrapper.svg https://img.shields.io/travis/chekos/datawrapper.svg Documentation Status MyBinder.org badge

This project provides a light-weight Python wrapper for the Datawrapper API (v3), developed by Sergio Sanchez. While it is not developed by Datawrapper officially, you can use it with your API credentials from datawrapper.de

See https://developer.datawrapper.de/docs/getting-started.

Features

  • Retrieve your account information (including folders).

  • Add data to charts, tables or maps.

  • Create charts, tables or maps - and add data from a pandas.DataFrame in one call!

  • Update chart descriptions.

  • Publish charts, tables or maps.

  • Retrieve chart properties, update its metadata, and other information.

  • Display a chart (as output of notebook cell - it gets weird because interactivity ¯\_(ツ)_/¯ )

  • Retrieve a chart, table or map’s iframe code to embed.

  • Export chart as png (still working on the svg and pdf parts).

  • Move charts across folders and organizations.

  • Delete charts.

  • Get a list of all your charts.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.4.3 (2020-04-10)

  • Encode data in UTF-8 by default. Thanks to @alex-pobeditel-2004

0.4.2 (2019-12-17)

  • Bug fixes

0.4.1 (2019-12-17)

  • Added borderWidth param to .export_chart()

0.4.0 (2019-12-17)

  • Added ability to export charts.

0.3.0 (2019-12-12)

  • Added functionality. get_charts(), get_folders(), update_charts(), among others.

0.2.0 (2019-12-11)

  • It actually works!

0.1.0 (2019-12-10)

  • First release on PyPI.

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

datawrapper-0.4.3.tar.gz (49.8 kB view hashes)

Uploaded Source

Built Distribution

datawrapper-0.4.3-py2.py3-none-any.whl (10.4 kB view hashes)

Uploaded Python 2 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