File: example_manifest.yaml

package info (click to toggle)
python-npe2 0.7.8-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 828 kB
  • sloc: python: 7,088; makefile: 19
file content (64 lines) | stat: -rw-r--r-- 2,107 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: example-plugin
display_name: Example Plugin
contributions:
  commands:
    - id: example-plugin.hello_world
      title: Hello World
    - id: example-plugin.read_xyz
      title: Read ".xyz" files
      python_name: example_plugin.some_module:get_reader
    - id: example-plugin.write_points
      title: Save points layer to csv
      python_name: example_plugin.some_module:write_points
    - id: example-plugin.my_widget
      title: Open my widget
      python_name: example_plugin.some_module:MyWidget
    - id: example-plugin.do_threshold
      title: Perform threshold on image, return new image
      python_name: example_plugin.some_module:threshold
    - id: example-plugin.threshold_widget
      title: Make threshold widget with magic_factory
      python_name: example_plugin.some_module:widget_factory
    - id: example-plugin.data.fractal
      title: Create fractal image
      python_name: example_plugin.some_module:create_fractal
  readers:
    - command: example-plugin.read_xyz
      filename_patterns: ["*.xyz"]
      accepts_directories: false
  writers:
    - command: example-plugin.write_points
      filename_extensions: [".csv"]
      layer_types: ["points"]
  widgets:
    - command: example-plugin.my_widget
      display_name: Wizard
    - command: example-plugin.threshold_widget
      display_name: Threshold
    - command: example-plugin.do_threshold
      display_name: Threshold
      autogenerate: true
  themes:
    - label: "Monokai"
      id: "monokai"
      type: "dark"
      syntax_style: "monokai"
      colors:
        canvas: "#000000"
        console: "#000000"
        background: "#272822"
        foreground: "#75715e"
        primary: "#cfcfc2"
        secondary: "#f8f8f2"
        highlight: "#e6db74"
        text: "#a1ef34"
        icon: "#a1ef34"
        warning: "#f92672"
        current: "#66d9ef"
  sample_data:
    - key: fractal
      display_name: Fractal
      command: example-plugin.data.fractal
    - key: napari
      display_name: Tabueran Kiribati
      uri: https://en.wikipedia.org/wiki/Napari#/media/File:Tabuaeran_Kiribati.jpg