Data structure for working with Jupyter notebooks (ipynb).

LTS Haskell 22.29:0.2@rev:1
Stackage Nightly 2024-07-13:0.2@rev:1
Latest on Hackage:0.2@rev:1

See all snapshots ipynb appears in

BSD-3-Clause licensed by John MacFarlane
Maintained by [email protected]
This version can be pinned in stack with:ipynb-0.2@sha256:d3ec93f44fac7ddeb06e5419d0577321831cc903ecb176ca6be5015c55e9893a,1906

Module documentation for 0.2

ipynb defines a data structure for representing Jupyter notebooks, along with ToJSON and FromJSON instances for conversion to and from JSON .ipynb files.


Revision history for ipynb

0.2 – 2022-01-11

  • Make MimeAttachments a newtype, and export it [API change]. Derive ToJSON, ToEncoding using generics for deterministic field order.

  • Add Ord instance for MimeBundle and MimeData. [API change]

  • Derive ToJSON for MimeBundle, with a deterministic order of keys.

  • Add ToJSON instance for MimeData [API change].

  • Make JSONMeta a newtype and export it [API change]. Derive ToJSON with a deterministic order of keys.

  • Add cellId field to Cell (#2). [API change] Needed for Nb4.5+. – 2020-10-23

  • Changes for aeson 2 compatibility.

  • Simplified round trip test to avoid use of aeson-diff, which doesn’t work with aeson 2. – 2020-04-25

  • Fixed to build with base64-bytestring 1.1. – 2019-01-22

  • Initial release.