"""
# User Guide
"""
"""
Some competitions require that the `internet` be turned `off` such as:

- [Prostate cancer diagnosis using the Gleason grading system](https://www.kaggle.com/c/prostate-cancer-grade-assessment)
- [OSIC Pulmonary Fibrosis Progression](https://www.kaggle.com/c/osic-pulmonary-fibrosis-progression)


This dataset allows you to easily load `fastai`(current latest version 2.0.13) dependencies with the internet tab set to `off`
"""
"""
# Loading fastai
"""
"""
This dataset provides the 2 files you need to load fastai:
- fastai2 version 2.0.13
- fastcore version 1.0.13

### Step 1: 
In your kernel click on the Add data tab on the right top of the notebook.

![data.PNG](attachment:data.PNG)
"""
"""
### Step 2:
Under the Search Datasets bar, enter `fastai_offline` and fastai_offline should come up as an option.  Click on the `Add` tab

![fastoff.PNG](attachment:fastoff.PNG)
"""
"""
### Step 3
Once the dataset has loaded you will find `fastai_offline` under the input section.

![input.PNG](attachment:input.PNG)
"""
"""
You can now load all fastai dependencies with the internet off.
"""
"""
You can load the dependancies like so:
"""
!pip install ../input/fastai017-whl/fastai-2.0.13-py3-none-any.whl
!pip install ../input/fastai017-whl/fastcore-1.0.13-py3-none-any.whl
from fastai.vision.all import *
from fastai.text.all import *
from fastai.collab import *
from fastai.tabular.all import *
"""
Check that all the dependancies loaded ok
"""
BLUE = '\033[94m'
BOLD   = '\033[1m'
ITALIC = '\033[3m'
RESET  = '\033[0m'

import fastai; print(BOLD + BLUE + "fastai Version: " + RESET + ITALIC + str(fastai.__version__))
import fastcore; print(BOLD + BLUE + "fastcore Version: " + RESET + ITALIC + str(fastcore.__version__))
import sys; print(BOLD + BLUE + "python Version: " + RESET + ITALIC + str(sys.version))
import torchvision; print(BOLD + BLUE + "torchvision: " + RESET + ITALIC + str(torchvision.__version__))
import torch; print(BOLD + BLUE + "torch version: " + RESET + ITALIC + str(torch.__version__))
"""
And voila you are all set to go!
"""