Skip to main content

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.12.tar.gz (41.8 kB view details)

Uploaded Source

Built Distribution

ecopipeline-0.4.12-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

Details for the file ecopipeline-0.4.12.tar.gz.

File metadata

  • Download URL: ecopipeline-0.4.12.tar.gz
  • Upload date:
  • Size: 41.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for ecopipeline-0.4.12.tar.gz
Algorithm Hash digest
SHA256 525d62dd29bd4bf8c83ba5243cc7e86a1b7eb414c1b887843d3dc38921b5a067
MD5 21171e1ffd78cecf8d8b6ec1fe5a9c63
BLAKE2b-256 baa51d5083783049a65c225ac96d0005c43b17cc2875f7f1095549a394e77708

See more details on using hashes here.

File details

Details for the file ecopipeline-0.4.12-py3-none-any.whl.

File metadata

  • Download URL: ecopipeline-0.4.12-py3-none-any.whl
  • Upload date:
  • Size: 44.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for ecopipeline-0.4.12-py3-none-any.whl
Algorithm Hash digest
SHA256 b65d9d20caba3a187611bd286a54f03854b8675c281b54f4be98947ff24b83a4
MD5 be26015ef47152d175ec02d9f58fc2ba
BLAKE2b-256 22611788a64add241781fc4451a0015c69fb9cd7d49f94cf1ca1ff48510fcddd

See more details on using hashes here.

Supported by

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