Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hoa-inventory-list-parser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chrissi^
hoa-inventory-list-parser
Commits
fdc6de28
Commit
fdc6de28
authored
1 year ago
by
chrissi^
Browse files
Options
Downloads
Patches
Plain Diff
Add README
parent
833b9e21
No related branches found
No related tags found
No related merge requests found
Pipeline
#2660
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README
+48
-0
48 additions, 0 deletions
README
with
48 additions
and
0 deletions
README
0 → 100644
+
48
−
0
View file @
fdc6de28
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment