Skip to main content

CardDefs.xml parser and Hearthstone enums for Python

Project description

python-hearthstone

GitHub Workflow Status PyPI

A Hearthstone Python library containing:

  • A CardDefs.xml parser (hearthstone.cardxml)
  • A DbfXml parser (hearthstone.dbf)
  • Hearthstone enums as IntEnum (hearthstone.enums)

The log parser previously in hearthstone.hslog has moved to the python-hslog project.

The CardDefs.xml data for the latest build is available in the python-hearthstone-data repository or on PyPI with pip install hearthstone_data.

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-7.15.1.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hearthstone-7.15.1-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

Details for the file hearthstone-7.15.1.tar.gz.

File metadata

  • Download URL: hearthstone-7.15.1.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for hearthstone-7.15.1.tar.gz
Algorithm Hash digest
SHA256 2448cb042334f93d1007fbe173e1f6d5a29a5af975e26bdd07046cd81d0ec3a6
MD5 8ce462a16acb9c53eb5441ea50b8764f
BLAKE2b-256 6f649be7aecbca0b6f908bd24a2a2304eb95e99dbf374d358b04ca91a36fed71

See more details on using hashes here.

File details

Details for the file hearthstone-7.15.1-py3-none-any.whl.

File metadata

  • Download URL: hearthstone-7.15.1-py3-none-any.whl
  • Upload date:
  • Size: 46.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for hearthstone-7.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1afaa13165357a836888baa37b906c99dd64d26fb777a6edc35a722365f7bb76
MD5 0a24546ef1d6550416693f1f71ac0dd6
BLAKE2b-256 1924e5387a2f745b3e73b890c2d7d8e20be34c5343a8c2741c3fbad0a4ce94e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page