Commit graph

19 commits

Author SHA1 Message Date
LoopingLudwig
8bc64be93b
feat: add several options for customizing label placement
* --row-wise, for going left to right instead of top to bottom
* --num-labels, for specifying how many labels to print
* --pages, for specifying how many pages to print
* --start-position, for continuing on sheets where some labels were already used

Co-authored-by: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
2024-05-18 19:05:36 +02:00
Jan Christian Grünhage
a6e8fadf72
chore: reformat code 2024-05-18 19:00:07 +02:00
Alexander Sieg
13b80e0ada
chore: drop argparse from dependencies
argparse is part of the python standard library since python 3.2, this
project is targeting at least python 3.7.

https://pypi.org/project/argparse/
2024-05-18 18:38:07 +02:00
Marvin Gaube
4d7c9d57bf
feat: automatic build & publish, update authors 2024-04-29 18:36:29 +02:00
Florian Meinicke
c6a82af9d9
Add --digits option
to allow configuring the number of digits in the ASN string. This
argument is optional and defaults to 7 to keep backwards compatibility.
2024-04-29 18:27:56 +02:00
Florian Meinicke
278046ae90 Update README.md
Add documentation for the command line arguments and options
2024-04-17 21:18:11 +02:00
Florian Meinicke
279a3ee0ea Add shorthand flags for --format and --border 2024-04-17 21:18:11 +02:00
Florian Meinicke
267c5c7011 Add default value for the output_file argument 2024-04-17 21:18:11 +02:00
Florian Meinicke
14cd97e1e2 Add types and help strings for the positional arguments 2024-04-17 21:18:11 +02:00
gparent
d95dea4196 Correct gutter size and margin on avery5167 2024-04-17 21:17:07 +02:00
Marvin Gaube
e51d579a83 fix: cleanup linting errors 2023-12-09 12:01:56 +01:00
Marvin Gaube
d7d4500bf5 feat: add linting CI job 2023-12-09 12:01:52 +01:00
Jan Christian Grünhage
9d3aa8416b
chore: replace git.jcg.re links with equivalent github links 2023-11-25 17:38:07 +01:00
Marvin Gaube
1ee19e2e46 feat: enable debugging alignment with borders 2023-11-25 17:37:34 +01:00
Jan Christian Grünhage
d2cc755e44
chore: reformat using black 2023-11-25 16:40:09 +01:00
Jan Christian Grünhage
46f3a2fb6f
refactor: make labelinfo strongly typed 2023-11-25 16:38:49 +01:00
Marvin Gaube
a6b9eb5069 feat: add support for choosing a label format 2023-11-25 15:45:19 +01:00
Jan Christian Grünhage
e3da948064
fix: correctly generate A4 pdfs for 4731 labels 2023-11-25 15:00:21 +01:00
Jan Christian Grünhage
1c0711893e
initial commit 2023-11-18 17:59:00 +01:00