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
File details
Details for the file gpkg.hello-0.1.0.dev8-py2.py3-none-any.whl
.
File metadata
- Download URL: gpkg.hello-0.1.0.dev8-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28d7760caaf31b5bad5a2b2a646158fd80728d45c8fe69bd068c7bbd6eae8069 |
|
MD5 | 6f016f04527a3d9e444a82a0f62aeae1 |
|
BLAKE2b-256 | 67d6e8d8b7e5a0d5be090b06cfa05dfb954a51b09a0faa48c85b33fcfb18bc3a |