CodeLibrarian

class CodeLibrarian(config=None)[source]

Bases: object

CodeLibrarian class.

CodeLibrarian class.

Parameters:

config (Optional[str]) – configuration

Methods

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

_summary_

Parameters:
  • n (Optional[int,List[int]], optional) – _description_. Defaults to None.

  • k (Optional[int,List[int]], optional) – _description_. Defaults to None.

  • index (Optional[int,List[int]], optional) – _description_. Defaults to None.

  • info_only (bool, optional) – _description_. Defaults to False.

  • **kwargs – _de_

Returns:

_description_

Return type:

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

Attributes

n_dir_format = 'n_{}'
n_k_codes_file_format = 'codes_n_{}_k_{}.json'