Skip to content
/ mldocs Public

Alfred Workflow for TensorFlow, PyTorch, Scikit-learn, NumPy, Pandas, Matplotlib, Statsmodels, Jax, RLLib API Docs

Notifications You must be signed in to change notification settings

lsgrep/mldocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alfred mldocs

Alfred workflow for searching essential machine learning library API docs(it requires macOS, Alfred with Powerpack license). demo

Supported Libraries(all stable versions unless specified otherwise)

Install

Checkout the Releases, download the latest mldocs.alfredworkflow, then double click it(You have to have Alfred + Powerpack License). For MacOS Monterey or newer versions, please install 1.x.x or new versions. For older MacOS versions, please use 0.0.5.

Update

There is a background process that checks update every 7 days, and there will be an option to upgrade to the latest version. demo

  • ml workflow:update will force update.
  • ml workflow:noautoupdate will turn off the auto update.
  • ml workflow:autoupdate will enable the auto update.

Conventions

For convenience, a few prefixes are automatically expanded(see PR for more).

  • np => numpy
  • pd => pandas
  • plt => pyplot
  • sns => seaborn

How does it work

  • mldocs fetches the doc data from Github(data/ml.json), then caches the data for a few days
  • The first query will be slow then it will be pretty fast afterwards
  • The plan is to update the ml.json periodically, so you won't have to update the workflow manually

Clear the Cache

To force update the local cache

  • ml workflow:delcache

Commonly used keywords

I've also merged my commonly used links(data/base.json) into the ml.json as well. If you want to add your favorite website or link please submit a PR(just edit the base.json).

keyword link description
? https://github.com/lsgrep/mldocs
colab http://colab.research.google.com/
kaggle https://www.kaggle.com/
Google Dataset Search https://datasetsearch.research.google.com/
gds https://datasetsearch.research.google.com/
paper https://paperswithcode.com/

Google Dataset Search

You can enter the query directly in the Alfred with the keyword ml gds KEYWORD... demo

You can enter the query directly in the Alfred with the keyword ml paper KEYWORD... demo

Supported Versions

  • ml.json will be periodically updated to the latest versions of TensorFlow & PyTorch

Keyword Descriptions

  • Not supported yet, but will add them in the future.

TODO

  • add Scikit-learn support
  • add NumPy support
  • add Pandas support
  • add Matplotlib support
  • add Statsmodels support
  • add Seaborn support
  • add Jax support
  • Add Ray support
  • Add LightGBM support
  • Add XGBoost support
  • add Automatic Update
  • add Github Actions to generate ml.json
  • add keyword descriptions for TensorFlow
  • add keyword descriptions for PyTorch

Credits

Icon made by Becris from Flaticon

About

Alfred Workflow for TensorFlow, PyTorch, Scikit-learn, NumPy, Pandas, Matplotlib, Statsmodels, Jax, RLLib API Docs

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Languages