MCPcopy
hub / github.com/pydata/xarray / list_engines

Function list_engines

xarray/backends/plugins.py:117–131  ·  view source on GitHub ↗

Return a dictionary of available engines and their BackendEntrypoint objects. Returns ------- dictionary Notes ----- This function lives in the backends namespace (``engs=xr.backends.list_engines()``). If available, more information is available about each backend

()

Source from the content-addressed store, hash-verified

115
116@functools.lru_cache(maxsize=1)
117def list_engines() -> dict[str, BackendEntrypoint]:
118 """
119 Return a dictionary of available engines and their BackendEntrypoint objects.
120
121 Returns
122 -------
123 dictionary
124
125 Notes
126 -----
127 This function lives in the backends namespace (``engs=xr.backends.list_engines()``).
128 If available, more information is available about each backend via ``engs["eng_name"]``.
129 """
130 entrypoints = entry_points(group="xarray.backends")
131 return build_engines(entrypoints)
132
133
134def refresh_engines() -> None:

Callers 5

test_lazy_importFunction · 0.90
test_list_enginesFunction · 0.90
test_refresh_enginesFunction · 0.90
guess_engineFunction · 0.85
get_backendFunction · 0.85

Calls 1

build_enginesFunction · 0.85

Tested by 3

test_lazy_importFunction · 0.72
test_list_enginesFunction · 0.72
test_refresh_enginesFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…