Examples ======== This section provides examples that show how to use PyMeilisearch to create your own indexes with custom templates from online files, local files, or files in the repositories of GitHub organizations. The final example shows how you can even use Ansys actions to create one or more indexes from online files, local files, and files in GitHub organizations. .. note:: PyMeilisearch commands require certain arguments and support additional options. The commands in the following examples show the general syntax for the ``pymeilisearch upload`` command. For information on required arguments and supported options for the ``upload`` subcommand, see :ref:`cli_usage`. Create an index from online files --------------------------------- This command creates an index from online files: .. code-block:: shell pymeilisearch upload --template