CodeLibrary

class CodeLibrary(name, path, config_filename)[source]

Bases: object

CodeLibrary class

Code library class.

Parameters:
  • name (str) – name of codebase

  • path (str) – path to codebase

  • config_file (str) – configuration file nme

Methods

static data2code(**record)[source]

_summary_

Returns:

_description_

Return type:

Code

in_range(n, k, index)[source]

_summary_

Parameters:
  • n (_type_) – _description_

  • k (_type_) – _description_

  • index (_type_) – _description_

Returns:

_description_

Return type:

bool

search(n=None, k=None, index=None, info_only=False, **kwargs)[source]

Search method for library

Return type:

Union[List[Code], List[Tuple[int, int, int]]]