Metadata-Version: 2.2
Name: tinyprint
Version: 0.3.0
Summary: ui & cli to print zines with esc/pos printer
Author-email: Levin Eric Zimmermann <levin.eric.zimmermann@posteo.com>
License: GPL
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: python-escpos[serial,usb]>=3.1
Requires-Dist: dataclasses-json>=0.6.0
Requires-Dist: marko==2.1.2
Requires-Dist: pdf2image>=1.17.0
Requires-Dist: platformdirs>=4.5.0
Provides-Extra: dev
Requires-Dist: coverage; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: syrupy; extra == "dev"
Requires-Dist: mypy; extra == "dev"
Requires-Dist: types-six; extra == "dev"
Requires-Dist: types-pillow; extra == "dev"

# tinyprint

Software for printing tiny zines with ESC/POS printer.

![gui screenshot](screenshot.jpg)

## Installation

### MacOS

Open a console and type:

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)
brew install poppler
brew install python
brew install python-tk
brew install pipx
pipx install tinyprint
```

### Linux

Install python, and then just use pip:

```bash
pip3 install tinyprint
```

If you want to print PDFs, you also need to install `poppler` (specific name of the package depends on the distro, but usually it's called something like `poppler-utils`).

### Windows

I don't know, but if someone manages, please let us know.

---

## Running tests

```bash
python -m pytest
```

Recreate snapshot files:

```bash
python -m pytest --snapshot-update
```
