Libinsane.Api¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Libinsane.Api(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new_from_string(desc)¶
- Parameters:
desc (
str
) –- Raises:
- Returns:
the new reference to self.
- Return type:
Instantiate a new list of API based on a provided string.
param desc see lis_str2impls()
- classmethod new_safebet()¶
- Raises:
- Returns:
the new reference to self.
- Return type:
Instantiate the safest list of API for most cases. See lis_safebet
- cleanup()¶
- get_device(dev_id)¶
- Parameters:
dev_id (
str
) –- Raises:
- Returns:
Libinsane.Item
object- Return type:
- list_devices(locations)¶
- Parameters:
locations (
Libinsane.DeviceLocations
) –- Raises:
- Returns:
list of available devices (LibinsaneDeviceDescriptors objects)
- Return type: