Skip to main content

Software Development Kit for the SOAP-based API for Green Button Go Remote Control

Project description

pre-commit Ruff uv Checked with pyright Actions status Open in Dev Containers PyPI Version Downloads Python Versions Codecov

Usage

Documentation is hosted on ReadTheDocs.

Development

This project has a dev container. If you already have VS Code and Docker installed, you can click the badge above or here to get started. Clicking these links will cause VS Code to automatically install the Dev Containers extension if needed, clone the source code into a container volume, and spin up a dev container for use.

To publish a new version of the repository, you can run the Publish workflow manually and publish to the staging registry from any branch, and you can check the 'Publish to Primary' option when on main to publish to the primary registry and create a git tag.

For doing testing of the GBG Remote interface:

Open a connection to the EC2 instance hosting GBG in AWS:

aws ssm start-session --target i-033eef3ccfbe82829 --document-name AWS-StartPortForwardingSession --parameters '{"portNumber":["8080"],"localPortNumber":["8080"]}'

Snapshots during testing

When running the unit test suite, pytest-recording library is used. If it gives you errors about a cassette missing, the parameter to invoke a live HTTP request is --record-mode=once (add on to the end of the pytest command)

Updating from the template

This repository uses a copier template. To pull in the latest updates from the template, use the command: copier update --trust --conflict rej --defaults

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

gbg_remote_sdk-0.1.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

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

gbg_remote_sdk-0.1.1-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file gbg_remote_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: gbg_remote_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gbg_remote_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 893607f81adcea926530f21f716d3793199f8e8b763c6e0f57c700ababa282f0
MD5 f6cd6d77b4c54a34a091652ab0b657dc
BLAKE2b-256 4df75d682ec450a20f4e2a7b1a29c3eb0c10502110d0d448121a77c0b548d9c5

See more details on using hashes here.

File details

Details for the file gbg_remote_sdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gbg_remote_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gbg_remote_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 216b38bb5ffbb3605a1f4aa058e485184c29b22d58f1cb358bd4834b8bb1a0a1
MD5 6932bd8902dc221ea59d984fb0da94fb
BLAKE2b-256 9a96d4ce6c79b0dba12755a6fd5cba2aeeaa033ffdea2e9b545fe8282f27ade9

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