Skip to main content

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:

  1. The command-line tool to build and install apps and watchfaces (this repository).
  2. 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.
  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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pebble_tool-5.0.36.tar.gz (195.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pebble_tool-5.0.36-py3-none-any.whl (228.6 kB view details)

Uploaded Python 3

File details

Details for the file pebble_tool-5.0.36.tar.gz.

File metadata

  • Download URL: pebble_tool-5.0.36.tar.gz
  • Upload date:
  • Size: 195.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pebble_tool-5.0.36.tar.gz
Algorithm Hash digest
SHA256 3f087673b9fad57570c1e0e7a895ef8de0af8920c0f9d3a1e2d94a8e55ed05a8
MD5 389ef025273707762bfee256f22b127f
BLAKE2b-256 f510a196d1d0655a28aaf9734bf5d58f2f128202df685f57808c0e5169475c52

See more details on using hashes here.

Provenance

The following attestation bundles were made for pebble_tool-5.0.36.tar.gz:

Publisher: release.yml on coredevices/pebble-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pebble_tool-5.0.36-py3-none-any.whl.

File metadata

  • Download URL: pebble_tool-5.0.36-py3-none-any.whl
  • Upload date:
  • Size: 228.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pebble_tool-5.0.36-py3-none-any.whl
Algorithm Hash digest
SHA256 8204384f114adc03e29ef7dd13d9ebf3eb7c0a2611fc2ce92b270979b66f13e1
MD5 2b167be78846d75f19746c3147c5d4b8
BLAKE2b-256 bb48b11355287e0e0acf2cbb1c1bf21aa1e40b053e5782b01d1cf8040171e915

See more details on using hashes here.

Provenance

The following attestation bundles were made for pebble_tool-5.0.36-py3-none-any.whl:

Publisher: release.yml on coredevices/pebble-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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