Skip to main content API interface

Project description

pvoutput python API module. Works with the R2 API version spec here.

Get your API key from the account page on PVOutput

travis-ci build status

Example usage

> from pvoutput import PVOutput
> import json
> apikey = 'aaaaaabbbbbbccccccddddddeeeeeeffffffgggg'
> systemid = 12345
> pvo = PVOutput(apikey=apikey, systemid=systemid)
> print(json.dumps(pvo.check_rate_limit(), indent=2))
"X-Rate-Limit-Remaining": "271",
"X-Rate-Limit-Limit": "300",
"X-Rate-Limit-Reset": "1570597200"


Prod-ish usage

Eventually, pip install pvoutput should do it. In the interim, for prod just grab the pvoutput directory and include it.

  • pipenv install -r requirements.txt or
  • pip install -r requirements.txt



  • pipenv install -r requirements-dev.txt or
  • pip install -r requirements-dev.txt


I'm using pytest as best I can. pipenv install --dev; pipenv run pytest should do it.


MIT License (see LICENSE), don't use this for anything you care about - I don't provide a warranty at all, and it'll likely steal your socks and underfeed your dog.


  • 0.0.1 Initial version
  • 0.0.2 2019-10-12 Fixed some bugs
  • 0.0.3 2019-10-13 Added PVOutput.getstatus() which returns the current status as a dict
  • 0.0.4 2019-11-05 Code cleanup using sonarqube, added an error check for registernotification

Project details

Download files

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

Files for pvoutput, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size pvoutput-0.0.5-py3-none-any.whl (8.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pvoutput-0.0.5.tar.gz (8.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page