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.
The Release workflow reuses the checks from CI instead of re-running them: it requires that the CI workflow has already completed successfully for the current commit (including the workflow-summary job) and reuses the artifacts CI built rather than rebuilding. Trigger it manually with workflow_dispatch; a real release must be run from main, while the dry_run option lets you exercise the workflow from any branch without tagging or releasing. A real run publishes the CI-built distribution to the staging registry and verifies a fresh install, then pushes the v<version> git tag, publishes to the primary registry, verifies the install again, and finally creates a GitHub Release with auto-generated notes.
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 --answers-file .config/.copier-answers.yml --trust --conflict rej --defaults
Release files for gbg-remote-sdk 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gbg_remote_sdk-0.1.3.tar.gz | 14.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gbg_remote_sdk-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.0 kB
Release files / gbg_remote_sdk-0.1.3.tar.gz
| Download URL | gbg_remote_sdk-0.1.3.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8690baf6dba5379d01bc91a13a0fe03c1634e1fe5c7aa9a18773846a2ec4b39
|
|
BLAKE2b-256 checksum How to use checksums |
c658d373bca80becf5f68b60fbf93b313c8b0e4fde1f3495213b52ff8dd384c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Release files / gbg_remote_sdk-0.1.3-py3-none-any.whl
| Download URL | gbg_remote_sdk-0.1.3-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
052eefc4d5a66290677bb2f40ef0a3bc262e69c2169df9d16486907fea4567a3
|
|
BLAKE2b-256 checksum How to use checksums |
1f9bd703fb02d94665d843932aa19e16af9e88a034f4f069b5a7494b287748f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|