New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explore ipython/jupyter notebooks for our API documentation #896
Comments
+1 for IPython martin hepp
|
moved to all python/site tool issues #3 |
Previous problem was setting correct working directory. Everything is a hack. See #896
Reopening as I worked on this :) At this stage only a proof of concept with a mountain of boilerplate, but I think this should replace the idea of using appengine's local console, which we had explored (except in case of very appengine-centric investigations which are hopefully not going to be a frequent concern). |
See https://github.com/schemaorg/schemaorg/blob/sdo-callisto/scripts/dashboard.ipynb ... this shows that the .ipynb format also stores detail from a test run of the program, and that Github will render both in the style of a live Jupyter/iPython notebook. |
Also added two more sample queries showing count of incoming/outgoing properties. See #896
Just to keep everything in one place: |
BTW: I think the NBviewer rendering is a bit nicer than then rendering that comes directly from GitHub (because it does not show the notebooks inside the frame but full-screen): https://nbviewer.jupyter.org/github/schemaorg/schemaorg/blob/sdo-callisto/scripts/dashboard.ipynb |
Agreed. Have you managed to run it locally? @RichardWallis had issues with it (the kernel?) hanging... |
Did not try yet, sorry. |
Pulling the notebook itself works - I can render it in e.g. Anaconda. |
the core should be bundled, i guess pandas, matplotlib at least are external. what was missing for you? |
I think the GAE libraries, but this might be a local issue here due to different Python enviroments for Anaconda and normal development.
|
There was some packaging done for Travis-CI that might help here. Could also look at Google Golab for an approach to shared environment. |
This issue is being tagged as Stale due to inactivity. |
Work in progress: https://github.com/schemaorg/schemaorg/blob/sdo-callisto/scripts/dashboard.ipynb
The text was updated successfully, but these errors were encountered: