Tool for interacting with pebbles.
Project description
Pebble Tool
The command-line tool for the Pebble SDK.
About
The Pebble SDK now runs in Python 3. This includes:
- The command-line tool to build and install apps and watchfaces (this repository).
- The SDK code in PebbleOS (https://github.com/coredevices/PebbleOS/tree/main/sdk). This isn't fully working yet, so pebble-tool currently uses a patched version of the existing SDK core (version 4.3) that has been modified for Python 3.
- pypkjs (https://github.com/coredevices/pypkjs), which allows PebbleKitJS code to run in the QEMU emulator.
Previously, the Pebble SDK was installed by downloading a tar file containing pebble-tool, the toolchain, and executables for PebbleOS QEMU and pebble-tool. Users had to decide where to extract the file, add the binaries to their PATH, and configure a virtualenv.
Now, pebble-tool is a standalone command-line tool that can be installed through pip/uv. The toolchain (arm-none-eabi) and QEMU binary are no longer bundled, but instead installed when pebble sdk install is run.
Installation
Instructions are at https://developer.repebble.com/sdk
It's super simple: install a few platform-specific dependencies, then install pebble-tool via uv.
For developers of pebble-tool, use:
uv run pebble.py
Testing
Test coverage can be run locally with:
uv run pytest
Troubleshooting
If you run into issues, try uninstalling and re-installing. You can remove the latest SDK with
pebble sdk uninstall 4.4
You can also delete pebble-tool's entire data directory, located at ~/.pebble-sdk on Linux and ~/Library/Application Support/Pebble SDK on Mac.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pebble_tool-5.0.31.tar.gz.
File metadata
- Download URL: pebble_tool-5.0.31.tar.gz
- Upload date:
- Size: 191.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae23232bf74b6208b5f7037b7dbdee1661be631ec9a637486b513116cf1e08d9
|
|
| MD5 |
8c98d0929f016faf54471a6be8ca93ea
|
|
| BLAKE2b-256 |
f13895c7c8e0ebea3c3bc5a6be5794640a0b1fa46c269158878a9de5c9490b7f
|
Provenance
The following attestation bundles were made for pebble_tool-5.0.31.tar.gz:
Publisher:
release.yml on coredevices/pebble-tool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pebble_tool-5.0.31.tar.gz -
Subject digest:
ae23232bf74b6208b5f7037b7dbdee1661be631ec9a637486b513116cf1e08d9 - Sigstore transparency entry: 1203270504
- Sigstore integration time:
-
Permalink:
coredevices/pebble-tool@878971d9d59519a3168fc3d4972736ceb286d29f -
Branch / Tag:
refs/tags/v5.0.31 - Owner: https://github.com/coredevices
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@878971d9d59519a3168fc3d4972736ceb286d29f -
Trigger Event:
release
-
Statement type:
File details
Details for the file pebble_tool-5.0.31-py3-none-any.whl.
File metadata
- Download URL: pebble_tool-5.0.31-py3-none-any.whl
- Upload date:
- Size: 221.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae82587a1250956aff3c1f9d15073fe73cb38fdd111673607a2be7d476f4df88
|
|
| MD5 |
12349bd157f719d76f6767e4fa13d68e
|
|
| BLAKE2b-256 |
8ae85b225b5abbab91b906767586b1b8609116e28b5ec4f7f15df3656747e3d1
|
Provenance
The following attestation bundles were made for pebble_tool-5.0.31-py3-none-any.whl:
Publisher:
release.yml on coredevices/pebble-tool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pebble_tool-5.0.31-py3-none-any.whl -
Subject digest:
ae82587a1250956aff3c1f9d15073fe73cb38fdd111673607a2be7d476f4df88 - Sigstore transparency entry: 1203270509
- Sigstore integration time:
-
Permalink:
coredevices/pebble-tool@878971d9d59519a3168fc3d4972736ceb286d29f -
Branch / Tag:
refs/tags/v5.0.31 - Owner: https://github.com/coredevices
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@878971d9d59519a3168fc3d4972736ceb286d29f -
Trigger Event:
release
-
Statement type: