Skip to main content

Python Library to access the myGEKKO Query API.

Project description

PyMyGekko

Python Library to access the myGEKKO Query API. This project is a work in progress. No guarantee to work until 1.0.0

PyPI - Version PyPI - Python Version BuyMeCoffee


Table of Contents

Installation

pip install pymygekko

Usage

from aiohttp import ClientSession

from PyMyGekko import MyGekkoApiClient
from PyMyGekko.resources.Lights import LightState

async with ClientSession() as session:
    api = MyGekkoApiClient(
        "USERNAME",
        "APIKEY",
        "GEKKOID",
        session,
    )

    await api.read_data()

    # Read lights
    lights = api.get_lights()
    # assuming there is a light...
    await lights[0].set_state(LightState.ON)

License

pymygekko is distributed under the terms of the MIT license.


Project details


Release history Release notifications | RSS feed

This version

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymygekko-1.0.0.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

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

pymygekko-1.0.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file pymygekko-1.0.0.tar.gz.

File metadata

  • Download URL: pymygekko-1.0.0.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for pymygekko-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4be256f425b24a30708de30c2e066eb45b7c125621ac9a68b0f37b6bce2967fa
MD5 0494bcddc30c5c86388da9cd49703e77
BLAKE2b-256 dded6d28a8f06434eff390034850e25b1de3f8edf5059b2ae188ea48d16c1d89

See more details on using hashes here.

File details

Details for the file pymygekko-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pymygekko-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for pymygekko-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5af90c80599dc9d6780bd9abcfeed98c7cec41a7395c598d9f625305db617cea
MD5 8ecb615bcf477255eabcc1fca2b3950c
BLAKE2b-256 a91ae72d04c7bfa1fec4b639ceab4bff4e1fed7f230049235f81d7b38d9278e1

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