Package: py40kie
DescriptionCommand line Python program to extract army rules and unit cards from 10th edition Warhammer 40k indexes to create army list specific pdfs with reduced file size. Requires Python.InstructionsDownload an army indexhttps://www.warhammer-community.com/warhammer-40000-downloads/#indexes-faqs-and-errataInstallPythonInstall py40kie using pip:pip install -U py40kieRun py40kie using command line:py40kie [-h] [-i EXTRA_INDEXES [EXTRA_INDEXES ...]] [-o OUTPUT_PDF] [-b] [-a] [-d] [-s] [-e] [-w] [-na] [-nd]
             [-ns] [-ne] [-nw] [-r RULE_PAGES [RULE_PAGES ...]] [-v]
             index_pdf pages [pages ...]Army List builder instructionsCreate army list withGoogle Sheet army list builderRun the generated py40kie commandExamplespy40kie "Tyranids Index.pdf" 9 21 25 27 -o "my army list"py40kie "Tyranids Index.pdf" "hive tyrant" "tyranid warriors with ranged bio-weapons" 25 "hOrMaGaUnTs" -o "./my lists/my army list"py40kie "Space Wolves Index.pdf" 7 1-23 "Blood Claws" 1-53 "terminator squad" "2-culexus assassin" 2-7 3-1 -o "Best Army List Ever.pdf" -i "Space Marines Index.pdf" "Agents of Imperium Index.pdf" "Imperial Armour Astartes.pdf"py40kie "Blood Angels Index.pdf" "Commander Dante" "Sanguinary Guard" "Lieutenant in Phobos Armour" "Death Company Marines" "Astraeus" "Culexus Assassin" "Knight Gallant" -o "super competitive list.pdf"  -i "Astartes Index.pdf" "Imperial Armour Astartes.pdf" "Agents of the Imperium Index.pdf" "Imperial Knights Index.pdf"ArgumentsPostional arguments- The "index.pdf" file to extract cards from  
- Space separated list of cards to extract. Can be page numbers or **exact** unit titles. Army rules, detachment rules, stratagems, enhancements and unit wargear are included automaticallyOptional arguments:- -o: The file to save the extracted pdf to. Folder path can be included
- -i: Optional space separated list of additional pdfs to extract allied units from other Indexes/Imperial Armour/Legends ("1-10" to extract the card on page 10 from the first additional pdf). Also use this to extract the Adeptus Astartes army rule when using Space Marines
- -b: Optional flag for boarding actions (extracts the army rules page but not the detachment or stratagem pages)  
- -na: Optional flag to disable extracting the army rules page  
- -nd: Optional flag to disable extracting the detachment rules page  
- -ns: Optional flag to disable extracting the stratagem pages  
- -ne: Optional flag to disable extracting the enhancements page  
- -nw: Optional flag to disable extracting wargear pages  
- -r: Optional argument to specify army rules and stratagem pages (space separated numbers). Use this if the army rules and stratagems are not successfully extracted from the index  
- -v: Optional flag to override page extraction. Will extract only the page numbers specified from the main indexContributionsFuture featuresAny suggested features would be appreciatedAllied units from other Indexes/Imperial Armour/LegendsExtract Adeptus Astartes army rule page for Space Marine listsCreate runnable command fromGoogle Sheet army builder listsExample SheetOriginal creatoru/SweltExtract extra rule pages. e.g. Deathwatch ArmouryHandle exceptions gracefullyWebapp version?...Issuespy40kie was not tested on all indexes. If there is any problem extracting cards please submit an issuehttps://github.com/Dragons-Ire/40k-index-pdf-extractor/issues/new