Package pygeodesy :: Module bases |
[frames] | no frames]

# Module bases

(INTERNAL) Common base classes.

After (C) Chris Veness 2011-2015 published under the same MIT Licence**, see http://www.movable-type.co.uk/scripts/latlong.html and http://www.movable-type.co.uk/scripts/latlong-vectors.html.

Version: 18.08.28

Functions
classname(inst, prefixed=None) Return an instance' module and class name. |
classnaming(prefixed=None) Set the default class naming for `[module.].class` names. |
inStr(inst, *args, **kwds) Return the string representation of an instance. |

Function Details

### classname(inst, prefixed=None) |
Return an instance' module and class name. Parameters: `inst` - The object (any type). `prefixed` - Prefix the module name (bool), see function classnaming. Returns: The inst's `[module.]class` name (string).

### classnaming(prefixed=None) |
Set the default class naming for `[module.].class` names. Parameters: `prefixed` - Include the module name (bool). Returns: Previous class naming setting (bool).

### inStr(inst, *args, **kwds) |
Return the string representation of an instance. Parameters: `inst` - The instance (any type). `args` - Optional positional arguments (tuple). `kwds` - Optional keyword arguments (dict). Returns: The inst's representation (string).