Changelog

0.3.2

New Features

  • With Valve publishing the translations, pyArtifact isn’t far behind. While the support for card text was already implemented, large images were always in english. That is now not the case.
  • Localize parameter in Cards will now turn the language into lowercase for you.

Bug Fixes

  • Previously it was impossible to get some cards by name, because they shared it with an ability. This is now fixed, for more read the updated docummentation of get() The affected cards were:
    • Sister of the Veil
    • Rebel Decoy
    • Mercenary Exiles
    • Emissary of the Quorum
    • Ravenhook
    • Ravenous Mass
    • Assassin’s Apprentice
    • Satyr Magician
    • Unsupervised Artillery
    • Revtel Investments
    • Aghanim’s Sanctum
    • Escape Route
    • Messenger Rookery
    • Keenfolk Turret
    • Steam Cannon
    • Assassin’s Veil
    • Phase Boots
    • Blink Dagger
    • Demagicking Maul
    • Rumusque Vestments
    • Keenfolk Musket
    • Bracers of Sacrifice
    • Helm of the Dominator
    • Wingfall Hammer
    • Book of the Dead
    • Shiva’s Guard
    • Horn of the Alpha
    • Nyctasha’s Guard
    • Apotheosis Blade

0.3.0

Prelude

A simple Deck wrapper has been designed and is ready to be tested :)

New Features

  • Deck has been ‘done’ (still prototype version). To use it, all sets have to be loaded.
  • deck.Overview has been added as a property of the deck. It offers a quick glance over the contents of the deck
  • filtering.CardFilter now has a sub_type filter (no sub_type_in and sub_type_not_in variants just yet)
  • filtering.CardFilter now works internally with list of cards instead of a set, to be able to filter through deck contents etc.

Bug Fixes

Other Notes

  • Mypy is an a** and we won’t be working with him again. Killer of productivity that only complicated code. His paws might still be seen here and there, if you see a weird piece of code that could be simplified if it didn’t require mypy to pass, feel free to point it out. (Typing is still useful and this library should stay pycharm compatible, no warnings raised there!)
  • Tons of docstrings were added in preparation for sphinx autodoc

0.2.0

Prelude

Deck encoding is now supported

New Features

Known Issues

  • Encoding and decoding isn’t very readable at the moment and could use a ton of pythonization ;)
  • Deck - a wrapper for encoding and decoding still needs tons of design work. The question is whether this library should be a deck building tool, or just a lightweight wrapper, more focused on reporting the decks and more ‘low level’ edits through dictionaries that are used internally.