light dal package
Project description
- banner.connection.Connection(self, host, user, passwd=None, db=None, ssl_key=None, ssl_cert=None, name=None):
Create connection object compatible with banner.queries
- banner.connection.connections(conns: Dict[str, Connection] = {}):
Getter/Setter for known connections dict
- banner.simple_query(query: str, connection=None, as_df=True) -> pd.DataFrame:
run a simple string query for connection, return data as list of dicts / df for connection=None try to get first known connection
- banner.queries.neware_query(device: int, unit: int, channel: int, test: int, connection: Union[Connection, str] = None, raw=False):
query connection for device, unit, channel, test raises Value err if no data exists for raw=True return data as saved in the db for raw=False compute temp, voltage, current aswell as grouping by auxchl_id for connection=None try to get first known connection
- banner.queries.neware_query_by_test(table: str, cell: int, test: int, connection: Union[Connection, str] = None, raw=False):
query connection for device, unit, channel, test, as well as the connection storing the data raises Value err if no data exists ** the connection has to be an entry in connections() ** returns neware_query for result values for connection=None try to get first known connection
- banner.queries.describe_table(table, connection: Union[Connection, str] = None)
Returns a series of table columns
- banner.queries.describe(table, connection: Union[Connection, str] = None)
Returns a series of db tables
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for banner_storedot-0.9.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74220994325ff54008b0f2d9f37675f3387f5af0c1045fc2acab934309d43185 |
|
MD5 | 924cb7ede20ad946f09f14b298bd565e |
|
BLAKE2b-256 | 4cc254374dc5d8a06d7da06f8e6df9c8eabca5d4615a0e419258d9ceec16ce0b |