Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
HOA Inventory Label Generator
=============================
This tooling generates labels from Information defined in https://pad.stratum0.org/p/inventar_eventfoo
Define boxes in this way:
> Box: Geschirrhandtücher
> * 60x40
> * FIXME kg
> * Geschirrhandtücher
Set-Up
------
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r REQUIREMENTS.txt
Re-Use existing venv
--------------------
$ source venv/bin/activate
List all defined boxes
----------------------
$ ./main.py list
geschirrhandtucher Geschirrhandtücher (60x40 | FIXME kg)
einwegstuff Einwegstuff ( | FIXME kg)
desi-spender Desi-Spender (60x40 | FIXME kg)
(...)
Generate Labels
---------------
A PDF with all boxes:
$ ./main.py print all
inventory-label-gen/tmp/2023-05-07-19-14_all.pdf # will print the complete path to the file
A PDF with specific boxes:
* You can list as many boxes as you want.
* You can either use the slug or the complete title.
When using the title: Make sure to quote as needed.
$ ./main.py print tassen-6 "HT-Verbinder & Siphons"
inventory-label-gen/tmp/2023-05-07-19-15_tassen-6_ht-verbinde....pdf