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.

Files for datawrapper, version 0.4.3
Filename, size File type Python version Upload date Hashes
Filename, size datawrapper-0.4.3-py2.py3-none-any.whl (10.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size datawrapper-0.4.3.tar.gz (49.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page