Crystalfontz

Latest version: v4.0.0

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

Scan your dependencies

4.0.0

- Fedora package on COPR: <https://copr.fedorainfracloud.org/coprs/jfhbrook/joshiverse/package/python-crystalfontz/>
- Client API Changes:
- Rename `client.load_device` to `client.detect_device`
- `client.dow_transaction`'s `data_to_write` argument defaults to empty bytes
- New `client.test_connection` method
- New `client.detect_baud_rate` method
- CLI Improvements and Features:
- `crystalfontz ping` may receive encoded bytes
- Support for `crystalfontz flash write`
- Support for `crystalfontz dow transaction`
- Support for `crystalfontz gpio write`
- Support for `crystalfontz gpio read`
- Support for `crystalfontz baud`
- Support for `--output text` and `--output json`
- New `crystalfontz config` command group
- Global config loaded by default when command called with sudo
- Configuration Improvements and Features:
- Export `Config` class used by CLI
- Add `get`, `set` and `unset` methods to `Config` class

3.0.1

- Remove development dependencies from extras

3.0.0

- API changes:
- Renamed `client` contextmanager to `connection`
- Renamed `TemperatureReport`'s `idx` attribute to `index`
- Moved `reset_invert` and `power_invert` from `ATXPowerSwitchFunction` to flags on `ATXPowerSwitchFunctionalitySettings`
- Exposed `ClientProtocol` for developers of custom effects
- Retry and timeout related functionality:
- Add response `timeout` option with 250ms default and per-method overrides
- Add response `retry_times` option with 0 default and per-method overrides
- Command line changes and improvements:
- Default port is now `/dev/ttyUSB0`
- Renamed `crystalfontz atx` arg `--power-pulse-length-seconds` to `--power-pulse-length`
- Add `--for SECONDS` option to `crystalfontz listen` and `crystalfontz effects` that closes the commands after a certain amount of time
- Improved help text
- Docstrings, plus documentation hosted at <https://crystalfontz.readthedocs.io/>

2.0.0

- API changes:
- Expose `pause` argument for marquee effect in client and CLI
- Rename `client.poke` and `Poked` to `client.read_lcd_memory` and `LcdMemory` respectively
- Improved control flow and error handling:
- Add `client.closed` future
- Add `client` async contextmanager that awaits `client.closed`
- Handle errors by surfacing them either in the command calls or through `client.closed`
- Refactor CLI command names
- `read-lcd-memory` -> `lcd poke`
- `send-command-to-lcd-controller` -> `lcd send`
- `user-flash-area` -> `flash`
- `store-boot-state` -> `store`
- `clear-screen` -> `clear`
- `set-line-1` -> `line 1`
- `set-line-2` -> `line 2`
- `special-character` -> `character`
- `cursor set-position` -> `cursor position`
- `cursor set-style` -> `cursor style`
- `set-contrast` -> `constrast`
- `set-backlight` -> `backlight`
- `dow read-device-information` -> `dow info`
- `temperature setup-reporting` -> `temperature reporting`
- `temperature setup-live-display` -> `temperature display`
- `keypad configure-reporting` -> `keypad reporting`
- `set-atx-power-switch-functionality` -> `atx`
- `configure-watchdog` -> `watchdog`
- `read-status` -> `status`
- `set-baud-rate` -> `baud`
- CLI improvements:
- Byte CLI arguments are validated as being in range
- Watchdog CLI argument allows "disable" and "disabled" values
- Configure device model, hardware revision and firmware revison in CLI
- Do not show stack trace on connection errors in CLI
- Support arbitrary multi-byte encodings in character ROM
- Build, package and CI housekeeping
- Compile `requirements.txt` and `requirements_dev.txt`
- Add CI pipeline
- Support Python 3.11
- Add PyPI classifiers
- Updated documentation in README.md

1.0.0

- First version of `crystalfontz`

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.