None
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.8
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
Development requires poetry 1.2.2 or greater be used.
One can install it from https://python-poetry.org/docs/#installation. The VOLTTRON team prefers to have the python
environments created within the project directory. Execute this command to make that behavior the default.
poetry config virtualenvs.in-project true
Clone the repository.
git clone https://github.com/eclipse-volttron/volttron-lib-sql-historian
Change to the repository directory and use poetry install to setup the environment.
cd volttron-lib-sql-historian
poetry install
Building Wheel
To build a wheel from this project execute the following:
poetry build
The wheel and source distribution will be located in the ./dist/
directory.
Bumping version number of project
To bump the version number of the project execute one of the following.
# patch, minor, major, prepatch, preminor, premajor, prerelease
# use patch
user@path$ poetry patch
# output
Bumping version from 0.2.0-alpha.0 to 0.2.0
# use prepatch
user@path$ poetry version prepatch
# output
Bumping version from 0.2.0 to 0.2.1-alpha.0
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
Hashes for volttron_lib_sql_historian-0.1.1a0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7c4e6c22fba4f9faf12445de019e5675a6bfc58bbb9b6bd3ad4fd051d852c1b |
|
MD5 | 87cdc8c31f9dafabc602b6736743bacb |
|
BLAKE2b-256 | 0ec1c0059f6e60a094459852df905efea43e261a4e0a7752d4af9860fc90fbc1 |
Hashes for volttron_lib_sql_historian-0.1.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bdb02533e0953d60a333ee4305578ca6ac99a0a8a96363337078483a0d3f4ff |
|
MD5 | 32e20dfa3415410aa0e63005d84e3db1 |
|
BLAKE2b-256 | 5fd6ea920bb4e155a7735eaec235f5e4e5540329335e2a241c3b55871ee06834 |