Metadata-Version: 2.1
Name: hearthstone
Version: 6.6.0
Summary: CardDefs.xml parser and Hearthstone enums for Python
Home-page: https://github.com/HearthSim/python-hearthstone/
Download-URL: https://github.com/HearthSim/python-hearthstone/tarball/master
Author: Jerome Leclanche
Author-email: jerome@leclan.ch
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Games/Entertainment
Description-Content-Type: text/markdown
License-File: LICENSE

# python-hearthstone

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/hearthsim/python-hearthstone/ci.yml?branch=master)](https://github.com/HearthSim/python-hearthstone/actions/workflows/ci.yml)
[![PyPI](https://img.shields.io/pypi/v/hearthstone.svg)](https://pypi.org/project/hearthstone/)

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](https://github.com/HearthSim/python-hslog).

The CardDefs.xml data for the latest build is available in the
[python-hearthstone-data repository](https://github.com/HearthSim/python-hearthstone-data)
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](https://hearthsim.info) project.
Join the HearthSim Developer community [on Discord](https://discord.gg/hearthsim-devs).
