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.3.tar.gz (3.9 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.3-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fusionsolar-0.0.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.3

File hashes

Hashes for fusionsolar-0.0.3.tar.gz
Algorithm Hash digest
SHA256 44a0ddf8c11a0227e696c8dee4a1845e8ab07ccc0ca6065fd5190f38f96020e3
MD5 8da395f8818985c53a6d3504e82be2b0
BLAKE2b-256 03b541d8d8de1f339c4b74072df7b3aa0de1094c181611262b42c4ef509e9e8e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fusionsolar-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.3

File hashes

Hashes for fusionsolar-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f0c0a1356a7e0313cf947f4ebaf9d3777b70160a8103d077245a18e9e4514662
MD5 117aba717e3d2979fc203ff061568e74
BLAKE2b-256 0c0fc53bce5810ed9107ed01558190e52ab19ad7ebf628b8024c77646f2ce48b

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