This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Note

afthermal is currently in alpha status. This is a snapshot release of the development branch. While it is used productively, some features may be unfinished or undocumented.

afthermal is a driver/library for the popular Adafruit (originally Cashino A2) thermal printer [1].

Partially, it is inspired by previous efforts:

afthermal try to be more pythonic and efficient than previous efforts, which have mostly been 1:1 ports from other languages. Additionally it is not focused on education but rather on being a reliable library for handling this kind of hardware.

Features include:

  • Comfortable handling of text formatting
  • Adapters to print images from PIL / Pillow as well as OpenCV
  • A fast Floyd-Steinberg implementation to dither OpenCV images.
  • Command-line utilities for calibrating the printer for optimum speed and quality, as well as other capabilities
  • Support for printing QR codes via PyQRCode without having to render them into images first
[1]Specification is available at http://www.adafruit.com/datasheets/CSN-A2%20User%20Manual.pdf

Installation

afthermal is installable from pip. It supports an extra feature named tools, installing it will include cli tools for calibrating the printer, printing test images or other tasks:

$ pip install 'afthermal[tools]'

It includes a C extension for Floyd-Steinberg dithering, since OpenCV does not ship with a dithering function. For this reason C-modules must be compileable when installing afthermal.

Full docs

The complete documentation is housed at http://pythonhosted.org/afthermal.

Release History

Release History

0.3.2.dev1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
afthermal-0.3.1.tar.gz (44.2 kB) Copy SHA256 Checksum SHA256 Source Sep 14, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting