Skip to main content

Python Plant Extract Document processor

Project description

A package for interacting with [SunSpec](http://sunspec.org) Plant Extract Documents and the standard blocks contained therein.

Installation

Using pip:

pip install plantextract

Usage

Typical usage looks like this:

#!/usr/bin/env python

from plantextract.ped import PlantExtract
from plantextract.smdx import SMDX

ped = PlantExtract('ped-file-to-process') # automatic parsing of envelope
ped.parse_data()        # will parse an included sunSpecData block
print ped.plant         # the Plant Info block
print ped.sunspec_data  # the sunSpecData block

Requires [lxml](http://lxml.de) 3.0.1.

Project details


Download files

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

Source Distribution

plantextract-0.2.7.tar.gz (50.0 kB view hashes)

Uploaded Source

Built Distribution

plantextract-0.2.7-py2.7.egg (111.3 kB view hashes)

Uploaded Source

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