flinventory 0.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,95 @@
1
+ \documentclass{article}
2
+ \usepackage[margin=0.5cm]{geometry}
3
+ \usepackage{xcolor}
4
+ \usepackage[grid, gridunit=mm, gridcolor=blue!20, subgridcolor=blue!10, gridBG]{eso-pic}
5
+ \usepackage{graphicx}
6
+ \usepackage{adjustbox}
7
+ \usepackage{relsize}
8
+ \usepackage{setspace}
9
+ \linespread{0.6}
10
+ \setlength\parindent{0pt}
11
+ \begin{document}
12
+ \setlength{\fboxsep}{0pt}
13
+ % sort signs, first by height, then by width
14
+ % put several one a line until sum of widths is >= 80% of page width (21cm)
15
+ % then an empty line
16
+
17
+ % all need to be adjusted manually or text size can be guessed as a first suggestion
18
+ \fbox{%
19
+ % brauche Größen:
20
+ % Breite (0.24cm abziehen)
21
+ % Höhe
22
+ % Text deutsch
23
+ % Text englisch
24
+ % optional: Textgröße (default: \relscale{1} or something guessed based on existing algorithm)
25
+ % optional Bildhöhe (sonst halbe Gesamthöhe)
26
+ % optional Textvariante (mit -)
27
+ \begin{minipage}[t][5cm][t]{3.86cm}
28
+ \setlength{\parskip}{0pt}
29
+ \centering
30
+ \relscale{1.8}
31
+ Genial\-ko\-höllischer Wunschpunsch
32
+
33
+ {\smaller[2] Titel in Englisch}
34
+
35
+ \includegraphics[height=2.5cm,keepaspectratio,width=5cm]{/home/felix/Documents/Hobby/fahrrad/werkstatt-harzgerode/fahrradteile-harzgerode/images_landscape/flicken.jpeg}
36
+ \vspace*{-.8\baselineskip}
37
+ \flushright {\tiny G.F.M.9.12}
38
+ \end{minipage}
39
+ }
40
+ \fbox{%
41
+ \begin{minipage}[t][1.5cm][t]{5.9cm}
42
+ \centering
43
+ \relscale{1.2}
44
+ Titel in Deutsch und noch mehr Text und noch ganz viel mehr Text
45
+
46
+ {\smaller[2] Titel in Englisch}
47
+
48
+ \includegraphics[height=0cm,keepaspectratio,width=5cm]{/home/felix/Documents/Hobby/fahrrad/werkstatt-harzgerode/fahrradteile-harzgerode/images_landscape/flicken.jpeg}
49
+ \vspace*{-.8\baselineskip}
50
+ \flushright {\tiny G.F.M.9.12}
51
+ \end{minipage}
52
+ }
53
+
54
+ \fbox{%
55
+ \begin{minipage}[t][1.5cm][t]{5.9cm}
56
+ \centering
57
+ \relscale{1.2}
58
+ Titel in Deutsch und noch mehr Text und noch ganz viel mehr Text
59
+
60
+ {\smaller[2] Titel in Englisch}
61
+
62
+ \includegraphics[height=0cm,keepaspectratio,width=5cm]{/home/felix/Documents/Hobby/fahrrad/werkstatt-harzgerode/fahrradteile-harzgerode/images_landscape/flicken.jpeg}
63
+ \vspace*{-.8\baselineskip}
64
+ \flushright {\tiny G.F.M.9.12}
65
+ \end{minipage}
66
+ }
67
+
68
+ \fbox{%
69
+ \begin{minipage}[t][1.5cm][t]{5.9cm}
70
+ \centering
71
+ \relscale{1.2}
72
+ Titel in Deutsch und noch mehr Text und noch ganz viel mehr Text
73
+
74
+ {\smaller[2] Titel in Englisch}
75
+
76
+ \includegraphics[height=0cm,keepaspectratio,width=5cm]{/home/felix/Documents/Hobby/fahrrad/werkstatt-harzgerode/fahrradteile-harzgerode/images_landscape/flicken.jpeg}
77
+ \vspace*{-.8\baselineskip}
78
+ \flushright {\tiny G.F.M.9.12}
79
+ \end{minipage}
80
+ }
81
+ \fbox{%
82
+ \begin{minipage}[t][1.5cm][t]{5.9cm}
83
+ \centering
84
+ \relscale{1.2}
85
+ Titel in Deutsch und noch mehr Text und noch ganz viel mehr Text
86
+
87
+ {\smaller[2] Titel in Englisch}
88
+
89
+ \includegraphics[height=0cm,keepaspectratio,width=5cm]{/home/felix/Documents/Hobby/fahrrad/werkstatt-harzgerode/fahrradteile-harzgerode/images_landscape/flicken.jpeg}
90
+ \vspace*{-.8\baselineskip}
91
+ \flushright {\tiny G.F.M.9.12}
92
+ \end{minipage}
93
+ }
94
+
95
+ \end{document}
@@ -0,0 +1,63 @@
1
+ Metadata-Version: 2.1
2
+ Name: flinventory
3
+ Version: 0.3.0
4
+ Summary: An inventory system for self-help repair shops
5
+ Author-Email: flukx <flinventory-flukx@612211124.xyz>
6
+ License: GPL3
7
+ Classifier: Development Status :: 3 - Alpha
8
+ Classifier: Intended Audience :: Customer Service
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: Programming Language :: Python :: 3.12
11
+ Classifier: Topic :: Database :: Database Engines/Servers
12
+ Classifier: Typing :: Typed
13
+ Project-URL: Homepage, https://codeberg.org/flukx/flinventory
14
+ Project-URL: Issues, https://codeberg.org/flukx/flinventory/issues
15
+ Requires-Python: >=3.12
16
+ Requires-Dist: pypandoc>=1.13
17
+ Requires-Dist: python-slugify>=8.0.4
18
+ Requires-Dist: treelib>=1.7.0
19
+ Requires-Dist: pyyaml>=6.0.2
20
+ Requires-Dist: types-pyyaml>=6.0.12.20241230
21
+ Requires-Dist: pycountry>=24.6.1
22
+ Description-Content-Type: text/markdown
23
+
24
+ # Inventory
25
+
26
+ Python module and scripts for inventory software.
27
+
28
+ Also look at the data in the subdirectory `sample-data` or a real-life [data set](https://flugit.hilsky.de/flukx/things-data) (unfortunately private due to not owned images)
29
+ and the corresponding [GUI](https://flugit.hilsky.de/flukx/flinventory-gui).
30
+
31
+ ## Motivation
32
+
33
+ In a community-run workshop, e.g. a self-help bike repair workshop, there are a lot of different things stored, a lot more than a newcomer — or a long-time user as well — can memorize. That's why a good sorting system is very helpful.
34
+ There are limitations to a good physical sorting though:
35
+ 1. things can belong to different categories
36
+ 2. available space restrictions force us putting small things to each other, breaking association by topic
37
+ 3. if you look for the correct place for a thing, you might not know what it is called or what it is good for. Than categories and signs help less.
38
+ 4. Newcomers are not able to sort things and clean up the workshop. This tedious task is usually restricted to the people that have been involved for a long time while they are also a bottleneck for a lot of other activity.
39
+
40
+ There this inventory should help.
41
+ 1. Each thing is listed with many names and an "official" name. That way you have higher chances to find your thing and its place if the alternative name you would use intuitively is also listed. This should enable newcomers to independently clean up and learn about the existing things at the same time.
42
+ 2. Each label (that is big enough) contains a picture to identify things from outside (intransparent) boxes as well.
43
+ 3. Each thing can be found by one of its names alphabetically, by several categories, by English or German name, by looking at pictures in the storage. Not a single categorization to be limited to.
44
+
45
+ ## Data
46
+ For example data see the directory `sample-data` or [the data repository](https://flugit.hilsky.de/flukx/things-data). (Currently outdated.)
47
+ The data format is a specific directory structure with specific file names:
48
+ - `schema.yaml`: describes how locations in this workshop are defined. See `sample_data` for details.
49
+ - `preferences.yaml`: general options for this data. See `sample_data` for details.
50
+ - directory `things`: directory with the actual data. Includes one directory per thing.
51
+ - `things/someID/thing.yaml`: name, description, ... about one thing. This should be (largely) workshop-independent.
52
+ - `things/someID/location.yaml`: where this thing is stored in this workshop
53
+ - `things/someID/sign.yaml`: how the sign on the box for this thing looks in this workshop
54
+ - `things/someID/image.*`: an image for this thing. Usually workshop-independent.
55
+
56
+ No keys in `things/someID/*yaml` are mandatory. Therefore, code that uses the data has to handle missing data.
57
+
58
+ ## Functionalities
59
+ With this repository alone, entering data means writing the json files by hand. For a GUI method, see [flinventory-GUI](https://codeberg.org/flukx/flinventory-gui).
60
+
61
+ The scripts are
62
+ - `generate_labels.py` for creating signs that can be printed and glued to the boxes. The size and formatting of the signs happens in `things/*/sign.json`. Also it creates a list of all names of all things with a reference to their location. This list is in markdown and can be converted with pandoc to a printable (multiple page) list. For details see the help messages.
63
+ - `datacleanup.py` for various tasks for reformatting the yaml files. This is helpful to have a bit of standardisation to avoid big git diffs when the yaml files are read and written again. For details see the help messages.
@@ -0,0 +1,23 @@
1
+ flinventory-0.3.0.dist-info/METADATA,sha256=tiCptZreASgWU6jgMKWoK-iZbLjgBMg13xCNjoZi56k,4439
2
+ flinventory-0.3.0.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
+ flinventory-0.3.0.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
+ flinventory-0.3.0.dist-info/licenses/LICENSE,sha256=9c-AWlAEeFMmn1aODEfabsw2he-SpQeykurYw-KqSdw,34478
5
+ flinventory/__init__.py,sha256=0HTGxw9J-2KnbxQbzX6HH-Pztkp0BEjiHANhndfbtYM,270
6
+ flinventory/__main__.py,sha256=YI3dGiBr1i56JpGommQTWYjgfCmhr2JT1pQUdf0lf1w,1228
7
+ flinventory/box.py,sha256=rk7yrAjVdxcrpvmTMt3jkMVOAoQNJfqoSig9U2S3yJ0,10480
8
+ flinventory/constant.py,sha256=pPNCwScLon_MOKL9_jjD_sxqB7Q2WW6rZqtrBl7SyWk,10283
9
+ flinventory/datacleanup.py,sha256=_CImmWJhq5uKz21jJQUqKYoQfbHEYA0000RyPRt5BI0,11363
10
+ flinventory/defaulted_data.py,sha256=KAy6V2KLcifLg7zHBFnx_eFLp31sCWih1Btp6cE0bQc,21585
11
+ flinventory/generate_labels.py,sha256=wB9ibokHOcab599qZhi5uTzfy3DTo3wT4DJP9qLMzXs,6642
12
+ flinventory/inventory_io.py,sha256=VDNgbxdo8RzZO-9pQ1FAge28wTDIUNkh5WSft03XwZE,9832
13
+ flinventory/location.py,sha256=JhXgLfalGx1mIkzZBVoRXJQ4RHxU2OxmwkNBNcRc6ug,16537
14
+ flinventory/sign.py,sha256=FovC0OniBzpRncT1W4npfPV6fYO69xgMhPj2QHu93ik,5493
15
+ flinventory/signprinter_latex.py,sha256=Ytf1T_ADedj_Wkqe8bWyN23-TwFaKE7zFpeoYxn5NzM,19105
16
+ flinventory/thing.py,sha256=22syu7fvVu955HpcLWjz8S0JkBvYN_miJa26AmVjzSY,5008
17
+ flinventory/thingtemplate_latex/.gitignore,sha256=DTF250Ttj8O2lxrQBwMNrQ73rWPvdwCytipfZSLFtlU,51
18
+ flinventory/thingtemplate_latex/dummyImage.jpg,sha256=bIBH5Lrxlr5qJ42nP1cpJXPRNGLOwyEuzwXFSvNwTSk,147857
19
+ flinventory/thingtemplate_latex/sign.tex,sha256=cVlOjImuS97Gf19MGW27HiP6Uw8JNnobXym6NlY-qSI,787
20
+ flinventory/thingtemplate_latex/signlist-footer.tex,sha256=LcZw5__h8SqgMmYxs5oLbXLaFTQlx_X5rtYnpxwUh9Y,14
21
+ flinventory/thingtemplate_latex/signlist-header.tex,sha256=F1J4aSPq6QO_Ved4Zn7-rytP1vDkdWTqjjtGJpe_FDg,297
22
+ flinventory/thingtemplate_latex/signs-example.tex,sha256=J6eCcPhP0Xklgn8xnSenDOvjzmc_NGmakWU4RGbeUtM,3090
23
+ flinventory-0.3.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: pdm-backend (2.4.3)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+
3
+ [gui_scripts]
4
+