LS4GAN Example Example

Table of Contents

Overview

This is an example of an example.

It may be run directly by exporting this file (using Emacs) or each code block can be run by hand.

Import ls4gan Python module

This package provides a main Python module called ls4gan. From it, Python code may access all functionality.

import ls4gan
print(ls4gan.version)
0.0.0

Discover ls4gan API modules

import ls4gan
names = [n for n in dir(ls4gan.api) if not n.startswith("__")]
print('ls4gan apis: ', ', '.join(names))
ls4gan apis:  example

Run ls4gan command line program

This package provides a main command line program called ls4gan. Through it the user may exercise all high-level functionality.

ls4gan
Usage: ls4gan [OPTIONS] COMMAND [ARGS]...

  LS4GAN main command line interface

Options:
  --help  Show this message and exit.

Commands:
  version  Print the version

Author: BV

Created: 2021-07-01 Thu 11:02

Validate