# Green API

Summary:
  - `PyTango.get_green_mode()`
  - `PyTango.set_green_mode()`
  - `PyTango.futures.DeviceProxy()`
  - `PyTango.gevent.DeviceProxy()`

`PyTango.``get_green_mode`()

  Returns the current global default PyTango green mode.

  Returns: | the current global default PyTango green mode
  Return type: | GreenMode

`PyTango.``set_green_mode`(green_mode=None)

  Sets the global default PyTango green mode.

  Advice: Use only in your final application. Don’t use this in a python library in order not to interfere with the beavior of other libraries and/or application where your library is being.

  Parameters: | green_mode (GreenMode) – the new global default PyTango green mode