user: What is Extensions Operators and how is it used in Blender Python scripting?

assistant: # Extensions Operators

bpy.ops.extensions.package_disable()
:   Turn off this extension

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3588](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3588)

bpy.ops.extensions.package_install(*\**, *repo_directory=''*, *repo_index=-1*, *pkg_id=''*, *enable_on_install=True*, *url=''*, *do_legacy_replace=False*)
:   Download and install the extension

    Parameters:
    :   - **repo_directory** (*string**,* *(**optional**,* *never None**)*) – Repo Directory
        - **repo_index** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Repo Index
        - **pkg_id** (*string**,* *(**optional**,* *never None**)*) – Package ID
        - **enable_on_install** (*boolean**,* *(**optional**)*) – Enable on Install, Enable after installing
        - **url** (*string**,* *(**optional**,* *never None**)*) – URL
        - **do_legacy_replace** (*boolean**,* *(**optional**)*) – Do Legacy Replace

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:1500](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L1500)

bpy.ops.extensions.package_install_files(*\**, *filter_glob='\*.zip;\*.py'*, *directory=''*, *files=None*, *filepath=''*, *repo=''*, *enable_on_install=True*, *target=''*, *overwrite=True*, *url=''*)
:   Install extensions from files into a locally managed repository

    Parameters:
    :   - **filter_glob** (*string**,* *(**optional**,* *never None**)*) – filter_glob
        - **directory** (*string**,* *(**optional**,* *never None**)*) – Directory
        - **files** (`bpy_prop_collection` of `OperatorFileListElement`, (optional)) – files
        - **filepath** (*string**,* *(**optional**,* *never None**)*) – filepath
        - **repo** (*enum in* *[**]**,* *(**optional**)*) – User Repository, The user repository to install extensions into
        - **enable_on_install** (*boolean**,* *(**optional**)*) – Enable on Install, Enable after installing
        - **target** (*enum in* *[**]**,* *(**optional**)*) – Legacy Target Path, Path to install legacy add-on packages to
        - **overwrite** (*boolean**,* *(**optional**)*) – Legacy Overwrite, Remove existing add-ons with the same ID
        - **url** (*string**,* *(**optional**,* *never None**)*) – URL

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:1500](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L1500)

bpy.ops.extensions.package_install_marked(*\**, *enable_on_install=True*)
:   Undocumented, consider [contributing](https://developer.blender.org/).

    Parameters:
    :   **enable_on_install** (*boolean**,* *(**optional**)*) – Enable on Install, Enable after installing

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:1500](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L1500)

bpy.ops.extensions.package_mark_clear(*\**, *pkg_id=''*, *repo_index=-1*)
:   Undocumented, consider [contributing](https://developer.blender.org/).

    Parameters:
    :   - **pkg_id** (*string**,* *(**optional**,* *never None**)*) – Package ID
        - **repo_index** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Repo Index

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3675](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3675)

bpy.ops.extensions.package_mark_clear_all()
:   Undocumented, consider [contributing](https://developer.blender.org/).

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3722](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3722)

bpy.ops.extensions.package_mark_set(*\**, *pkg_id=''*, *repo_index=-1*)
:   Undocumented, consider [contributing](https://developer.blender.org/).

    Parameters:
    :   - **pkg_id** (*string**,* *(**optional**,* *never None**)*) – Package ID
        - **repo_index** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Repo Index

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3661](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3661)

bpy.ops.extensions.package_mark_set_all()
:   Undocumented, consider [contributing](https://developer.blender.org/).

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3686](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3686)

bpy.ops.extensions.package_obsolete_marked()
:   Zeroes package versions, useful for development - to test upgrading

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3779](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3779)

bpy.ops.extensions.package_show_clear(*\**, *pkg_id=''*, *repo_index=-1*)
:   Undocumented, consider [contributing](https://developer.blender.org/).

    Parameters:
    :   - **pkg_id** (*string**,* *(**optional**,* *never None**)*) – Package ID
        - **repo_index** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Repo Index

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3748](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3748)

bpy.ops.extensions.package_show_set(*\**, *pkg_id=''*, *repo_index=-1*)
:   Undocumented, consider [contributing](https://developer.blender.org/).

    Parameters:
    :   - **pkg_id** (*string**,* *(**optional**,* *never None**)*) – Package ID
        - **repo_index** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Repo Index

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3734](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3734)

bpy.ops.extensions.package_show_settings(*\**, *pkg_id=''*, *repo_index=-1*)
:   Undocumented, consider [contributing](https://developer.blender.org/).

    Parameters:
    :   - **pkg_id** (*string**,* *(**optional**,* *never None**)*) – Package ID
        - **repo_index** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Repo Index

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3762](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3762)

