Skip to main content

library for handling NRG Systems data files

Project description

# <img alt="NRGPy" src="https://www.nrgsystems.com/mysite/images/logo.png?v=3" height="40">

NRGPy is the Python package for processing NRG SymphoniePRO Data files

- Website and source: https://github.com/nrgpy/nrgpy
- Support: support@nrgsystems.com

It provides:

- Tools for converting binary ".rld" files to text format
- using locally installed SymphoniePRO Desktop Software
- using web api (compatible with Linux!)
- Tools for reading text exports into Pandas dataframes
- Timestamp adjustment (of text files)

***
## Installation:

pip install nrgpy

## Examples:

### Convert a folder of RLD files to Text with SymphoniePRO Desktop Software:
from nrgpy.convert_rld import local
date_filter = '2018-10' # filter on any text in the filenames
text_folder_name = 'text_outputs/'
fut = local(rld_dir='', out_dir=text_folder_name, site_filter=date_filter)
fut.directory()

### Convert a folder of RLD files to Text with NRG Convert API

from nrgpy.convert_rld import nrg_convert_api
site_filter = "000175"
rld_directory = "rlds"
token = "contact support@nrgsystems.com for token"
fut = nrg_convert_api(site_filter=site_filter, rld_dir=rld_directory, token=token)
fut.process()

### Read files
site_filter = "000175"
from nrgpy.sympro_txt import sympro_txt_read

sympro_dfs = sympro_txt_read()
sympro_dfs.concat_txt(txt_dir=text_folder_name, site_filter=site_filter, output_txt=False)


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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

nrgpy-0.1.10-py3-none-any.whl (16.0 kB view hashes)

Uploaded Python 3

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