A Hearthstone Python library containing:
- A CardDefs.xml parser (
hearthstone.cardxml
) - A DbfXml parser (
hearthstone.dbf
) - A deck code encoder and decoder (
hearthstone.deckstrings
) - Hearthstone enums as IntEnum (
hearthstone.enums
)
The CardDefs.xml data for the latest build can optionally be installed from the
python-hearthstone-data repository
or on PyPI with pip install hearthstone_data
. Otherwise, they will be download at runtime.
- Python 3.6+
- lxml
- To install from PyPI:
pip install hearthstone
This project is licensed under the MIT license. The full license text is available in the LICENSE file.
This is a HearthSim project. Join the HearthSim Developer community on Discord.