Right, I can definitely do some of this in Python, but I'm (stubbornly) trying to keep the CLI toolchain to one step (xsltproc). Long-term, with a friendlier interface, or building within SMC, it may not make any difference.
XSL makes certain hard things extremely easy, and makes certain trivial things a PITA. Gotta pick your poison, I guess... On Wednesday, September 28, 2016 at 11:40:36 AM UTC-7, Harald Schilly wrote: > > On Wed, Sep 28, 2016 at 8:13 PM, William Stein <[email protected] > <javascript:>> wrote: > > We really need to write a python library to do this asap > > though... (maybe Hal Snyder <[email protected] <javascript:>> will...) > > The ipynb2sagews I wrote has all the key abstractions for extracting > this into a lib: > > > https://github.com/sagemathinc/smc/blob/master/src/smc_pyutil/smc_pyutil/ipynb2sagews.py#L130 > > > However, Robert is living in the XSLT world and just works with the > json-lines directly :-) > > -- harald > -- You received this message because you are subscribed to the Google Groups "sage-cloud" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cloud/982aa319-9214-49cb-b5a4-735c23a08d2b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
