Skip to main content

A Python client for Huawei FusionSolar

Project description

FusionSolar

Python client for Huawey FusionSolar API

Example usage

from fusionsolar import Client, PandasClient
import pandas as pd

date = pd.Timestamp('20200402', tz='Europe/Brussels')

with PandasClient(user_name=user, system_code=password) as client:
    sl = client.get_station_list()
    station_code = sl['data'][0]['stationCode']

    df = client.get_kpi_day(station_code=station_code, date=date)

print(df)

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

fusionsolar-0.0.6.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

fusionsolar-0.0.6-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file fusionsolar-0.0.6.tar.gz.

File metadata

  • Download URL: fusionsolar-0.0.6.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.2

File hashes

Hashes for fusionsolar-0.0.6.tar.gz
Algorithm Hash digest
SHA256 17086ba5033ef99cdb7b4edde9de3666359de389820f07a15910247fa405b262
MD5 8bb0b7c0889c4ad80bf600d383dd2905
BLAKE2b-256 69cd957ebe0b825380c7d21763fb054b47d251d6dadd34c899d8797dd070c5d1

See more details on using hashes here.

File details

Details for the file fusionsolar-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: fusionsolar-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.2

File hashes

Hashes for fusionsolar-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6fe394b7b0e0e6320b1a5a21f765f50bd7925409c9e6c5e5a4c8ba39eea2786a
MD5 c7a79fd1884bc874e9a3803aff14f091
BLAKE2b-256 b712f8cf4a76f448edc827cdb3e7d8d6d365b8731ed2db7b39ec712fa84d387a

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