Contains functions for use in Ecotope Datapipelines
Project description
DataPipelinePackage
To Install the Package
From the internet for use elsewhere:
$ pip install ecopipeline
Install locally in an editable mode:
Navigate to DataPipelinePackage directory and run the following command
$ pip install -e .
Using the Package
See https://ecotoperesearch.github.io/DataPipelinePackage/build/html/index.html for documentation
config.ini
- database
- user: username for host database connection
- password: password for host database connection
- host: name of host
- database: name of database
- minute
- table_name: name of table to be created in the mySQL database containing minute-by-minute data
- hour
- table_name: name of table to be created in the mySQL database containing hour-by-hour data
- day
- table_name: name of table to be created in the mySQL database containing day-by-day data
- input
- directory: diretory of the folder containing the input files listed below
- site_info: name of the site information csv
- 410a_info: name of the 410a information csv
- superheat_info: name of the superheat infomation csv
- output
- directory: diretory of the folder where any pipeline output should be written to
- data
- directory: diretory of the folder from which extract loads the raw sensor data
- fieldManager_api_usr: Username for Field Manager API if extracting data through that medium
- fieldManager_api_pw: Password for Field Manager API if extracting data through that medium
- fieldManager_device_id: Device ID for Field Manager API if extracting data through that medium
Unit Testing
To run Unit tests, run the following command in the terminal in the corresponding directory:
python -m pytest
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
ecopipeline-0.4.14.tar.gz
(42.2 kB
view details)
Built Distribution
File details
Details for the file ecopipeline-0.4.14.tar.gz
.
File metadata
- Download URL: ecopipeline-0.4.14.tar.gz
- Upload date:
- Size: 42.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fedba43beebca446d698d2a0d50f561990e92b13dbdd6a4d874e6bfad6371f1 |
|
MD5 | e69239c1665ae9dbeadeab27b86711ad |
|
BLAKE2b-256 | b5c04182ff0ef4ec4947d30569b294a65c8d98da720657f859f1312f3f54e612 |
File details
Details for the file ecopipeline-0.4.14-py3-none-any.whl
.
File metadata
- Download URL: ecopipeline-0.4.14-py3-none-any.whl
- Upload date:
- Size: 44.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fc2c657231f3d03568396f37c4941a7de1cff34be8172ca54cde8ba1a6f2611 |
|
MD5 | 1f06fee73394386e07b34b9e375379f3 |
|
BLAKE2b-256 | d3b6365c3e30047d9824362ee5497636e5cfd6eca728b05d4a1216873ecac081 |