Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Docker is installed on your computer. You can download and install Docker from https://www.docker.com/products/docker-desktop.
  2. You already have a piece of code written in Python that can process a file and generate metadata.
  3. The extractor that you are trying to create will only generate metadata in JSON format and/or a file preview.
  4. Your code has been tested and does what it is supposed to do.

The main function of your Python program needs to accept the string format file path of the input file. It also needs to return a dictionary containing either metadata information ("metadata"), details about file previews ("previews") or both in the following format:

    {

...

Code Block
languagejs
themeConfluence
linenumberstrue
{
	"metadata": dict(),

...


	"previews": array()

...


}

Instructions

Your extractor will contain several files. The ones that will be used by the Simple Extractor Wrapper are listed below. The instructions below will help you to create these files:

...