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

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

nrgpy-0.1.8-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file nrgpy-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: nrgpy-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for nrgpy-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6c0fc23d947634d41ac8ab5853617db0f0348672ad8bf6607cc1099305bde873
MD5 f133cfd9d1cbcabbfb207025a9e95b7f
BLAKE2b-256 3fa7a213984cf0d34210be73d192d4904ae2fb90c82fc30242b3e94c5fdf5111

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