Metadata-Version: 2.4
Name: bigyahu
Version: 0.4.1
Summary: Download the lab resources (notebooks and manuals) bundled with this package via by.list() and by.get()
Author: bigyahu
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# bigyahu

Download the lab resources (exercise notebooks and the BDA lab manual) that
ship inside this package.

## Install

```bash
pip install bigyahu
```

## Use in Python / Jupyter

```python
import bigyahu as by

by.list()          # every name, e.g. ['BDA', 'Manual', 'ex1', 'DNN_Bean', 'ex2', 'CNNvsDNN', ...]

by.get("ex4")      # saves ex4.ipynb to the current directory
by.get("EX2")      # the same notebook as...
by.get("CNNvsDNN") # ...this one (both give ex2.ipynb)
by.get("BDA")      # saves the BDA lab manual -> BDA.docx
by.get("BDA.docx") # typed file extensions are tolerated too
by.get("cnn vs dnn", dest="~/Desktop")   # case, spaces, dashes and
by.get("cnn-vs-dnn")                     # underscores are all ignored

by.get("ex1", overwrite=True)  # replace an existing file with the same name
```

`by.get()` writes the full file to your machine and returns the saved path.
If a file with the same name already exists, pass `overwrite=True` to
replace it. Files are always saved under their canonical name
(`ex2.ipynb`, `BDA.docx`), whichever alias you used.

## Use from the terminal

```bash
bigyahu list                   # list every available name
bigyahu get ex4                # download ex4.ipynb into the current directory
bigyahu get BDA -o ~/Desktop   # download the BDA manual into ~/Desktop
```

## Resources bundled

| alias | also known as | file |
|-------|---------------|------|
| BDA   | Manual, BDAManual | INT435 BDA lab exercises manual (.docx) |
| ex1   | DNN_Bean, Beans | DNN classification - Bean dataset |
| ex2   | CNNvsDNN | image classification: CNN vs DNN |
| ex3   | FasterRCNN, ObjectDetection | object detection (torchvision) |
| ex4   | FCN, Segmentation | image segmentation (FCN) |
| ex5   | Autoencoder | dense autoencoder (MNIST) |
| ex6   | ConvAutoencoder | convolutional autoencoder |
| ex7   | DenoisingAutoencoder | denoising autoencoder |
| ex8   | ImageCaptioning | image captioning (VGG16) |
| ex9   | DigitRecognition | handwritten digit recognition (MNIST + LSTM) |
| ex10  | TimeSeries, RNN | power-consumption forecasting: SimpleRNN vs LSTM |
| ex11  | GAN | generative adversarial network (MNIST) |
| ex12  | QLearning, FrozenLake | Q-learning on FrozenLake |
