Discotool

Latest version: v0.5.3

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.5.3

This fixes potential crashes caused by bad returns in the windows USB list submodule.

0.5.2

Options to circup commands are passed as is without error.
Until now you had to escape those with `--`.
Note that there is no auto-complete or help for the circup options in discotool.

Before:

$ discotool install -- --auto

Now:

$ discotool install --auto

0.5.1

Linux: list more boards in bootloader mode that don't have a serial connection, but have a known VID. (fix)

0.5.0

usb_location` is a new entry in the device information dictionary. Platform dependent, it represents the USB path of the device, and should be consistent across resets and modes, like bootloader and Circuitpython, allowing to identify a board that has been rebooted into a new mode without changing the port it's plugged into.

Windows: list boards in bootloader mode that don't have a serial connection, but have a known VID. (fix)

0.4.0

Add function to return a list of boards filtered by VID and PID. VID is required.
py
def devices_by_vidpid(vid: int, pid: Optional[int] = None) -> [DeviceInfoDict]


Fix: Avoid a crash if a volume is "ejected" on windows.

0.3.3

Find the default serial tool to use from a list.
- On windows: `Tera Term Pro` first, `PuTTY` second.
- On linux/mac: `tio` first, `screen` second.

This will change the default tool used by people who have not set their own and have the tools prioritized already installed (like if you have tio but are used to screen), but it's worth having more options.

Increase the chances of finding a serial port on macOS, and identify the RP2040 `RPI-RP2` as devices on all platforms using the VID/PID.

Adding an example script to open terminal tabs for each device on mac. Thanks to anecdata

More informative printouts when devices are not found or not valid for a command.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.