Skip to content

Python code to auto-generate an html list of arxiv articles belonging to many authors

License

Notifications You must be signed in to change notification settings

ddervs/py_grouparticles

Repository files navigation

py_grouparticles

Python code along with a .plist file to automatically generate a list of arxiv articles belonging to many authors.

NOTE: scheduled execution, then pushing to github repo only works for mac via launchd.

Usage

  • First, fork this repo.
  • Edit search_queries.json with your own search queries to send to the arxiv API.
  • Editcom.arxiv.daemon.plist with your $PATH variable and location of forked repo, along with desired interval (in seconds) for when to re-run the script.
  • Edit update_arxiv_list.sh with location of your python 3 installation and source activate $YOURPYVIRTUALENV.
  • Run cp com.arxiv.daemon.plist ~/Library/LaunchAgents/
  • Run launchctl load -w ~/Library/LaunchAgents/com.arxiv.daemon.plist
  • Edit code in include_html_test.html to point to your repo URL. You now can run this code on your website to include the autogenerated list. Note: uses jsdelivr. Working Example.

Requirements

  • Python 3. Packages feedparser, json, toolz.
  • mac OS, launchd.
  • Fork of this repo.

About

Python code to auto-generate an html list of arxiv articles belonging to many authors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published