Skip to main content

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.

Metadata

Release files for hearthstone 9.23.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hearthstone 9.23.0
File Size Uploaded Provenance Actions
hearthstone-9.23.0.tar.gz 57.6 kB With provenance Details for hearthstone-9.23.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hearthstone 9.23.0
File Interpreter ABI Platform Actions
hearthstone-9.23.0-py3-none-any.whl Python 3 none any Details for hearthstone-9.23.0-py3-none-any.whl

Total release size: 109.2 kB

Release files / hearthstone-9.23.0.tar.gz

Download URL hearthstone-9.23.0.tar.gz
Size 57.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ba09aa20a21218472ee901ce4ffbce85df216d8061451b285d87d529b405c744
BLAKE2b-256 checksum
How to use checksums
89c26115a8e994cae166512367f20b18d3a5a6625147f60cea9fc0aeb71416a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / hearthstone-9.23.0-py3-none-any.whl

Download URL hearthstone-9.23.0-py3-none-any.whl
Size 51.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d298148a2f8ca7de40c4e4b1b58ddb46f3fa4dd29e473e539e8c65f4fa01414
BLAKE2b-256 checksum
How to use checksums
8dc162c9e4eadd6f55f8d0c183028142a118c69d6082e4b96bf31da8c72ddcc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for hearthstone 9.23.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hearthstone-9.23.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

9.23.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page