Skip to main content

Kill Team datacard extractor

License: GPLv3 Shop: Elecrow Donations: Coffee Version

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

GPLv3
This work is licensed under a GNU GPLv3 License.

Release files for kt3extract 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kt3extract 0.0.1
File Size Uploaded
kt3extract-0.0.1.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kt3extract 0.0.1
File Interpreter ABI Platform
kt3extract-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / kt3extract-0.0.1.tar.gz

Download URL kt3extract-0.0.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2ce29e48325754dfdc2649421453c3fbc1153d26fdde56a6fc0e6c1f8fbf1ad5
BLAKE2b-256 checksum
How to use checksums
0fe2a759e1f21f20ecb8d480faa4acc458c16e287855c347e052642b3b7341e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 9, 2025.

Transparency log

Release files / kt3extract-0.0.1-py3-none-any.whl

Download URL kt3extract-0.0.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b84846356a16c9e1feec7156bdfd2bfb8612774634bf18132b7cc990561b89a9
BLAKE2b-256 checksum
How to use checksums
3e1e4cd93f27dbf7d87af52355b55187da90df767ade956fce633099f348c34d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 9, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page