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.3.1.tar.gz
(42.2 kB
view hashes)
Built Distribution
Close
Hashes for hearthstone-9.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33e6c54b9e3bb75d7cfdeb0daf520ef68b262c3ee92e5647487e77f2191ec462 |
|
MD5 | 5e37437ceac8ab61a2983bea321cf0f3 |
|
BLAKE2b-256 | fc4d853013d6bf4c6905ec0788f2d9f36fcc397dd89b330f1a0b208380428c2c |