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.4.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.4.0.tar.gz | 745.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ecopipeline-2.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / ecopipeline-2.4.0.tar.gz
| Download URL | ecopipeline-2.4.0.tar.gz |
|---|---|
| Size | 745.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b4d9c468c60c1e0bba536a77fdb968f67f9bcee9d3b5b4e469fc9969a013bde
|
|
BLAKE2b-256 checksum How to use checksums |
f92291cd84023154d77261a13f3c1006b03c737eb1ee53a46a2f098156abad53
|
| 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.4.0-py3-none-any.whl
| Download URL | ecopipeline-2.4.0-py3-none-any.whl |
|---|---|
| Size | 791.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57641d1fd5598370556e43ea2d4f2d4801361f1cb99acfdf0ed8b095ec5a5223
|
|
BLAKE2b-256 checksum How to use checksums |
180bc37150a85a7d2aee2f622189881797b10976478407be1a7ade19b0097e19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|