Skip to content
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

Open
danbri opened this issue Nov 14, 2015 · 13 comments
Open

Explore ipython/jupyter notebooks for our API documentation #896

danbri opened this issue Nov 14, 2015 · 13 comments
Labels
no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!).

Comments

@danbri
Copy link
Contributor

danbri commented Nov 14, 2015

Work in progress: https://github.com/schemaorg/schemaorg/blob/sdo-callisto/scripts/dashboard.ipynb

@danbri danbri added site tools + python code Infrastructural issues around schema.org site. Most can ignore this! type:easy ones (software/site tools) labels Nov 14, 2015
@mfhepp
Copy link
Contributor

mfhepp commented Nov 14, 2015

+1 for IPython


martin hepp
www: http://www.heppnetz.de/
email: mhepp@computer.org

Am 14.11.2015 um 12:57 schrieb Dan Brickley notifications@github.com:

see https://github.com/blog/1995-github-jupyter-notebooks-3
Some existing docs in wiki: https://github.com/schemaorg/schemaorg/wiki/AppEngine

Reply to this email directly or view it on GitHub.

@RichardWallis
Copy link
Contributor

moved to all python/site tool issues #3

danbri added a commit that referenced this issue Sep 2, 2016
Previous problem was setting correct working directory.
Everything is a hack.

See #896
@danbri
Copy link
Contributor Author

danbri commented Sep 2, 2016

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).

@danbri danbri reopened this Sep 2, 2016
@danbri
Copy link
Contributor Author

danbri commented Sep 2, 2016

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.

danbri added a commit that referenced this issue Sep 5, 2016
Also added two more sample queries showing count of incoming/outgoing properties.
See #896
@mfhepp
Copy link
Contributor

mfhepp commented Sep 7, 2016

Just to keep everything in one place:
We should include nbviewer links or links to the rendered version of the resulting iPython notebooks.

@mfhepp
Copy link
Contributor

mfhepp commented Sep 7, 2016

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

@danbri
Copy link
Contributor Author

danbri commented Sep 7, 2016

Agreed. Have you managed to run it locally? @RichardWallis had issues with it (the kernel?) hanging...

@mfhepp
Copy link
Contributor

mfhepp commented Sep 7, 2016

Did not try yet, sorry.

@mfhepp
Copy link
Contributor

mfhepp commented Sep 7, 2016

Pulling the notebook itself works - I can render it in e.g. Anaconda.
Running a cell does not work due to the missing imports, naturally.

@danbri
Copy link
Contributor Author

danbri commented Sep 7, 2016

the core should be bundled, i guess pandas, matplotlib at least are external. what was missing for you?

@mfhepp
Copy link
Contributor

mfhepp commented Sep 8, 2016

I think the GAE libraries, but this might be a local issue here due to different Python enviroments for Anaconda and normal development.
Sorry, have no time to check this now in detail.

On 07 Sep 2016, at 19:30, Dan Brickley notifications@github.com wrote:

the core should be bundled, i guess pandas, matplotlib at least are external. what was missing for you?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@danbri
Copy link
Contributor Author

danbri commented Jan 21, 2019

There was some packaging done for Travis-CI that might help here. Could also look at Google Golab for an approach to shared environment.

@RichardWallis RichardWallis removed site tools + python code Infrastructural issues around schema.org site. Most can ignore this! type:easy ones (software/site tools) labels Nov 14, 2019
@github-actions
Copy link

github-actions bot commented Sep 2, 2020

This issue is being tagged as Stale due to inactivity.

@github-actions github-actions bot added the no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!). label Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!).
Projects
None yet
Development

No branches or pull requests

3 participants