Script for generating Hearthstone card spoilers & checklists

Overview

This is a script for generating text spoilers and set checklists for Hearthstone.

Installation & Running

Python 3.6 or higher is required.

  1. Copy/clone the code to your computer

  2. In this directory, run python3 -m pip install --user -r requirements.txt (Requires pip)

  3. Run the code by running python3 -m hscards ... in this directory. (There are other possible ways to run the code, but let's just stick to one simple method here.)

Usage

By default, all commands fetch card data from https://hearthstonejson.com — specifically, https://api.hearthstonejson.com/v1/latest/enUS/cards.collectible.json. The c/--cards-file option can be used to specify a different file or URL in the same format to use instead.

spoiler command

python3 -m hscards [-c 
   
    ] spoiler [-I] [-o 
    
     ]

    
   

Generate a file of text spoilers for all collectible Hearthstone cards. The spoilers look like this:

Name:   Explosive Trap
Type:   Spell — Secret
Cost:   2
Class:  Hunter
Text:   Secret: When your hero is attacked, deal 2 damage to all
          enemies.
Set:    Classic (Common)
Flavor: It traps your food AND cooks it for you!
Artist: Brandon Kitkouski

If the -I/--show-ids option is specified, the spoilers will also include each card's ID.

By default, the spoilers are written to cards.txt; the -o/--outfile option can be used to specify a different file.

checklists command

python3 -m hscards [-c 
   
    ] checklists [-d 
    
     ] [-f 
     
      ] [--full-names] [
      
        ...]

      
     
    
   

Generate checklists for each collectible Hearthstone card set (either all sets or just those listed on the command line), one file per set. Files are created in the directory specified with the -d/--output-dir option (default: checklists) and are named either with each set's internal codename (e.g., the Basic set is CORE.txt and the Classic set is EXPERT1.txt) or, if the --full-names option is given, with each set's full display name (e.g., Basic.txt and Classic.txt). The checklist file format can be set with the -f/--format option: either txt (the default) or pdf.

Owner
John T. Wodder II
John T. Wodder II
Software to help automate collecting crowdsourced annotations using Mechanical Turk.

Video Crowdsourcing Software to help automate collecting crowdsourced annotations using Mechanical Turk. The goal of this project is to enable crowdso

Mike Peven 1 Oct 25, 2021
A tool to create the basics of a project

Project-Scheduler Instalação Para instalar o Project Maker, você necessita está em um ambiente de desenvolvimento Linux ou wsl com alguma distro debia

2 Dec 17, 2021
Macro recording and metaprogramming in Python

macro-kit is a package for efficient macro recording and metaprogramming in Python using abstract syntax tree (AST).

8 Aug 31, 2022
Color box that provides various colors‘ rgb decimal code.

colorbox Color box that provides various colors‘ rgb decimal code

1 Dec 07, 2021
Handy Tool to check the availability of onion site and to extract the title of submitted onion links.

This tool helps is to quickly investigate a huge set of onion sites based by checking its availability which helps to filter out the inactive sites and collect the site title that might helps us to c

Balaji 13 Nov 25, 2022
Regression Metrics Calculation Made easy

Regression Metrics Mean Absolute Error Mean Square Error Root Mean Square Error Root Mean Square Logarithmic Error Root Mean Square Logarithmic Error

Ashish Patel 12 Jan 02, 2023
Python based tool to extract forensic info from EventTranscript.db (Windows Diagnostic Data)

EventTranscriptParser EventTranscriptParser is python based tool to extract forensically useful details from EventTranscript.db (Windows Diagnostic Da

P. Abhiram Kumar 24 Nov 18, 2022
Backup a folder to an another folder by using mirror update method.

Mirror Update Backup Backup a folder to an another folder by using mirror update method. How to use Install requirement pip install -r requirements.tx

1 Nov 21, 2022
Random Number Generator

Application for generating a random number.

Michael J Bailey 1 Oct 12, 2021
Python USD rate in RUB parser

Python EUR and USD rate parser. Python USD and EUR rate in RUB parser. Parsing i

Andrew 2 Feb 17, 2022
NetConfParser is a tool that helps you analyze the rpcs coming and going from a netconf client to a server

NetConfParser is a tool that helps you analyze the rpcs coming and going from a netconf client to a server

Aero 1 Mar 31, 2022
Utility to add/remove licenses to/from source files

Utility to add/remove licenses to/from source files. Supports processing any combination of globs, files, and directories (recurse). Pruning options allow skipping non-licensing files.

Eduardo Ponce Mojica 2 Jan 29, 2022
A color library based on pokemons colors!

pokepalette A simple pokemon color chooser " This repo is based on CDWimmer/PokePalette and was originated from this tweet. If you don't remember your

Thomas Capelle 5 Aug 30, 2021
Collection of code auto-generation utility scripts for the Horizon `Boot` system module

boot-scripts This is a collection of code auto-generation utility scripts for the Horizon Boot system module, intended for use in Atmosphère. Usage Us

4 Oct 11, 2022
SysInfo is an app developed in python which gives Basic System Info , and some detailed graphs of system performance .

SysInfo SysInfo is an app developed in python which gives Basic System Info , and some detailed graphs of system performance . Installation Download t

5 Nov 08, 2021
Obsidian tools - a Python package for analysing an Obsidian.md vault

obsidiantools is a Python package for getting structured metadata about your Obsidian.md notes and analysing your vault.

Mark Farragher 153 Jan 04, 2023
A simple python script to generate an iCalendar file for the university classes.

iCal Generator This is a simple python script to generate an iCalendar file for the university classes. Installation Clone the repository git clone ht

Foad Rashidi 2 Sep 01, 2022
Plone Interface contracts, plus basic features and utilities

plone.base This package is the base package of the CMS Plone https://plone.org. It contains only interface contracts and basic features and utilitie

Plone Foundation 1 Oct 03, 2022
Python Libraries with functions and constants related to electrical engineering.

ElectricPy Electrical-Engineering-for-Python Python Libraries with functions and constants related to electrical engineering. The functions and consta

Joe Stanley 39 Dec 23, 2022
EVE-NG tools, A Utility to make operations with EVE-NG more friendly.

EVE-NG tools, A Utility to make operations with EVE-NG more friendly. Also it support different snapshot operations with same style as Libvirt/KVM

Bassem Aly 8 Jan 05, 2023