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
Built Distribution
File details
Details for the file hearthstone-9.17.0.tar.gz
.
File metadata
- Download URL: hearthstone-9.17.0.tar.gz
- Upload date:
- Size: 44.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
41f434f1ed0ff793a8d60116fde249b5f7c40bb08140c57fc0c728ee22e3b9c7
|
|
MD5 |
4af880d688126c906bdf3ca955b51935
|
|
BLAKE2b-256 |
52eb44a7607186cceb8707608370fdfbd8be603271c832364b9d6cd991321544
|
Provenance
The following attestation bundles were made for hearthstone-9.17.0.tar.gz
:
Publisher:
ci.yml
on HearthSim/python-hearthstone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
hearthstone-9.17.0.tar.gz
-
Subject digest:
41f434f1ed0ff793a8d60116fde249b5f7c40bb08140c57fc0c728ee22e3b9c7
- Sigstore transparency entry: 258040419
- Sigstore integration time:
-
Permalink:
HearthSim/python-hearthstone@02647fc5d8bff99fdf8e28f1e11ee13cde3d4e7f
-
Branch / Tag:
refs/tags/v9.17.0
- Owner: https://github.com/HearthSim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
ci.yml@02647fc5d8bff99fdf8e28f1e11ee13cde3d4e7f
-
Trigger Event:
push
-
Statement type:
File details
Details for the file hearthstone-9.17.0-py3-none-any.whl
.
File metadata
- Download URL: hearthstone-9.17.0-py3-none-any.whl
- Upload date:
- Size: 47.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
fad0819869791e70e87939da631c73167cad4b1ad551163dd9b22f898cf36eda
|
|
MD5 |
4b7f41d042f4fc8a5eb7ed467468c48b
|
|
BLAKE2b-256 |
f7bce6a2ed1825d03e4449ba9bc9839633a212d117cea3b05f3f1afe3072dd76
|
Provenance
The following attestation bundles were made for hearthstone-9.17.0-py3-none-any.whl
:
Publisher:
ci.yml
on HearthSim/python-hearthstone
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
hearthstone-9.17.0-py3-none-any.whl
-
Subject digest:
fad0819869791e70e87939da631c73167cad4b1ad551163dd9b22f898cf36eda
- Sigstore transparency entry: 258040423
- Sigstore integration time:
-
Permalink:
HearthSim/python-hearthstone@02647fc5d8bff99fdf8e28f1e11ee13cde3d4e7f
-
Branch / Tag:
refs/tags/v9.17.0
- Owner: https://github.com/HearthSim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
ci.yml@02647fc5d8bff99fdf8e28f1e11ee13cde3d4e7f
-
Trigger Event:
push
-
Statement type: