Metadata-Version: 2.4
Name: lstm_labcode
Version: 0.1.0
Summary: Browse and save code extracted from Jupyter notebooks.
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# labcode

A pip-installable package containing code extracted from Jupyter notebooks.

## Install

```bash
pip install lstm_labcode
```

## Usage

### Command line

```bash
labcode list                    # list all topics
labcode show <topic>            # print code for a topic
labcode save <topic>            # save code to <topic>.py in cwd
labcode save <topic> out.py     # save code to a specific file
```

### Python API

```python
import labcode

labcode.list_topics()           # ['autoencoder', 'cbow_model', ...]
labcode.get_code('autoencoder') # returns code as string
labcode.show('autoencoder')     # prints code
labcode.save('autoencoder')     # writes autoencoder.py and returns Path
labcode.save('autoencoder', 'out.py')
```

## Available topics

- autoencoder
- cbow_model
- convolutional_neural_networks
- feed_forward_neural_networks
- object_detection
