This release is a pre-release and may not be stable for production use.
minipip
Tool for installing distribution packages for MicroPython and CircuitPython.
Supports both upip-compatible packages, and regular pip-compatible packages (by using pip install –target …).
By default it prefers packages at micropython.org-s index. If the package or the required version is not found there, then it turns to PyPI.
If --port is given and rshell is available then it uploads the extracted files to the target device, otherwise it just extracts modules to a directory in the local filesystem. --target directory must be explicitly given in both cases. If target is at local filesystem, then makes sure data gets synced (useful, if target is a USB volume representing MicroPython or CircuitPython filesystem)
Installation
pip install minipip
Requires Python 3.6+. The only required dependencies are pip and setuptools (most likely already present). rshell is an optional dependency.
Usage examples
minipip install --port /dev/ttyACM0 --target /lib micropython-logging
minipip install --target G:\lib adafruit-circuitpython-ssd1306
minipip -h
minipip [-h] [-r [REQUIREMENT_FILE [REQUIREMENT_FILE ...]]] [-p [PORT]] -t TARGET_DIR [-i INDEX_URL] [-v] [-q] [--version] {install} [package_spec [package_spec ...]]
Meant for installing both upip and pip compatible distribution packages from PyPI and micropython.org/pi to a local directory, USB volume or directly to MicroPython filesystem over
serial connection (requires rshell).
positional arguments:
{install} Currently the only supported command is 'install'
package_spec Package specification, eg. 'micropython-os' or 'micropython-os>=0.6'
optional arguments:
-h, --help show this help message and exit
-r [REQUIREMENT_FILE [REQUIREMENT_FILE ...]], --requirement [REQUIREMENT_FILE [REQUIREMENT_FILE ...]]
Install from the given requirements file.
-p [PORT], --port [PORT]
Serial port of the device (specify if you want minipip to upload the result to the device)
-t TARGET_DIR, --target TARGET_DIR
Target directory (on device, if port is given, otherwise local)
-i INDEX_URL, --index-url INDEX_URL
Custom index URL
-v, --verbose Show more details about the process
-q, --quiet Don't show non-error output
--version Show program version and exit
Metadata
Release files for minipip 0.1b5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| minipip-0.1b5.tar.gz | 8.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| minipip-0.1b5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.8 kB
Release files / minipip-0.1b5.tar.gz
| Download URL | minipip-0.1b5.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89e5c0c0dc55bc40b34f5741326351874ef7e9c353ee164326f91b2e315b0d69
|
|
BLAKE2b-256 checksum How to use checksums |
d0fd397ff3f3c634e27a3e13290784f67fcb8c8992b90d32c1e84d0667dcefa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
|
Release files / minipip-0.1b5-py3-none-any.whl
| Download URL | minipip-0.1b5-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92b66fb820e7928687b413742f743297707468fbdd175458a0fb419a69a6f4c1
|
|
BLAKE2b-256 checksum How to use checksums |
e3b181ac419831b86d4a0a6563234770b96b54603c3f82f84b8b4a813936da7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10
|
Security for minipip 0.1b5
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.