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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fusionsolar-0.0.4.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for fusionsolar-0.0.4.tar.gz
Algorithm Hash digest
SHA256 37c526b338bcb29e00b8f33ecc934ee426d2cf97a634b69f48662350407a61cd
MD5 ffdad2cbc8ee94aa8a2312377768583a
BLAKE2b-256 be864043288eed7f392eaceba0e955d2c8b18bd5c5103607db9849d0ec4c29bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fusionsolar-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for fusionsolar-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4a51af88202a751a54e9947bde78859b842009e997ded188b76fab7f1c476406
MD5 bc61ff207208802e7302e98bac77ae59
BLAKE2b-256 44fd6a703625c906a5b1f6e7cd85a515ad3a9b1c7bd1a50a27a980fd1d7d2246

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