Skip to content

brother_ql v0.9.0

Compare
Choose a tag to compare
@pklaus pklaus released this 08 Aug 17:09
· 46 commits to master since this release

This release ships with a new unified CLI named brother_ql, just like the package itself is called.
It is based on click giving it a lot of features out of the box such as setting parameters via environment variables, very flexible command handling, tab completion in Bash and many more.

To implement the new CLI with as little overhead as possible, a lot of the code previously found in the source files of the old CLI tools was moved into generic modules. For example, the code to create a label is now found in the function convert() in brother_ql.conversion instead of its previous place in the function create_label() in brother_ql.brother_ql_create.

This will slowly deprecate the other CLIs such as

  • brother_ql_create
  • brother_ql_print
  • brother_ql_info
  • brother_ql_analyze
  • brother_ql_debug

In addition, a small error was fixed in the BrotherQLReader class resulting in a TypeError raised. It's output image file names are now configurable.

API changes: The dictionary data structure returned by list_available_devices() has now a renamed key: What was string_descr before is now called identifier.