Kill Team 3rd edition datacard extractor
Project description
Kill Team datacard extractor
This is a script to extract Kill Team 3rd Edition datacards from the free rules PDFs published by Games Workshop.
The free PDFs always start with a few pages of unit rule datacards, followed by faction rule datacards. These are intended to be printed at home and cut out manually. This script automates the cutting part and outputs one image per card, or a stacked PDF with one page per card rotated to be oriented the same way.
If you like my work please consider supporting me!
Table of contents
Usage
- Go to Warhammer-Community Kill Team downloads
- Download the PDF for the Kill Team you want to play
- Take note of which pages have horizontally drawn datacards, and which pages have vertically drawn datacards.
- (Unit cards are pasted as ~4 horizontal pages, while rule cards are pasted as ~6 vertical pages)
- Execute the script, making sure to set all required arguments
kt3extract -h "1-3" -v "4-5" -o png -i /path/to/killteam.pdf
Arguments
All arguments are required.
-h/--horizontal: Range of pages where horizontal datacards are situated.-h "1-3"-v/--vertical: Range of pages where vertical datacards are situated.-h "4-5"-o/--output: Format of output files. Allowed formats:pdf,png-i/--input: Path to your team's PDF file./path/to/killteam.pdf
Todo
- Plausibility check input parameters, testing for range format
- Plausibility check input path leads to a PDF
- Read in PDF, splitting into two page stacks for horizontal and vertical pages
- Cut and export each page stack
- Export as stacked PDF
- Add optional padding parameter
- Scale pages to be exactly 70mm x 120mm before padding
- Export as PNG
Donations
If you like my work please consider supporting me!
License
This work is licensed under a GNU GPLv3 License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kt3extract-0.0.1.tar.gz.
File metadata
- Download URL: kt3extract-0.0.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ce29e48325754dfdc2649421453c3fbc1153d26fdde56a6fc0e6c1f8fbf1ad5
|
|
| MD5 |
dbfbe19e7957282839fbee37085be044
|
|
| BLAKE2b-256 |
0fe2a759e1f21f20ecb8d480faa4acc458c16e287855c347e052642b3b7341e7
|
Provenance
The following attestation bundles were made for kt3extract-0.0.1.tar.gz:
Publisher:
python-publish.yml on Chrismettal/Kill-Team-datacard-extractor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kt3extract-0.0.1.tar.gz -
Subject digest:
2ce29e48325754dfdc2649421453c3fbc1153d26fdde56a6fc0e6c1f8fbf1ad5 - Sigstore transparency entry: 371376746
- Sigstore integration time:
-
Permalink:
Chrismettal/Kill-Team-datacard-extractor@102009b25df6a6bb5d474bdfb4bc42fa1914d48d -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/Chrismettal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@102009b25df6a6bb5d474bdfb4bc42fa1914d48d -
Trigger Event:
release
-
Statement type:
File details
Details for the file kt3extract-0.0.1-py3-none-any.whl.
File metadata
- Download URL: kt3extract-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b84846356a16c9e1feec7156bdfd2bfb8612774634bf18132b7cc990561b89a9
|
|
| MD5 |
b7259d9f94b3cfd887bc18b7acbc32cd
|
|
| BLAKE2b-256 |
3e1e4cd93f27dbf7d87af52355b55187da90df767ade956fce633099f348c34d
|
Provenance
The following attestation bundles were made for kt3extract-0.0.1-py3-none-any.whl:
Publisher:
python-publish.yml on Chrismettal/Kill-Team-datacard-extractor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kt3extract-0.0.1-py3-none-any.whl -
Subject digest:
b84846356a16c9e1feec7156bdfd2bfb8612774634bf18132b7cc990561b89a9 - Sigstore transparency entry: 371376753
- Sigstore integration time:
-
Permalink:
Chrismettal/Kill-Team-datacard-extractor@102009b25df6a6bb5d474bdfb4bc42fa1914d48d -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/Chrismettal
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@102009b25df6a6bb5d474bdfb4bc42fa1914d48d -
Trigger Event:
release
-
Statement type: