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

This version

1.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ecopipeline-1.0.1.tar.gz (63.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ecopipeline-1.0.1-py3-none-any.whl (69.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ecopipeline-1.0.1.tar.gz
  • Upload date:
  • Size: 63.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ecopipeline-1.0.1.tar.gz
Algorithm Hash digest
SHA256 c7f51ee401f399e0af418d1c2d2eac1a8609dad1cb122ff73c99a63dd3e24214
MD5 1447bdf12c43b9d0e865ae7de268f875
BLAKE2b-256 9de7c51d5c6f540a5050d0bb1320ea14f9bccba66343f8979cd6ccd5b7c3b34a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ecopipeline-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 69.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for ecopipeline-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a8250a9c6cc1842b801469e5b98ddd422cc553e2f45c02f5d70fdd015f926d4
MD5 ccec071d3c919f115e5b8bff9b11eea5
BLAKE2b-256 ba1b8a30a1052b83b0c7bb91d1d3e221b000142c1920e12b2a2e5813deb68f29

See more details on using hashes here.

Supported by

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