Skip to content
Snippets Groups Projects
Commit fdc6de28 authored by chrissi^'s avatar chrissi^
Browse files

Add README

parent 833b9e21
No related branches found
No related tags found
No related merge requests found
Pipeline #2660 passed
README 0 → 100644
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment