Export bundled deep-learning scripts as commented Python files
Project description
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
autoencodercnncontinuous_perceptorn(fromContinuous_perceptorn.py)continuous_perceptrondiscrete_perceptorn(fromDiscrete_perceptorn.py)discrete_perceptrongradient_descentlstmadagradadammomentumnagrms
Install
pip install .
Python API
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:
dl-export list
Export a selected template:
dl-export save --code gradient_descent --out gd.py
Optional deterministic mode (skip timestamp):
dl-export save --code adam --out adam_notes.py --no-timestamp
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dl_algos-0.1.0.tar.gz.
File metadata
- Download URL: dl_algos-0.1.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b36a18ba19c7cbd174b41f8b2f24ada41f9eafb1b881699515c4360bf0f56812
|
|
| MD5 |
670dda84e0d7d4f7292d726cfeb07bd3
|
|
| BLAKE2b-256 |
2ca1733a54bab7a96f8118effa74ba2f03e91f437b4faed8e3826b0cb9e86cf5
|
File details
Details for the file dl_algos-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dl_algos-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42ac486ee61bab148b69c8eb0f9773c22fb398f81515c011ab7da2ea038747e9
|
|
| MD5 |
1228b9db66ceb5479b44ed8623d26c11
|
|
| BLAKE2b-256 |
56c5e590171205019c3148c2799a803d5bd1d0138c7609d7c72e40725ca4d1a4
|