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

Uploaded Source

Built Distribution

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

hearthstone-5.73.0-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hearthstone-5.73.0.tar.gz
  • Upload date:
  • Size: 38.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for hearthstone-5.73.0.tar.gz
Algorithm Hash digest
SHA256 1c9d987bed588d17bf7491d424f53e84905ef36a86350a5aac61e1d0c46be521
MD5 ae55d4cd677a5de6edc2ce0113ab40a6
BLAKE2b-256 b3ed8398e18858f2dd4b10857462ea006398b43504f3038ea9a16aa468919c79

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hearthstone-5.73.0-py3-none-any.whl
  • Upload date:
  • Size: 41.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for hearthstone-5.73.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae0ff342f0596c25c01085bf9c6a722eb4de15ccec9f2e1bdf50b03c0893ec70
MD5 7549b13f2184467eb455ffaedbcd1b8b
BLAKE2b-256 a9475f2375856df16964eaf6dc2db1af0eac1eb4f7b3875da3556fa1349395b6

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