DataClient types

BaseDataClient

class BaseDataClient[source]

Abstract base class for accessing data stored in files

ExcelRange

class ExcelRange(path, range_, sheet=None, keyids=None, loadpath=None)[source]

Mapping class for accessing Excel ranges

An ExcelRange is a dict-like object that represents a range in an Excel file. The user can read values from the range or write values to it by the subscription operator []. ExcelRange is a mapping class, thus it implements all the mapping methods and operations.

ExcelRange objects can only be created by the Model.new_excel_range or UserSpace.new_excel_range method.

ExcelRange is a subclass of the BaseDataClient abstract class. The dataclients property list all the BaseDataClient instances held in the Model including ExcelRange objects.

New in version 0.9.0.