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.5.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fusionsolar-0.0.5.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fusionsolar-0.0.5.tar.gz
Algorithm Hash digest
SHA256 509497322f8ed0295cb4d94711909b518fa6d7e86c9193926e847960cf0657a3
MD5 368e87ada8d415593b6b6a36cc8c4e2f
BLAKE2b-256 b8ccd56b951ab6ad65ae1b43d59cd77f446d2a84894293bfaf69751c0e4d97ab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fusionsolar-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fusionsolar-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 da0035f5929af5d1cc75966775a5a6c85b651ef571b6bb2bc368b57942f945c1
MD5 3e09b382566c6b1e46fc708116ee3529
BLAKE2b-256 3501feb2b41b1ced2ff86b0619c6cd04adfb76bd3eebc53e65a575df6d9a8ca9

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