·
12 commits
to main
since this release
- NEW:
Receiverclass- A subclass of
asyncio.Queue Client:- BREAKING:
subscribeandunsubscribemethods use newReceiverclass - Emit unmatched exceptions on expecting receivers instead of resolving
client.closed detect_baud_rateexposestimeoutandretry_timesarguments- Document
detect_baud_rate
- BREAKING:
- BREAKING:
ClientProtocol/EffectClientcrystalfontz.protocol.ClientProtocoltype has been replaced bycrystalfontz.effects.EffectClientEffectClientenforces a smaller API thanClientProtocoldid previously
- BREAKING:
Response:Response.from_bytesaccepts bytes as from packets, rather than__init__Response.__init__accepts properties as arguments
- BREAKING:
SpecialCharacterAPI:- Rename
as_bytesmethod toto_bytes - Store pixels as
List[List[bool]]instead ofList[List[int]]
- Rename
KeyStateincludeskeypress: KeyPressattribute
- A subclass of
- CLI changes:
- BREAKING: CLI now invoked through
python3 -m crystalfontz- Optional unpackaged
crystalfontzentry point at./bin/crystalfontz
- Optional unpackaged
- Use
configurencelibrary - Respect
CRYSTALFONTZ_CONFIG_FILEenvironment variable - Improve error reporting for timeouts
- Client now respects CLI settings
- Cause was the
Clientconstructor being called twice
- Cause was the
- Additional commands accept bytes as arguments
python3 -m crystalfontz line 1python3 -m crystalfontz line 2python3 -m crystalfontz send
- Help for
python3 -m crystalfontz listen--foroption
- BREAKING: CLI now invoked through
- NEW: Dbus support:
crystalfontz.dbus.DbusInterfacedbus Interface class, implementing most commandscrystalfontz.dbus.DbusClientdbus client classcrystalfontz.dbus.domainAPI for mapping domain objects to dbus typespython3 -m crystalfontz.dbus.servicedbus service CLI- Optional unpackaged
crystalfontz.dbus.serviceentry point at./bin/crystalfontz-service
- Optional unpackaged
python3 -m crystalfontz.dbus.clientdbus client CLI- Optional unpackaged
crystalfontz.dbus.cliententry point at./bin/crystalfontz-dbus
- Optional unpackaged
- Packaging and Releases:
python-crystalfontzCOPR package spec- This has been moved from https://github.com/jfhbrook/public
- NEW:
crystalfontzCOPR package- Depends on
python-crystalfontzCOPR package - Includes systemd unit for
python3 -m crystalfontz.dbus.service - BREAKING: Includes shim bin
crystalfontz->python3 -m crystalfontz.dbus.client
- Depends on
- Tito based release tagging
- GitHub release
- Improved PyPI classifiers
- BREAKING: Release under MPL-2.0 license
- Integration tests:
- Use
python-gakplugin - Use snapshots
- Leverage a config file at
./tests/fixtures/crystalfontz.yaml- Can be overridden with
CRYSTALFONTZ_CONFIG_FILEenvironment variable
- Can be overridden with
- Use