- Github repository: https://github.com/digital-botanical-gardens-initiative/label-creator/
Label Creator software permits to create all sorts of labels for the EMI project.
-
It requests the Directus database, generates labels asked by the user and reserves them. Then it formats them in a pdf file to fit avery L4731, L4732 and L4736 labels, ready to print.
-
It also generates labels from a CSV table, without adding them to Directus. This mode is made to easily print provisory labels or labels that don't fit EMI requirements.
-
Finally it also permits to add universities to the Directus database in order to track samples across different institutions.
-
Windows: Simply download the
.exe
binary from theReleases
tab and run it. -
Linux: Download the
linux
binary from theReleases
tab, then add execution rights:sudo chmod +x label_creator_vxx_linux
It will then be executable. If you want to run it from the command line, you can simply move it to a folder in the PATH (e.g.,
/usr/local/bin
). Then you just need to type:label_creator_vxx_linux
in bash.
-
MacOS: Download the
MacOS
binary from theReleases
tab, then add execution rights:sudo chmod +x label_creator_vxx_macos
It will then be executable. If you want to run it from the command line, you can simply move it to a folder in the PATH. Then you just need to type:
label_creator_vxx_macos
in the terminal.
-
General method: Clone the project, then set up an environment with
poetry
:poetry install
Then activate the environment:
poetry shell
and run the
label_creator.py
script:python label_creator.py
If you do not have poetry, you can install it with the command:
pipx install poetry