An nasty way to parse python knowledge
Tutorial¶
Installation¶
Plese install on anaconda3
python -m pip install doc_tour
Running¶
On your terminal, the default port is 8080, Now visit http://localhost:8080 for web UI
doctour
Or assgin a port
doctour --port=8001
Exam variable during your coding¶
eg. while you're doing nlp and using lstm, you wonder what the code in pytorch is, what's its inheritance structure, which of the functions was defined in the lstm code, which other functions are inherited from its ancestors
from torch import nn
import numpy as np
import doctour
you can exam class, fuction, module, variable...
doctour.exam(nn.LSTM)