Metadata-Version: 2.4
Name: dl-algos
Version: 0.1.0
Summary: Export bundled deep-learning scripts as commented Python files
Author: Local Workspace Package
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# dl-algos

Installable package that bundles selected top-level scripts and exports any selected script as a fully commented `.py` file into the caller's current working directory.

## Included Template Scripts

- `autoencoder`
- `cnn`
- `continuous_perceptorn` (from `Continuous_perceptorn.py`)
- `continuous_perceptron`
- `discrete_perceptorn` (from `Discrete_perceptorn.py`)
- `discrete_perceptron`
- `gradient_descent`
- `lstm`
- `adagrad`
- `adam`
- `momentum`
- `nag`
- `rms`

## Install

```bash
pip install .
```

## Python API

```python
from dl_exporter import autoencoder, export, list_codes

print(list_codes())
autoencoder("my_auto.py")
export("adam", "adam_notes.py")
```

Notes:
- Output path is resolved relative to the caller's current working directory.
- Existing output files are overwritten.
- Output always includes a lightweight metadata header.

## CLI

List available code names:

```bash
dl-export list
```

Export a selected template:

```bash
dl-export save --code gradient_descent --out gd.py
```

Optional deterministic mode (skip timestamp):

```bash
dl-export save --code adam --out adam_notes.py --no-timestamp
```
