Skip to main content

obniz_cli

obniz_cli is cli tool for obnizOS(for ESP32) install.

Installation

Using pip,

pip install obniz_cli

Preparation

Connect the ESP32 device from the serial port to your PC and check if the PC recognizes the device. The following command shows the list of devices.

python -m serial.tools.list_ports

(You can execute this command after pip install obniz_cli.)
In most cases, port name is dev/cu.SLAB_USBtoUART or like COM3. If you can't find these port or can find but fail to install, you may need USB-driver for devices from here.

Usage

flashos

obniz_cli flashos [-b] [-p]

You can install obnizOS to your ESP32 device. If you execute without -p option, it is displayed as follows:

0: /dev/cu.Bluetooth-Incoming-Port
1: /dev/cu.SLAB_USBtoUART

Select NUMBER from above list(or if you want to cancel, input N key):

Select the device you want to install. (A device port can be passed to command with -p option like obniz_cli flashos -p /dev/cu.SLAB_USBtoUART).

Then, latest obnizOS is downloaded and installed to device. By default, installation is performed at 115200bps but if installation failed, try to decrease it by obniz_cli flashos -b 115200.

After install, cli automatically change serial mode to set obnizOS configuration

eraseos

obniz_cli eraseos [-p]

You can reset your device by this command.

Metadata

Release files for obniz-cli 0.0.6

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

Source distribution (sdist)

Source distribution for obniz-cli 0.0.6
File Size Uploaded Provenance Actions
obniz_cli-0.0.6.tar.gz 3.7 kB Without provenance Details for obniz_cli-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for obniz-cli 0.0.6
File Interpreter ABI Platform Actions
obniz_cli-0.0.6-py3-none-any.whl Python 3 none any Details for obniz_cli-0.0.6-py3-none-any.whl

Total release size: 8.9 kB

Release files / obniz_cli-0.0.6.tar.gz

Download URL obniz_cli-0.0.6.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
90c8f86af115953757c2f1edaf75ea26146e2bcd56b6bb2cbd1aa10b589a5ad8
BLAKE2b-256 checksum
How to use checksums
02335510a645e9700c5d0b4547637fbdee5899874db060515eb5668f9e97a5b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / obniz_cli-0.0.6-py3-none-any.whl

Download URL obniz_cli-0.0.6-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce092545a1191bbdb6b6336c26f7c8bbd11593963050ab9fe0c881eaf5f210f7
BLAKE2b-256 checksum
How to use checksums
0a4eacbc1a660e56d93662959af24f94d9df02634e9ed4ea35736b5a179d6df2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Security for obniz-cli 0.0.6

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