class documentation

class DatasetZooListCommand(Command): (source)

View In Hierarchy

List datasets in the FiftyOne Dataset Zoo.

Examples:

# List available datasets
fiftyone zoo datasets list

# List available dataset names
fiftyone zoo datasets list --names-only

# List downloaded datasets
fiftyone zoo datasets list --downloaded-only

# List available datasets from the given source
fiftyone zoo datasets list --source <source>

# List available datasets with the given tag
fiftyone zoo datasets list --tags <tag>
Static Method execute Executes the command on the given args.
Static Method setup Setup the command-line arguments for the command.
@staticmethod
def execute(parser, args): (source)

Executes the command on the given args.

Parameters
parserthe argparse.ArgumentParser instance for the command
argsan argparse.Namespace instance containing the arguments for the command
@staticmethod
def setup(parser): (source)

Setup the command-line arguments for the command.

Parameters
parseran argparse.ArgumentParser instance