DataPipelinePackage
To Install the Package
From the internet for use elsewhere:
$ pip install ecopipeline
Requires Python 3.11. The package pins numpy to the 1.24 series and pandas below 2.0; installing it will downgrade a newer numpy in the target environment.
For Development
This repository uses uv. From the DataPipelinePackage directory:
uv sync # build .venv from uv.lock
uv run pytest # run the test suite
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:
uv run pytest
Metadata
Release files for ecopipeline 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ecopipeline-2.3.0.tar.gz | 744.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ecopipeline-2.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / ecopipeline-2.3.0.tar.gz
| Download URL | ecopipeline-2.3.0.tar.gz |
|---|---|
| Size | 744.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3564c7dbe0beebcf2c98fa7e79b1e6aaa41be773292e60ffa175cff36248978d
|
|
BLAKE2b-256 checksum How to use checksums |
e0768cb36ade0ba6b17623217b9c8e4d394c994169f5824c0fa7966630a2979b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / ecopipeline-2.3.0-py3-none-any.whl
| Download URL | ecopipeline-2.3.0-py3-none-any.whl |
|---|---|
| Size | 791.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de32dfd5afb3c686be45c40596c3f00c8904e3efcd7b350278306bdb394314d2
|
|
BLAKE2b-256 checksum How to use checksums |
eb8604e8b885d48a743bda5b6387a6c2b4f080c448301f83986fbbb6a073f5fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|