circdeploy-0.2.1
توضیحات
Easily deploy your CircuitPython projects
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | circdeploy-0.2.1 |
| نام | circdeploy |
| نسخه کتابخانه | 0.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Patrick Seal |
| ایمیل نویسنده | code@plasticrake.com |
| آدرس صفحه اصلی | https://github.com/plasticrake/circdeploy |
| آدرس اینترنتی | https://pypi.org/project/circdeploy/ |
| مجوز | MIT |
# 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)
```text
$ 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. │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
```
نیازمندی
| مقدار | نام |
|---|---|
| >=1.1.2,<2.0.0 | circup |
| >=2.1.2,<3.0.0 | igittigitt |
| >=12.5.1,<13.0.0 | rich |
| >=0.6.1,<0.7.0 | typer |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl circdeploy-0.2.1:
pip install circdeploy-0.2.1.whl
نصب پکیج tar.gz circdeploy-0.2.1:
pip install circdeploy-0.2.1.tar.gz