Skip to main content

CLI tool for install firmware for CircuitPython boards

Project description

PyPI - Python Version Documentation Status GitHub Actions Workflow Status Codecov Report PyPI - Wheel PyPI - Downloads

A CLI tool for updating the firmware for CircuitPython boards

Installation

The best way to install circfirm is by using pipx, which creates an isolated virtual environment for the dependencies:

pipx install circfirm

You can also just use pip to install it, if the dependencies won’t cause issues:

pip install circfirm

Example Usage

The follow commands show some of the functionality of circfirm:

# Install a version of CircuitPython to a connected board
circfirm install 8.0.0

# Install a version of CircuitPython in French to a connected board
circfirm install 8.0.0 --language fr

# List all the cached (previously downloaded) CircuitPython versions
circfirm cache list

# List all the cached CircuitPython versions for a speciic board
circfirm cache list --board-id feather_m4_express

# Save a version of CircuitPython to the cache
# (You can also use the --language option here)
circfirm cache save feather_m4_express 8.0.0

# Clear the cached CircuitPython versions
circfirm cache clear

# You can use --board-id, --version, and --language options to further specify
# what firmwares should be cleared - this clears version 7.0.0 firmwares for
# all boards and in all languages
circfirm cache clear --version 7.0.0

# See help/information about circfirm or any specific command using --help
circfirm --help
circfirm install --help
circfirm cache save --help

License

This software is provided under an MIT license.

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

circfirm-3.1.0.tar.gz (8.1 MB view details)

Uploaded Source

Built Distribution

circfirm-3.1.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file circfirm-3.1.0.tar.gz.

File metadata

  • Download URL: circfirm-3.1.0.tar.gz
  • Upload date:
  • Size: 8.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for circfirm-3.1.0.tar.gz
Algorithm Hash digest
SHA256 23f3b9ebef19a5b017580d821bb92b110cd4fdabe096f29a30bc9ad095195096
MD5 5ac50d1a4e417c475b8e7f29b14c745e
BLAKE2b-256 564ee9a3d88089d2b6445b3846e54abbf004ccde1d81b6805da1169547c5ffe1

See more details on using hashes here.

File details

Details for the file circfirm-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: circfirm-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for circfirm-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ee07b8a4e36a1a47cebe3cbcbe67de9cf6dba46edba1d06612e9c16fc658c62
MD5 c60b91a330b7d238252508a2764e4f80
BLAKE2b-256 7948acb9db8bf1702965bc4896564ce07c3b0ec7b21f21353d5f0d9bf54c1721

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page