-
Notifications
You must be signed in to change notification settings - Fork 1
feat(ci): add PyPI publish workflow #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
d438da7
docs(readme): overhaul with badges, demo, architecture; add privacy p…
joeVenner 166eef2
feat(ci): add PyPI publish workflow
joeVenner ed93eac
fix(ci): address greptile review - pin action SHA and remove unused i…
joeVenner e53a324
Merge branch 'main' into feat/pypi-publish-workflow
joeVenner 6e35897
feat(ci): switch to Trusted Publishing (OIDC) + pypi environment prot…
joeVenner 8de4de6
fix(ci): add actor gate and dynamic version from tag
joeVenner 73b0e1a
fix(ci): remove hardcoded actor guard — rely on tag ruleset + env app…
joeVenner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| name: Publish to PyPI | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - "v*" | ||
|
|
||
| jobs: | ||
| build-and-publish: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| id-token: write | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.12" | ||
|
|
||
| - name: Install build tools | ||
| run: pip install build | ||
|
|
||
| - name: Build wheel and sdist | ||
| run: python -m build | ||
|
joeVenner marked this conversation as resolved.
|
||
|
|
||
| - name: Publish to PyPI | ||
| uses: pypa/gh-action-pypi-publish@release/v1 | ||
|
joeVenner marked this conversation as resolved.
Outdated
|
||
| with: | ||
| password: ${{ secrets.PYPI_API_TOKEN }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| # Privacy Policy | ||
|
|
||
| **Effective date:** 2026-04-21 | ||
|
|
||
| This Privacy Policy describes how the **iotcli** open-source project ("we", "us", or "our") handles information. | ||
|
|
||
| ## 1. Overview | ||
|
|
||
| iotcli is a local command-line tool for controlling IoT devices. It does not operate any central service, does not collect telemetry, and does not transmit your personal data to project maintainers. | ||
|
|
||
| ## 2. Information Stored Locally | ||
|
|
||
| All data created by iotcli is stored locally on your machine in `~/.iotcli/`: | ||
|
|
||
| | File / Directory | Contents | | ||
| |------------------|----------| | ||
| | `devices.yaml` | Device names, protocols, IP addresses, and non-sensitive settings | | ||
| | `credentials/*.enc` | Fernet-encrypted secrets (tokens, local keys, passwords) | | ||
| | `.key` | Local-only Fernet encryption key (permissions `0600`) | | ||
| | `skills/` | Generated AI-agent skill files based on your device configuration | | ||
|
|
||
| No project maintainer, server, or third party (other than the device vendor you are intentionally communicating with) has access to these files. | ||
|
|
||
| ## 3. Third-Party Services | ||
|
|
||
| When you use iotcli to communicate with a device, data is transmitted directly between your machine and the device or its vendor cloud (e.g., Tuya cloud, LG ThinQ). This communication is: | ||
|
|
||
| - **Initiated by you** via explicit CLI commands. | ||
| - ** Governed by the device vendor's privacy policy**, not this one. | ||
|
|
||
| We do not act as an intermediary, proxy, or data processor for these communications. | ||
|
|
||
| ## 4. No Telemetry or Analytics | ||
|
|
||
| iotcli does not: | ||
|
|
||
| - Collect usage statistics or crash reports. | ||
| - Use tracking cookies or fingerprinting. | ||
| - Send data to external analytics services. | ||
| - Display advertisements. | ||
|
|
||
| ## 5. Data Security | ||
|
|
||
| - Credentials are encrypted at rest using Fernet (symmetric AES-128 in CBC mode with HMAC). | ||
| - The encryption key is stored with owner-only read permissions (`0600`). | ||
| - We recommend you keep your operating system and Python environment up to date. | ||
|
|
||
| ## 6. Open Source | ||
|
|
||
| The full source code is available at https://github.com/fomyio/iotcli. You can inspect exactly what the tool does and how it handles data. | ||
|
|
||
| ## 7. Changes to This Policy | ||
|
|
||
| We may update this policy to reflect changes in the software. The latest version will always be available in the repository. | ||
|
|
||
| ## 8. Contact | ||
|
|
||
| For privacy questions, open an issue at https://github.com/fomyio/iotcli/issues. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.