nbiatoolkit.nbia_cli
Module Contents
Functions
|
|
|
|
|
|
|
Executes the given function with the provided keyword arguments and prints the results. |
|
Writes the results of a query to a file. |
|
Wraps a function call with a loading animation. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes
- nbiatoolkit.nbia_cli.done_event
- nbiatoolkit.nbia_cli.query: str
- nbiatoolkit.nbia_cli.output: io.TextIOWrapper | None
- nbiatoolkit.nbia_cli.getResults_cli(func, **kwargs) None[source]
Executes the given function with the provided keyword arguments and prints the results.
- Parameters:
func – The function to be executed.
**kwargs – Keyword arguments to be passed to the function.
- Returns:
None
- nbiatoolkit.nbia_cli.writeResultsToFile(results: List, output: io.TextIOWrapper) None[source]
Writes the results of a query to a file.
- Parameters:
results – The results of the query.
output – The path to the output file.
- Returns:
None