ahio  1.0.0
I/O Communication Library
ahio.drivers Namespace Reference

Namespaces

 arduino
 
 generic_tcp_io
 
 raspberry
 
 snap7
 

Functions

def available_drivers ()
 Returns a list of available drivers names. More...
 
def driver_info (name)
 Returns driver metadata. More...
 
def new_driver_object (name)
 Instantiates a new object of the named driver. More...
 

Function Documentation

§ available_drivers()

def ahio.drivers.available_drivers ( )

Returns a list of available drivers names.

Definition at line 40 of file __init__.py.

§ driver_info()

def ahio.drivers.driver_info (   name)

Returns driver metadata.

Returns a class which static properties contains metadata from the driver, such as name and availability.

Returns
a subclass from ahio.abstract_driver.AbstractahioDriverInfo with metadata from the driver.

Definition at line 64 of file __init__.py.

§ new_driver_object()

def ahio.drivers.new_driver_object (   name)

Instantiates a new object of the named driver.

The API used by the returned object can be seen in ahio.abstract_driver.AbstractDriver

Returns
a Driver object from the required type of None if it's not available

Definition at line 78 of file __init__.py.