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"]}'

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.0.tar.gz (7.6 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.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gbg_remote_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 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.0.tar.gz
Algorithm Hash digest
SHA256 c28b23dea5e1be1ba5a29b390d8c17d777da8bfcdb76bc888940387e654983c2
MD5 b2cfc503a89f807ac614296686ee3ce5
BLAKE2b-256 0fb88e91aad4cf27b2d8fb81d6deed23c2a4cfc79f3189be077b2a3a7a9f65c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gbg_remote_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 602a448c8d1df5935f89aafd93dd1d71cf2504fc2b2da48ca87cee3466d185c3
MD5 f7ed0284330223f337bf117e8d67cbb7
BLAKE2b-256 61800d7118dcc8e5b35d33f465c514edd88b3b4b4a64bbcd78dbd640e59ba9c8

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