Skip to main content

Command-line tool for interfacing with CircuitPython devices.

Project description

circuitpython-tool

circuitpython-tool is a command-line utility for conveniently addressing and uploading code to CircuitPython devices in a consistent way. Especially when multiple devices are connected to the same computer.

This tool is designed for a workflow where instead of editing files directly on the CircuitPython device, you edit files on your computer and sync the code over to the device.

Usage

circuitpython-tool --help

Terminology

  • Query: vendor:model:serial string. Each component string is searched for in the respective attribute. Empty strings are allowed, e.g. Adafruit:: matches all devices with the vendor Adafruit.
  • Device Label: User-chosen aliases for queries.
  • Source Tree: List of directories to copy to the device.

List devices

circuitpython-tool devices

Label commands

  • label list
  • label add
  • label remove

Source Tree commands

  • tree list
  • tree add
  • tree remove

Serial connection

connect

Single-shot code upload

upload

Automatic continuous code upload

watch

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

circuitpython_tool-0.8.1.tar.gz (35.3 kB view details)

Uploaded Source

Built Distribution

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

circuitpython_tool-0.8.1-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file circuitpython_tool-0.8.1.tar.gz.

File metadata

  • Download URL: circuitpython_tool-0.8.1.tar.gz
  • Upload date:
  • Size: 35.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.26.0

File hashes

Hashes for circuitpython_tool-0.8.1.tar.gz
Algorithm Hash digest
SHA256 d797fa8861ae8e333b87b1365829ac8c64304cf6c1c41fd7dfeb12ce635cbd50
MD5 faa2fe6a897296b12d3d65ce788a430f
BLAKE2b-256 2f3842c52c912e3db3d8882b59639c15ccb8e7bfdf5a85031787cd75ac8dbda9

See more details on using hashes here.

File details

Details for the file circuitpython_tool-0.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for circuitpython_tool-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 559430daa28df61a7764b8146e78466e7bd8e9a6a8a9c963e7ccb4ec5faf2e6a
MD5 faeafb9755ecb95685a21f21aaa5c95f
BLAKE2b-256 f12b951cfe8374ab94941784b5f372e21a10bb3f30f8b9524edde4507f7aa0a8

See more details on using hashes here.

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