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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file datawrapper-0.4.3.tar.gz.

File metadata

  • Download URL: datawrapper-0.4.3.tar.gz
  • Upload date:
  • Size: 49.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for datawrapper-0.4.3.tar.gz
Algorithm Hash digest
SHA256 ac62934cca226d08665624c17287ad33f8edf3449f8ef690eb195d07e781ed6e
MD5 76c4f1d02b48de3e6df4f0beee51c63d
BLAKE2b-256 29410c0ecc9546cf2e55a7cd9e33567fa5a10969429f4aa031b07b1cc7c5fa9b

See more details on using hashes here.

File details

Details for the file datawrapper-0.4.3-py2.py3-none-any.whl.

File metadata

  • Download URL: datawrapper-0.4.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for datawrapper-0.4.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e727e9207ba913cae1ba06b0cb55c596ee5f605369a93ecaa3df139688015b4a
MD5 c72bf4ab6311077351ca67235f131fd1
BLAKE2b-256 1c44826b352234179ce59243fa9060981c411c5dcc38fcd353839d7a54ad9db3

See more details on using hashes here.

Supported by

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