pysyncrosim.library.Library.datasheets

Library.datasheets(name=None, summary=True, optional=False, empty=False, scope='Library', filter_column=None, filter_value=None, include_key=False, show_full_paths=False, return_hidden=False, *ids)

Retrieves a DataFrame of Library Datasheets.

Parameters:
  • name (String, optional) – Datasheet name. The default is None.

  • summary (Logical, optional) – When set to True return a dataframe of all available package and SyncroSim core Datasheets. When set to False returns a list of Datasheet dataframes. The default is True.

  • optional (Logical, optional) – Return optional columns. The default is False.

  • empty (Logical, optional) – Return an empty Datasheet. The default is False.

  • scope (String, optional) – Datasheet scope. Options include “Library”, “Project”, or “Scenario”. The default is “Library”.

  • filter_column (String) – The column to filter the output Datasheet by. The default is None.

  • filter_value (String, Int, or Logical) – The value to filter the filter_column by. The default is None.

  • include_key (Logical, optional) – Whether to include the primary key of the Datasheet, corresponding to the SQL database. Default is False.

  • show_full_paths (Logical, optional) – If set to True, returns the full path of any external files in the Datasheet. Default is False.

  • return_hidden (Logical, optional) – If set to True, returns all records in a Datasheet, including those hidden from the user. Results in a slower query. Default is False.

Returns:

If optional=False, then returns a DataFrame of Datasheet information including Package, Name, and Display Name. If optional=True, also returns Scope, Is Single, and Is Output.

Return type:

pandas.DataFrame