This plugin contains various example Python operators. Use these as a starting point for your own operators, or read the source to understand how to:
- use the operator type system
- show messages to the user
- create basic and interactive forms
- create a progress bar
- interact with FiftyOne datasets and views from within operators
fiftyone plugins download \
https://github.com/voxel51/fiftyone-plugins \
--plugin-names @voxel51/examples
Refer to the main README for more information about managing downloaded plugins and developing plugins locally.
- Shows a
types.Notice
,types.Warning
ortypes.Error
to the user
- Example of a single input and output allowing the user to provide a string value
- The value provided is returned and displayed to the user
- Example of a dynamic operator where the input can be resolved based on the
ctx.params
- Shows how to use
types.RadioGroup
andtypes.Dropdown
to display choices to the user
- Example of providing a dynamic list for the user to provide and or edit
- Example of how to output images to the user
- Example of how to show a table to the user as output
- Example of showing a plot as output
- Example of the various ways you can present output to the user
- Shows a full implementation of a progress bar
- Example of a streaming operator
- Example of how to update a Sample
- Example of reading all plugin settings
- Example rendering markdown as output