post2web / nbloader Goto Github PK
View Code? Open in Web Editor NEWReuse code from Jupyter Notebooks
License: MIT License
Reuse code from Jupyter Notebooks
License: MIT License
Only print statements show up which is a bit limiting.
This seems to be because we are executing the code without using the ipython interpreter (exec(cell['code'], self.ns)
) so we may need to look into doing that a bit differently.
First of all, nice work on this package! I'm excited to start using it in one of my projects. One thing that would be helpful is if we were able to add tags that wrap multiple cells.
Looking through the source code, it seems like I can do what I want by adding tags with a certain name to each cell that I want to run so it's not super urgent, but it would be cleaner if we can just mark the beginning and end of a tag.
What we can do now:
# mytag
# mytag
# mytag
# mytag
What I'm proposing:
# begin:mytag
...
...
# end:mytag
I'm still unsure about what syntax we'd want to use for that, but it's the basic idea.
Another fun thought could be to tag cells using markdown headings. I think this could be quite semantic and useful. This might be a nice first step and would keep the API cleaner.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.