Skip to main content

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).

File Cache

By default, a file cache is used to only copy files that have been changed in the source directory. If a file was changed manually in the destination, or if the destination is different than a previous deploy, then not all files may be copied. You can disable the cache check with --no-cache, or reset the cache for that source with --reset-cache.

$ 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/ (disable with --no-delete)           
                                                                                                                                           
╭─ 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] │
│ --use-cache               --no-cache              Use file cache to skip unchanged files. [default: use-cache]                          │
│ --reset-cache                                     Reset file cache.                                                                     │
│ --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.                                                           │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Metadata

Release files for circdeploy 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for circdeploy 1.0.0
File Size Uploaded Provenance Actions
circdeploy-1.0.0.tar.gz 34.9 kB Without provenance Details for circdeploy-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for circdeploy 1.0.0
File Interpreter ABI Platform Actions
circdeploy-1.0.0-py3-none-any.whl Python 3 none any Details for circdeploy-1.0.0-py3-none-any.whl

Total release size: 42.8 kB

Release files / circdeploy-1.0.0.tar.gz

Download URL circdeploy-1.0.0.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1291f3ce579155cd5495ac9ff8099167ef254787c95bfd1666e94485f243a932
BLAKE2b-256 checksum
How to use checksums
e71f14d56a4c1a5813ba146fa8811ee633d1656bc05fc77ad94b4afa563a247e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / circdeploy-1.0.0-py3-none-any.whl

Download URL circdeploy-1.0.0-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad77d4e08a6f2d185c4e30bef58a0a3149226a88771dfb666c366d9f340ae591
BLAKE2b-256 checksum
How to use checksums
036ce85adbcf1cc5ad128b8bdb54e0ee15f947e5db1c163f0c51888ca7ae2c48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Security for circdeploy 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page