circup 1.5.4__tar.gz → 1.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- circup-1.6.0/.isort.cfg +5 -0
- {circup-1.5.4/circup.egg-info → circup-1.6.0}/PKG-INFO +36 -22
- {circup-1.5.4 → circup-1.6.0}/README.rst +30 -16
- {circup-1.5.4 → circup-1.6.0}/circup/__init__.py +200 -353
- circup-1.6.0/circup/backends.py +829 -0
- circup-1.6.0/circup/shared.py +144 -0
- {circup-1.5.4 → circup-1.6.0/circup.egg-info}/PKG-INFO +36 -22
- {circup-1.5.4 → circup-1.6.0}/circup.egg-info/SOURCES.txt +6 -1
- circup-1.6.0/tests/mock_device/boot_out.txt +3 -0
- circup-1.6.0/tests/mock_device/boot_out.txt.license +3 -0
- {circup-1.5.4 → circup-1.6.0}/tests/test_circup.py +228 -105
- {circup-1.5.4 → circup-1.6.0}/.github/ISSUE_TEMPLATE.md +0 -0
- {circup-1.5.4 → circup-1.6.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {circup-1.5.4 → circup-1.6.0}/.github/workflows/build.yml +0 -0
- {circup-1.5.4 → circup-1.6.0}/.github/workflows/release.yml +0 -0
- {circup-1.5.4 → circup-1.6.0}/.gitignore +0 -0
- {circup-1.5.4 → circup-1.6.0}/.pre-commit-config.yaml +5 -5
- {circup-1.5.4 → circup-1.6.0}/.pylintrc +0 -0
- {circup-1.5.4 → circup-1.6.0}/CODE_OF_CONDUCT.rst +0 -0
- {circup-1.5.4 → circup-1.6.0}/CODE_OF_CONDUCT.rst.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/CONTRIBUTING.rst +0 -0
- {circup-1.5.4 → circup-1.6.0}/CONTRIBUTING.rst.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/LICENSE +0 -0
- {circup-1.5.4 → circup-1.6.0}/LICENSES/CC-BY-4.0.txt +0 -0
- {circup-1.5.4 → circup-1.6.0}/LICENSES/MIT.txt +0 -0
- {circup-1.5.4 → circup-1.6.0}/LICENSES/Unlicense.txt +0 -0
- {circup-1.5.4 → circup-1.6.0}/README.rst.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/circup/config/bundle_config.json +0 -0
- {circup-1.5.4 → circup-1.6.0}/circup/config/bundle_config.json.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/circup.egg-info/dependency_links.txt +0 -0
- {circup-1.5.4 → circup-1.6.0}/circup.egg-info/entry_points.txt +0 -0
- {circup-1.5.4 → circup-1.6.0}/circup.egg-info/requires.txt +5 -5
- {circup-1.5.4 → circup-1.6.0}/circup.egg-info/top_level.txt +0 -0
- {circup-1.5.4 → circup-1.6.0}/docs/_static/favicon.ico +0 -0
- {circup-1.5.4 → circup-1.6.0}/docs/_static/favicon.ico.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/docs/conf.py +0 -0
- {circup-1.5.4 → circup-1.6.0}/docs/index.rst +0 -0
- {circup-1.5.4 → circup-1.6.0}/docs/index.rst.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/docs/logo.png +0 -0
- {circup-1.5.4 → circup-1.6.0}/docs/logo.png.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/readthedocs.yml +0 -0
- {circup-1.5.4 → circup-1.6.0}/requirements.txt +0 -0
- {circup-1.5.4 → circup-1.6.0}/requirements.txt.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/setup.cfg +0 -0
- {circup-1.5.4 → circup-1.6.0}/setup.py +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/__init__.py +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/bad_module/__init__.py +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/bad_module/my_module.py +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/bad_python.py +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/bundle.json +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/bundle.json.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/device.json +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/device.json.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/dir_module/__init__.py +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/dir_module/my_module.py +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/import_styles.py +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/local_module.py +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/local_module_cp7.mpy +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/local_module_cp7.mpy.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/mount_exists.txt +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/mount_exists.txt.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/mount_missing.txt +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/mount_missing.txt.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/remote_module.py +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/test_bundle_config.json +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/test_bundle_config.json.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/test_bundle_config_local.json +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/test_bundle_config_local.json.license +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/test_module.mpy +0 -0
- {circup-1.5.4 → circup-1.6.0}/tests/test_module.mpy.license +0 -0
circup-1.6.0/.isort.cfg
ADDED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: circup
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.6.0
|
|
4
4
|
Summary: A tool to manage/update libraries on CircuitPython devices.
|
|
5
5
|
Home-page: https://github.com/adafruit/circup
|
|
6
6
|
Author: Adafruit Industries
|
|
@@ -57,16 +57,16 @@ Requires-Dist: sphinx; extra == "dev"
|
|
|
57
57
|
Requires-Dist: wheel; extra == "dev"
|
|
58
58
|
Requires-Dist: twine; extra == "dev"
|
|
59
59
|
Provides-Extra: all
|
|
60
|
-
Requires-Dist:
|
|
60
|
+
Requires-Dist: pytest-faulthandler; extra == "all"
|
|
61
|
+
Requires-Dist: pytest; extra == "all"
|
|
61
62
|
Requires-Dist: coverage; extra == "all"
|
|
63
|
+
Requires-Dist: pytest-random-order>=1.0.0; extra == "all"
|
|
64
|
+
Requires-Dist: twine; extra == "all"
|
|
62
65
|
Requires-Dist: sphinx; extra == "all"
|
|
66
|
+
Requires-Dist: wheel; extra == "all"
|
|
63
67
|
Requires-Dist: pytest-cov; extra == "all"
|
|
64
|
-
Requires-Dist: pytest-faulthandler; extra == "all"
|
|
65
68
|
Requires-Dist: pylint; extra == "all"
|
|
66
|
-
Requires-Dist: twine; extra == "all"
|
|
67
69
|
Requires-Dist: black; extra == "all"
|
|
68
|
-
Requires-Dist: pytest; extra == "all"
|
|
69
|
-
Requires-Dist: pytest-random-order>=1.0.0; extra == "all"
|
|
70
70
|
|
|
71
71
|
|
|
72
72
|
CircUp
|
|
@@ -159,24 +159,32 @@ To get help, just type the command::
|
|
|
159
159
|
A tool to manage and update libraries on a CircuitPython device.
|
|
160
160
|
|
|
161
161
|
Options:
|
|
162
|
-
--verbose
|
|
163
|
-
--
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
162
|
+
--verbose Comprehensive logging is sent to stdout.
|
|
163
|
+
--path DIRECTORY Path to CircuitPython directory. Overrides automatic
|
|
164
|
+
path detection.
|
|
165
|
+
--host TEXT Hostname or IP address of a device. Overrides automatic
|
|
166
|
+
path detection.
|
|
167
|
+
--password TEXT Password to use for authentication when --host is used.
|
|
168
|
+
--board-id TEXT Manual Board ID of the CircuitPython device. If provided
|
|
169
|
+
in combination with --cpy-version, it overrides the
|
|
170
|
+
detected board ID.
|
|
171
|
+
--cpy-version TEXT Manual CircuitPython version. If provided in combination
|
|
172
|
+
with --board-id, it overrides the detected CPy version.
|
|
173
|
+
--version Show the version and exit.
|
|
174
|
+
--help Show this message and exit.
|
|
169
175
|
|
|
170
176
|
Commands:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
bundle-add Add bundles to the local bundles list, by "user/repo"...
|
|
178
|
+
bundle-remove Remove one or more bundles from the local bundles list.
|
|
179
|
+
bundle-show Show the list of bundles, default and local, with URL,...
|
|
180
|
+
freeze Output details of all the modules found on the connected...
|
|
181
|
+
install Install a named module(s) onto the device.
|
|
182
|
+
list Lists all out of date modules found on the connected...
|
|
183
|
+
show Show a list of available modules in the bundle.
|
|
184
|
+
uninstall Uninstall a named module(s) from the connected device.
|
|
185
|
+
update Update modules on the device. Use --all to automatically
|
|
186
|
+
update all modules without Major Version warnings.
|
|
187
|
+
|
|
180
188
|
|
|
181
189
|
|
|
182
190
|
To automatically install all modules imported by ``code.py``,
|
|
@@ -291,6 +299,12 @@ The ``--version`` flag will tell you the current version of the
|
|
|
291
299
|
$ circup --version
|
|
292
300
|
CircUp, A CircuitPython module updater. Version 0.0.1
|
|
293
301
|
|
|
302
|
+
|
|
303
|
+
To use circup via the `Web Workflow <https://learn.adafruit.com/getting-started-with-web-workflow-using-the-code-editor>`_. on devices that support it. Use the ``--host`` and ``--password`` arguments before your circup command.::
|
|
304
|
+
|
|
305
|
+
$ circup --host 192.168.1.119 --password s3cr3t install adafruit_hid
|
|
306
|
+
$ circup --host cpy-9573b2.local --password s3cr3t install adafruit_hid
|
|
307
|
+
|
|
294
308
|
That's it!
|
|
295
309
|
|
|
296
310
|
|
|
@@ -89,24 +89,32 @@ To get help, just type the command::
|
|
|
89
89
|
A tool to manage and update libraries on a CircuitPython device.
|
|
90
90
|
|
|
91
91
|
Options:
|
|
92
|
-
--verbose
|
|
93
|
-
--
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
92
|
+
--verbose Comprehensive logging is sent to stdout.
|
|
93
|
+
--path DIRECTORY Path to CircuitPython directory. Overrides automatic
|
|
94
|
+
path detection.
|
|
95
|
+
--host TEXT Hostname or IP address of a device. Overrides automatic
|
|
96
|
+
path detection.
|
|
97
|
+
--password TEXT Password to use for authentication when --host is used.
|
|
98
|
+
--board-id TEXT Manual Board ID of the CircuitPython device. If provided
|
|
99
|
+
in combination with --cpy-version, it overrides the
|
|
100
|
+
detected board ID.
|
|
101
|
+
--cpy-version TEXT Manual CircuitPython version. If provided in combination
|
|
102
|
+
with --board-id, it overrides the detected CPy version.
|
|
103
|
+
--version Show the version and exit.
|
|
104
|
+
--help Show this message and exit.
|
|
99
105
|
|
|
100
106
|
Commands:
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
bundle-add Add bundles to the local bundles list, by "user/repo"...
|
|
108
|
+
bundle-remove Remove one or more bundles from the local bundles list.
|
|
109
|
+
bundle-show Show the list of bundles, default and local, with URL,...
|
|
110
|
+
freeze Output details of all the modules found on the connected...
|
|
111
|
+
install Install a named module(s) onto the device.
|
|
112
|
+
list Lists all out of date modules found on the connected...
|
|
113
|
+
show Show a list of available modules in the bundle.
|
|
114
|
+
uninstall Uninstall a named module(s) from the connected device.
|
|
115
|
+
update Update modules on the device. Use --all to automatically
|
|
116
|
+
update all modules without Major Version warnings.
|
|
117
|
+
|
|
110
118
|
|
|
111
119
|
|
|
112
120
|
To automatically install all modules imported by ``code.py``,
|
|
@@ -221,6 +229,12 @@ The ``--version`` flag will tell you the current version of the
|
|
|
221
229
|
$ circup --version
|
|
222
230
|
CircUp, A CircuitPython module updater. Version 0.0.1
|
|
223
231
|
|
|
232
|
+
|
|
233
|
+
To use circup via the `Web Workflow <https://learn.adafruit.com/getting-started-with-web-workflow-using-the-code-editor>`_. on devices that support it. Use the ``--host`` and ``--password`` arguments before your circup command.::
|
|
234
|
+
|
|
235
|
+
$ circup --host 192.168.1.119 --password s3cr3t install adafruit_hid
|
|
236
|
+
$ circup --host cpy-9573b2.local --password s3cr3t install adafruit_hid
|
|
237
|
+
|
|
224
238
|
That's it!
|
|
225
239
|
|
|
226
240
|
|