CardDefs.xml parser and Hearthstone enums for Python
Project description
python-hearthstone
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hearthstone-9.5.0.tar.gz
(42.4 kB
view hashes)
Built Distribution
Close
Hashes for hearthstone-9.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a40bc7b054cf4e461828954df31ba854f3fb55179072d9dc7724125e579c7c0 |
|
MD5 | e91277a48916af88e6528d2f024a6632 |
|
BLAKE2b-256 | 0672e62a693447f871f258cd164a37ec9c5ef8ce349cfba67d461f54a002dd64 |