.. _plugins: Plugins ==================== API-24SEA provides a plugin system that allows users to extend its functionality by adding new features. Plugins can be developed by anyone and can be easily installed and managed using the Python namespace packages system. Installation ------------ Currently, there are two plugins available: * :ref:`fatigue extra `: Adds cycle-count metrics analysis capabilities to the package by leveraging the `py-fatigue `_ and `swifter `_ packages. .. tab-set-code:: .. code-block:: powershell pip install api-24sea[fatigue] .. code-block:: bash pip install 'api-24sea[fatigue]' * `ai extra `_: Integrates AI functionalities into the package leveraging the 24SEA AI models API. The package can be installed from `PyPI `_. .. tab-set-code:: .. code-block:: powershell pip install api-24sea[ai] .. code-block:: bash pip install 'api-24sea[ai]' To install both plugins, run the following command in your terminal: .. tab-set-code:: .. code-block:: powershell pip install api-24sea[fatigue,ai] .. code-block:: bash pip install 'api-24sea[fatigue,ai]'