Skip to content

Hearthstone Python library (CardDefs, DBF, enums, log parser)

License

Notifications You must be signed in to change notification settings

HearthSim/python-hearthstone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 18, 2025
167d20b · Feb 18, 2025
Apr 24, 2023
Feb 18, 2025
Sep 22, 2023
Feb 13, 2025
Mar 8, 2017
Apr 10, 2024
May 11, 2016
Apr 17, 2024
Feb 18, 2025
Mar 8, 2018
Apr 2, 2024

Repository files navigation

python-hearthstone

GitHub Workflow Status PyPI

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.

Requirements

  • Python 3.6+
  • lxml

Installation

  • To install from PyPI: pip install hearthstone

License

This project is licensed under the MIT license. The full license text is available in the LICENSE file.

Community

This is a HearthSim project. Join the HearthSim Developer community on Discord.

About

Hearthstone Python library (CardDefs, DBF, enums, log parser)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages