Brother-ql

Latest version: v0.9.4

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

Scan your dependencies

Page 1 of 3

0.9.3

**New Functionality:**

* `brother_ql.backends.helpers.send()` now returns a dictionary containing a lot of information about the success of sending the instruction file and thus printing a label in the usual case (801b36b).
* CLI command `brother_ql print` does now accept image input from stdin when the placeholder filename `-` is provided (0c59fa9).

**Improved Documentation:**
* New section *Backends* to be found in the README / package description including a table about OS support (38, 660c7bb, 4820b67, 5bc0f94, 1aa793b).
* Printer model QL-810W confirmed to be working with the brother_ql package (d589f4e).

**Bug Fixes:**
* Fixed: CLI flag `--no-cut` of the `brother_ql` CLI tool was functionless (abd9ebe).

**Changed Behaviour:**

* `brother_ql` CLI: Removed the `--cut` option. As cutting is the default, only the inverted flag `--no-cut` is left (abd9ebe).
* Failure interpreting a printer state response now raises NameError instead of failing an `assert` check (ec4b7a9).
* The optional dependency `pyusb` is now a full dependency of the package as its package size is quite small anyhow (38, 6b39795).

**Miscellaneous:**

* New module `brother_ql.exceptions` now containing the custom exceptions used within this software. They were defined at the package level (brother_ql.__init__) previously (35a53b9, f7e34a3).
* A message logged within the class *BrotherQLRaster* (raster_image_size) is now silenced to debug level (f183afb).

0.9.2

**New Functionality:**

* New CLI command `brother_ql info env` 78b5667
* new CLI option `brother_ql --version` (34) 1fb11eb

**Miscellaneous:**

* Updated README: Installation, Deprecated CLI Tools, Author, Contributing 90076be,
0f03cfe

**Bug Fixes:**

* fixed: running `brother_ql` on Python 2 was raising *NotImplementedError* (40) 7ab1e67
* fixed: convert() failed when supplied with PIL.Image instance instead of image filename (39) 4ac1c76
* fixed pyusb backend: make the right iface is being selected d209040, fe55344

0.9.1

improvements:

* The README now contains the table of labels and ideal pixel sizes for input images again, based on the new CLI tool `brother_ql info`.

fixes:

* The module `brother_ql.reader` used by the CLI tool `brother_ql analyze` (and the old one `brother_ql_analyze`) is now working on Python2 as well. Thanks spidfire for reporting a possible fix.
* A small error in the help of the `brother_ql` CLI was fixed.

0.9.0

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`.

[click]: http://click.pocoo.org/

0.8.6

Bug Fixes:

* Printing greyscale images to black&red tape should work now without causing a 'ValueError: conversion from L to HSV not supported' exception

0.8.5

Version 0.8.5 is now available. It has the exact same features as v0.8.4 as it's based on the exact same source code. However the distribution is now available in source and binary distribution format.

Miscellaneous:

* The package is now built as a universal binary wheel distribution using `python setup.py bdist_wheel --universal`.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.