Skip to main content

A library for supporting sql based historians.

Project description

Eclipse VOLTTRON™ Python 3.10 Python 3.11 pypi version Passing?

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 into a running VOLTTRON instance using

vctl install-lib volttron-lib-sql-historian

To remove it later, use

vctl remove-lib volttron-lib-sql-historian

However, this is not usually 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 into the same VOLTTRON environment.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

volttron_lib_sql_historian-2.0.0rc3.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

volttron_lib_sql_historian-2.0.0rc3-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file volttron_lib_sql_historian-2.0.0rc3.tar.gz.

File metadata

  • Download URL: volttron_lib_sql_historian-2.0.0rc3.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.20 Linux/6.8.0-1062-azure

File hashes

Hashes for volttron_lib_sql_historian-2.0.0rc3.tar.gz
Algorithm Hash digest
SHA256 172b5b4826afaf01081ea61ecb51bf88802617f8b478f1bad231d41580afa465
MD5 66ded6cf5d60b484feb98bb6ab5d0f72
BLAKE2b-256 6d23e060488ccf82038e8a8d23046bfb8c5012af7850020d6a1dee3b88e9cb32

See more details on using hashes here.

File details

Details for the file volttron_lib_sql_historian-2.0.0rc3-py3-none-any.whl.

File metadata

File hashes

Hashes for volttron_lib_sql_historian-2.0.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 d718b65fb6783c2568682794db490a4bfa8152d2c91a7d10ef779cb46d27150e
MD5 073c982fde51c1b23e65bac87a2c4e44
BLAKE2b-256 0c516f5dfb72deb6b375dcc95dd3d11665721a486836bc8f40a449f2d83d6fb6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page