Govee Cloud API
  • Python 98.6%
  • Shell 1.4%
Find a file
Jack Stockley 9aa315518a
Some checks failed
Lint, Test, and Deploy / Lint (push) Has been cancelled
Lint, Test, and Deploy / Test (push) Has been cancelled
Trivy Security Scan / Scan (push) Has been cancelled
Lint, Test, and Deploy / Publish to PyPI (push) Has been cancelled
Merge pull request #113 from jnstockley/dev
Sync from python-starter
2026-06-03 19:00:24 -05:00
.github/workflows Pull changes from python-starter 2026-06-03 23:57:28 +00:00
scripts Fix linting to fail 2025-12-26 23:01:33 -06:00
src Pull changes from python-starter 2026-01-25 23:57:47 +00:00
tests Fix failing test 2026-01-06 17:42:04 -06:00
.gitignore Update with latest version of python-starter 2025-10-07 15:58:10 -05:00
.python-version Update python Docker tag 2025-10-07 22:12:25 +00:00
.yamllint Remove Docker files 2025-03-19 15:57:47 -05:00
LICENSE Initial commit 2025-03-17 19:55:27 -05:00
Main Branch Protection.json Add branch protection json 2025-09-30 08:19:02 -05:00
pyproject.toml Fix merge conflicts 2026-03-03 17:49:11 -06:00
pytest.ini Setting up tests 2025-03-19 15:54:58 -05:00
README.md Update TODO 2025-03-23 19:30:57 -05:00
renovate.json Migrate config renovate.json 2025-08-06 00:01:44 +00:00
sample.env Allow customizable LOG_DIR 2026-01-25 12:46:52 -06:00
TODO.md Update TODO 2025-03-26 20:29:55 -05:00
uv.lock Fix merge conflicts 2026-03-03 17:49:11 -06:00

Python Starter

Steps to set up

  1. Create a new repository in GitHub using this repository as a template
  2. Generate Docker Hub PAT (Personal Access Token)
  3. Create an Environment in GitHub with the following secrets
    • DOCKER_USERNAME (Docker Hub username)
    • DOCKER_PASSWORD (Docker Hub PAT)
  4. Create a Docker Hub repository with the same name as the GitHub repository
  5. Update assignees in renovate.json with your GitHub username
  6. Set up code-cove and make sure it has access to this repository
  7. Setup branch protection rules
    • Set Enrforcment Status to Enabled
    • Make sure Target branches set to main or default branch
    • Ensure these Branch rules are selected
      • Restrict deletions
      • Require status checks to pass with these checks
        • Lint
        • Test
      • Block force pushes
  8. Create a PyPi Trusted Publisher
  9. Ensure the name in pyproject.toml matches the name of the package on PyPi
  10. Make sure the following linters are installed externally of the project
    • yamllint
    • shellcheck
    • shfmt
    • node (npx/dclint)

TODO

  • Handle GitHub pre-release
  • Update PYTHONPATH with src folder
  • Add custom user to Dockerfile
  • Fix Dockerfile
  • Fix health check
  • Fix version number