Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hearthstone-data

PyPI Trigger release

This repository is used to package Hearthstone's card data as the hearthstone_data package on PyPI.

CardDefs.xml, BountyDefs.xml and MercenaryDefs.xml are sourced from api.hearthstonejson.com. The strings files are not published there and still come from hsdata.

The build script will automatically fetch the latest data 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 and click "Run workflow".

Manual Release

Prerequisites:

  • xmllint (e.g. Debian/Ubuntu: libxml2-utils)
  • curl and git

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

About

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

Resources

Stars

8 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages