Skip to main content

Easily deploy your CircuitPython projects

Project description

circdeploy

Easily deploy your CircuitPython projects

Deploys the current working directory to a connected CircuitPython device.

I don't like editing CircuitPython files directly from the mounted device folder. The OS may be creating hidden files or your IDE may be saving files frequently which may trigger the device to reboot.

Default behavior: Copies all ./**/*.py and ./**/*.pyc files from the current directory to an automatically detected CircuitPython device, skipping any files in .gitignore. Any remaining ./**/*.py and ./**/*.pyc files on the device are deleted (./lib/* is not deleted)

$ circdeploy --help

 Usage: circdeploy [OPTIONS]

 Deploy current CircuitPython project
 All .py and .pyc files in the current directory tree will be copied to the destination (device)
 All other .py and .pyc files in the destination directory tree (device) will be deleted except /lib/

╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --source,--src        -s                    TEXT  Deploy from this location. [default: (current working directory)]                     │
│ --destination,--dest  -d                    TEXT  Deploy to this location. [default: (device path automatically detected)]              │
│ --delete                  --no-delete             Delete files in destination. [default: delete]                                        │
│ --use-gitignore           --no-gitignore          Ignore files using .gitignore files relative to source path. [default: use-gitignore] │
│ --dry-run                                         Don't copy files, only output what would be done.                                     │
│ --install-completion                              Install completion for the current shell.                                             │
│ --show-completion                                 Show completion for the current shell, to copy it or customize the installation.      │
│ --help                                            Show this message and exit.                                                           │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

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

circdeploy-0.2.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

circdeploy-0.2.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file circdeploy-0.2.0.tar.gz.

File metadata

  • Download URL: circdeploy-0.2.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Darwin/21.5.0

File hashes

Hashes for circdeploy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 25793d3fedbbc4db0721098285c12d8ac1fb844e6c0e040afa77144addaeb90f
MD5 3e7c19faa351970ca087e68b7a936c6b
BLAKE2b-256 b291c44c3c7591eecd27b6b59ac156b383448fdc4f56543966413195dfe72a08

See more details on using hashes here.

File details

Details for the file circdeploy-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: circdeploy-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.5 Darwin/21.5.0

File hashes

Hashes for circdeploy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05eb0fc473f672e445b745e27ed491e3e081c3a4d3583dc788e2caa6e3dd880d
MD5 0e3b0f655381767828291acf0e4c7347
BLAKE2b-256 81d703fc48351ade0b98d12e73acd9a65abb08339fc36abf305395df1a0d876a

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