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.2.tar.gz (12.7 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.2-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gbg_remote_sdk-0.1.2.tar.gz
  • Upload date:
  • Size: 12.7 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.2.tar.gz
Algorithm Hash digest
SHA256 2fb5f0d00fe69b9ff80ba0bd9659d05dd6ebdfcfd9486fc0af9a4d4060c78b70
MD5 16e90ef0c4b7c4c88f9ba34d1e305783
BLAKE2b-256 20c5b424c08f7b0278e94a5fb31fad3cbcb4f411edd1c318a99660d6c9ef1185

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gbg_remote_sdk-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d850e05d7ef83c9989ec78e4802865da0c0749d8a672d1af6264e56f74569e80
MD5 5f3f09eb610b56068aabf585819e7ae8
BLAKE2b-256 de710ec57d1cd730052c6d3f34d6fcb2ed2514745e94b2278474576e2b9e641b

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