A library for supporting sql based historians.
Project description
Generic SQL Historian library that can be used to implement a historian agent with a relational database backend. This library cannot be installed as a VOLTTRON agent as is. Only a concrete database implementation package such as sqlite-historian that depends on this library can be installed as a VOLTTRON agent.
Requirements
- Python >= 3.10
Installation
This library can be installed using pip install volttron-lib-sql-historian
. However, this is not necessary. Any
historian agent that uses this library will automatically install it as part of its installation. For example,
installing SQLiteHistorian will automatically install
volttron-lib-sql-historian
Development
Please see the following for contributing guidelines contributing.
Please see the following helpful guide about developing modular VOLTTRON agents
To create a new relational database based historian by extending this library, subclass DBDriver. The subclass should be in a module historian.<database_type>.<database_type>functs.py for it to be dynamically loaded by the base DBDriver. Please refer to SQLiteHistorian as an example
Disclaimer Notice
This material was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the United States Department of Energy, nor Battelle, nor any of their employees, nor any jurisdiction or organization that has cooperated in the development of these materials, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness or any information, apparatus, product, software, or process disclosed, or represents that its use would not infringe privately owned rights.
Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.
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
File details
Details for the file volttron_lib_sql_historian-2.0.0rc0.tar.gz
.
File metadata
- Download URL: volttron_lib_sql_historian-2.0.0rc0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57361fd2bbd250b7d4954468645f9896cfc5d0c4bb90f5e82a096e1979bed4dc |
|
MD5 | 00a2455805fbd155262dc59ab02a1850 |
|
BLAKE2b-256 | 7018b92f4dc1d8bba792f9da278aead05059fe25f1131c5d237857d4081e9513 |
File details
Details for the file volttron_lib_sql_historian-2.0.0rc0-py3-none-any.whl
.
File metadata
- Download URL: volttron_lib_sql_historian-2.0.0rc0-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/5.15.153.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58a713a372dcb13c83546a0612867c8802c33350f3013ca7ed6b3916ddfbecd1 |
|
MD5 | 40e515456f44717925fb8290ec67e20d |
|
BLAKE2b-256 | afa537f81d8fdb15d45f242d47abbc39b15fa65780a37dc4634b2195019a9941 |