python-igraph API reference

List of all classes, functions and methods in python-igraph

class documentation

class Types:

View In Hierarchy

Static class for the implementation of custom getter/setter functions for configuration keys

Method __init__ Undocumented
Static Method setboolean Sets a boolean value in the given configuration object.
Static Method setint Sets an integer value in the given configuration object.
Static Method setfloat Sets a float value in the given configuration object.
def __init__(self):

Undocumented

@staticmethod
def setboolean(obj, section, key, value):

Sets a boolean value in the given configuration object.

Parametersobja configuration object
sectionthe section of the value to be set
keythe key of the value to be set
valuethe value itself. 0, false, no and off means false, 1, true, yes and on means true, everything else results in a ValueError being thrown. Values are case insensitive
@staticmethod
def setint(obj, section, key, value):

Sets an integer value in the given configuration object.

Parametersobja configuration object
sectionthe section of the value to be set
keythe key of the value to be set
valuethe value itself.
@staticmethod
def setfloat(obj, section, key, value):

Sets a float value in the given configuration object.

Note that float values are converted to strings in the configuration object, which may lead to some precision loss.

Parametersobja configuration object
sectionthe section of the value to be set
keythe key of the value to be set
valuethe value itself.
API Documentation for igraph, generated by pydoctor 21.2.2.