Skip to main content

A python module for including beautiful charts in Markdown for conversion to HTML

Project description

History

Doodl was inspired by the glasseye package written by Simon Raper at CoppeliaMLA. Like glasseye, doodl brings together three things:

  1. The markdown markup language (and, in particular, the pandoc extensions to markdown)
  2. The Tufte wide margin layout The Tufte layout makes extensive use of a wide margin to display notes, images and charts. Tufte layout
  3. Data visualization using d3

The original version was groundbreaking when it was written in 2015, but it was essentially a personal project that Raper kindly made available to others as a courtesy. It was not intended to be a generally usable tool. Our version differs from the original in the following ways:

  1. We have upgraded the version of Python from the original 2.7 to 3.12.
  2. We have upgraded the version of d3 from version 6 to version 7.9.0 (the latest stable version).
  3. As a result of upgrading d3, all of the chart implementations have been almost completely rewritten.
  4. We have changed the build implementation to use make, and have removed any dependencies or references to hard coded personal folder names.
  5. We have added a number of new chart types that were not in the original version.
  6. The generated Javascript bundles are now referenced from CDNs instead of locally.
  7. We have added the ability to add many, many other sources of visualizations using Laurent P. René de Cotret's Pandoc-Plot package
  8. The package now consists of a python script (what you get when you type "doodl" on the command line), and three remotely hosted files (two CSS and one Javascript).
  9. We have also made it possible to use custom charts, implemented outside of doodl.

The result is that making and formatting a new document is now just a matter of installing doodl, creating a new markdown document, and running doodl on the document, which creates an equivalent HTML document (possibly including image files in a plots folder, generated by Pandoc-Plot).

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

doodl-0.8.0.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

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

doodl-0.8.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file doodl-0.8.0.tar.gz.

File metadata

  • Download URL: doodl-0.8.0.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for doodl-0.8.0.tar.gz
Algorithm Hash digest
SHA256 050b4665a4a08eabf623c49d386a5f420db408e9c7d53eb3c9a5ceec0411f9c7
MD5 e2994d22b3c8252baded64d9e648a8af
BLAKE2b-256 2801a09a9aaa40488296be4413e39979ff3793607ec1188764e38e259c67f704

See more details on using hashes here.

File details

Details for the file doodl-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: doodl-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for doodl-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4335460864eb12bb843e156f7e5d8c90ef2c1b06b304d1ed23d190d374f2b12
MD5 fc66c76d873a168129062e48b7bdefcc
BLAKE2b-256 49606f835ec780898f16aa3d856668bb45e68bcfcd9b4e7022c22b272dbc84a6

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