An open API service indexing awesome lists of open source software.

https://github.com/hearthsim/python-hearthstone-data

CardDefs.xml and Strings.txt for Hearthstone, conveniently packaged in Python
https://github.com/hearthsim/python-hearthstone-data

Last synced: 10 months ago
JSON representation

CardDefs.xml and Strings.txt for Hearthstone, conveniently packaged in Python

Awesome Lists containing this project

README

          

# hearthstone-data

[![PyPI](https://img.shields.io/pypi/v/hearthstone_data)](https://pypi.org/project/hearthstone_data/)
[![Trigger release](https://img.shields.io/badge/release-trigger-success)](https://github.com/HearthSim/python-hearthstone-data/actions/workflows/release.yml)

This repository is used to package [hsdata](https://github.com/HearthSim/hsdata) as the [hearthstone_data package](https://pypi.org/project/hearthstone_data/) on PyPI.

The build script will automatically clone the latest version of hsdata and generate a new version of this package with the appropriate build number. No changes or commits to this repository are necessary as part of the release process.

## Automated Release

To trigger an automated release via GitHub actions, [open this page](https://github.com/HearthSim/python-hearthstone-data/actions/workflows/release.yml) and click "Run workflow".

## Manual Release

Prerequisites:
- `xmllint` (e.g. Debian/Ubuntu: `libxml2-utils`)

Ensure that `wheel` is installed in your Python environment or virtualenv.

Then, run the following:
```
$ git clean -xfd
$ ./bootstrap.sh
$ python setup.py sdist bdist_wheel upload --sign
```