.. _sphx_glr_examples_08-python-operators: .. _python_operators: Examples of creating custom operator plugins ============================================ These examples show how to create a basic operator plugin or plug-in packages with multiple operators. Plugins wrap your custom operators so that you can use them like native DPF operators. .. raw:: html
.. raw:: html
.. only:: html .. image:: /examples/08-python-operators/images/thumb/sphx_glr_00-wrapping_numpy_capabilities_thumb.png :alt: :ref:`sphx_glr_examples_08-python-operators_00-wrapping_numpy_capabilities.py` .. raw:: html
Create a basic operator plugin
.. raw:: html
.. only:: html .. image:: /examples/08-python-operators/images/thumb/sphx_glr_01-package_python_operators_thumb.png :alt: :ref:`sphx_glr_examples_08-python-operators_01-package_python_operators.py` .. raw:: html
Create a plug-in package with multiple operators
.. raw:: html
.. only:: html .. image:: /examples/08-python-operators/images/thumb/sphx_glr_02-python_operators_with_dependencies_thumb.png :alt: :ref:`sphx_glr_examples_08-python-operators_02-python_operators_with_dependencies.py` .. raw:: html
Create a plug-in package that has third-party dependencies
.. raw:: html
.. toctree:: :hidden: /examples/08-python-operators/00-wrapping_numpy_capabilities /examples/08-python-operators/01-package_python_operators /examples/08-python-operators/02-python_operators_with_dependencies