Example "hello world" model
Project description
Models
hello
A “hello world” sample model
This is a sample model that provides various operations for printing hello world messages.
The message provided, either by default, by a flag, or a file (see each operation for the applicable interface) is printed to standard output and written to a file named output in the run directory.
Operations
default
Print a default message
This operation doesn’t support a user-defined message. Use the from-flag operation with the ‘message’ flag to print an alternative message.
from-file
Print a message from a file
Use the ‘file’ flag to specify the file to print.
Flags
- file
File containing the message to print (default is ‘msg.txt’)
from-file-output
Print output from last file-output operation
This operation requires a completed file-output run.
from-flag
Print a message
Use the ‘message’ flag to specify the message to print.
Flags
- message
Message to print (default is ‘Hello Guild, from a flag!’)
References
Modelfile: https://github.com/guildai/index/tree/master/hello/MODEL
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 Distributions
Built Distribution
Hashes for gpkg.hello-0.1.0.dev7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddf1ff697f149dc49c1e5daba2d628666c75d185ae5183e3fdd11c7e0ab06c49 |
|
MD5 | c9b1d3d5bca2b0d2285b4d403d942726 |
|
BLAKE2b-256 | e71f0ef963f5af4dc2b327b080e980fe1dd6bd88b2b3163bf42af4b4131e4920 |