Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 619 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 619 Bytes

Experimental tools to harvest (SageMath) notebooks from GitHub and index their latex formulae for MathHub searches

Authors: Tom Wiesing and Nicolas M. Thiéry

Usage:

Get a GitHub authentication token, e.g. on https://github.com/settings/tokens/new

Download all Sage notebooks on GitHub that use "%display latex" (takes a couple minutes):

TOKEN=<token> make download

They will be put in notebooks/<github_owner>/<repo>/<filename>.ipynb

Harvest the notebooks (takes about one hour for 500 notebooks):

make harvest

The index for each notebook will be put in a .harvest.gz file next to the notebook.