qutie-printer
Python library and demo CLI for communicating with HPRT Qutie BLE label printers.
Features
- Discover nearby BLE printers and filter Qutie devices.
- Query printer info and status.
- Configure concentration, alignment, paper type, and calibration.
- Print prepared raster data.
- Convert normal images to 1bpp raster (with Floyd-Steinberg dithering).
- Demo CLI for testing and reverse engineering workflows.
Installation
Install from source:
pip install .
For development:
pip install -e .
Quick Start (Library)
import asyncio
from qutie_printer import Alignment, Concentration, QutiePrinter
async def main() -> None:
address = "AA:BB:CC:DD:EE:FF"
printer = QutiePrinter(address, verbose=True)
await printer.connect()
try:
info = await printer.get_info()
status = await printer.get_status()
print(info)
print(status)
await printer.set_concentration(Concentration.MEDIUM_HIGH)
await printer.set_alignment(Alignment.CENTER)
await printer.print_image("label.png")
finally:
await printer.disconnect()
asyncio.run(main())
Demo CLI
The package installs a qutie-demo command:
qutie-demo scan
qutie-demo info -a AA:BB:CC:DD:EE:FF
qutie-demo status -a AA:BB:CC:DD:EE:FF
qutie-demo print image.png -a AA:BB:CC:DD:EE:FF
qutie-demo interactive -a AA:BB:CC:DD:EE:FF
Packaging Notes
- Uses a modern
pyproject.tomlbuild configuration. - Uses
src/layout to avoid import-shadow issues. - Exposes a clean public API through
qutie_printer.__init__.
Release Checklist
- Update version in
pyproject.tomlandsrc/qutie_printer/__about__.py. - Build artifacts:
python -m build. - Verify metadata:
python -m twine check dist/*. - Publish:
python -m twine upload dist/*.
License
MIT. See LICENSE.
Metadata
Release files for qutie-printer 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qutie_printer-0.1.0.tar.gz | 11.6 kB | Without provenance | Details for qutie_printer-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qutie_printer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for qutie_printer-0.1.0-py3-none-any.whl |
Total release size: 25.9 kB
Release files / qutie_printer-0.1.0.tar.gz
| Download URL | qutie_printer-0.1.0.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f92a0ef80c4c25ae5a64f9d7e8cd5fc990dc481ad2cfcd4805444c6317cd764
|
|
BLAKE2b-256 checksum How to use checksums |
7d40e13c5f96054895a4089bb571d6be6a61bc6cfba59c3827ede2e370a3cb85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / qutie_printer-0.1.0-py3-none-any.whl
| Download URL | qutie_printer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
584b260df02298a387458d57db0a4beee16b465610a86a3f4fb45d6f1535b943
|
|
BLAKE2b-256 checksum How to use checksums |
21651b95249cf336e61c51dc8d919eed09fb1a8021a8f369fe5d787a928db023
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for qutie-printer 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.