Skip to main content

Barry Electricity Price Consumption Data

Project description

pybarry

Python3 library for Barry.

Get electricity consumption price.

Install

pip3 install pybarry

Example:

from pybarry import Barry

access_token = '<your barry token>'
barry_connection = Barry(access_token=access_token)
# Get price_code from where your metering point is located
spot_price = barry_connection.update_spot_price(price_code=price_code)
print(spot_price)
# Get your mpid from selected metering point
total_price = barry_connection.update_total_price(mpid=mpid)
print(total_price)

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

pybarry-0.0.5.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

pybarry-0.0.5-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file pybarry-0.0.5.tar.gz.

File metadata

  • Download URL: pybarry-0.0.5.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.0

File hashes

Hashes for pybarry-0.0.5.tar.gz
Algorithm Hash digest
SHA256 89b581f8073f0ffe51dbed015ddaed04e2dcdb9b35df4ebb72fff97be4ff60fe
MD5 f206cf12582355de323ab1617e2b218c
BLAKE2b-256 2ed6aea855c5e24ef0172cd40b5e0dfed5a1e2b5fe3cf94b5354af56f1c9676c

See more details on using hashes here.

File details

Details for the file pybarry-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: pybarry-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.0

File hashes

Hashes for pybarry-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 62c6842338bcbc32f995e2345ec29d0fbdcaab0c7429577a993f8b2a05f5ceab
MD5 6cdb897de724906bf0fad4c12bd38631
BLAKE2b-256 3e4342d4b8b9b6073e2963fa773bf41a83bc0d0c03863e4f8b1603609c57583a

See more details on using hashes here.

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