bpy.ops.extensions.package_theme_disable(*\**, *pkg_id=''*, *repo_index=-1*)
:   Turn off this theme

    Parameters:
    :   - **pkg_id** (*string**,* *(**optional**,* *never None**)*) – Package ID
        - **repo_index** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Repo Index

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3616](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3616)

bpy.ops.extensions.package_theme_enable(*\**, *pkg_id=''*, *repo_index=-1*)
:   Turn off this theme

    Parameters:
    :   - **pkg_id** (*string**,* *(**optional**,* *never None**)*) – Package ID
        - **repo_index** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Repo Index

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3601](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3601)

bpy.ops.extensions.package_uninstall(*\**, *repo_directory=''*, *repo_index=-1*, *pkg_id=''*)
:   Disable and uninstall the extension

    Parameters:
    :   - **repo_directory** (*string**,* *(**optional**,* *never None**)*) – Repo Directory
        - **repo_index** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Repo Index
        - **pkg_id** (*string**,* *(**optional**,* *never None**)*) – Package ID

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:1500](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L1500)

bpy.ops.extensions.package_uninstall_marked()
:   Undocumented, consider [contributing](https://developer.blender.org/).

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:1500](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L1500)

bpy.ops.extensions.package_uninstall_system()
:   Undocumented, consider [contributing](https://developer.blender.org/).

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3579](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3579)

bpy.ops.extensions.package_upgrade_all(*\**, *use_active_only=False*)
:   Upgrade all the extensions to their latest version for all the remote repositories

    Parameters:
    :   **use_active_only** (*boolean**,* *(**optional**)*) – Active Only, Only sync the active repository

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:1500](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L1500)

bpy.ops.extensions.repo_enable_from_drop(*\**, *repo_index=-1*)
:   Undocumented, consider [contributing](https://developer.blender.org/).

    Parameters:
    :   **repo_index** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Repo Index

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:1830](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L1830)

bpy.ops.extensions.repo_lock_all()
:   Lock repositories - to test locking

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3848](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3848)

bpy.ops.extensions.repo_refresh_all(*\**, *use_active_only=False*)
:   Scan extension & legacy add-ons for changes to modules & meta-data (similar to restarting). Any issues are reported as warnings

    Parameters:
    :   **use_active_only** (*boolean**,* *(**optional**)*) – Active Only, Only refresh the active repository

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:1743](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L1743)

bpy.ops.extensions.repo_sync(*\**, *repo_directory=''*, *repo_index=-1*)
:   Undocumented, consider [contributing](https://developer.blender.org/).

    Parameters:
    :   - **repo_directory** (*string**,* *(**optional**,* *never None**)*) – Repo Directory
        - **repo_index** (*int in* *[**-inf**,* *inf**]**,* *(**optional**)*) – Repo Index

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:1500](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L1500)

bpy.ops.extensions.repo_sync_all(*\**, *use_active_only=False*)
:   Refresh the list of extensions for all the remote repositories

    Parameters:
    :   **use_active_only** (*boolean**,* *(**optional**)*) – Active Only, Only sync the active repository

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:1500](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L1500)

bpy.ops.extensions.repo_unlock()
:   Remove the repository file-system lock

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:1917](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L1917)

bpy.ops.extensions.repo_unlock_all()
:   Unlock repositories - to test unlocking

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3874](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3874)

bpy.ops.extensions.status_clear()
:   Undocumented, consider [contributing](https://developer.blender.org/).

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3647](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3647)

bpy.ops.extensions.status_clear_errors()
:   Undocumented, consider [contributing](https://developer.blender.org/).

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3636](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3636)

bpy.ops.extensions.userpref_allow_online()
:   Allow internet access. Blender may access configured online extension repositories. Installed third party add-ons may access the internet for their own functionality

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3999](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3999)

bpy.ops.extensions.userpref_allow_online_popup()
:   Allow internet access. Blender may access configured online extension repositories. Installed third party add-ons may access the internet for their own functionality

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:4013](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L4013)

bpy.ops.extensions.userpref_show_for_update()
:   Open extensions preferences

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3939](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3939)

bpy.ops.extensions.userpref_show_online()
:   Show system preferences “Network” panel to allow online access

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3979](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3979)

bpy.ops.extensions.userpref_tags_set(*\**, *value=False*, *data_path=''*)
:   Set the value of all tags

    Parameters:
    :   - **value** (*boolean**,* *(**optional**)*) – Value, Enable or disable all tags
        - **data_path** (*string**,* *(**optional**,* *never None**)*) – Data Path

    File:
    :   [addons_core/bl_pkg/bl_extension_ops.py:3908](https://projects.blender.org/blender/blender/src/branch/main/scripts/addons_core/bl_pkg/bl_extension_ops.py#L3908)