Mtgtools

Latest version: v0.9.71

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.9.7

- The 'index' and 'pop' methods of PCardList now return correct values

0.9.6

- Included all the ZODB.FileStorage.FileStorage keyword arguments in MtgDB

0.9.5

- Fixed a Scryfall updating error
- Added a bulk update option for Scryfall
- Added many new attributes for scryfall cards and sets
- Fixed an error with an incorrect warnings.warn parameter when reading
a decklist from string

0.9.62 --> 0.9.63
- Fixed an issue where scryfall_bulk_update fails because of an incorrect attribute name

0.9.4

- Added the 'promo' and 'promo_types' attributes for scryfall cards

0.9.2

- Added the ability to include any card-specific keyword arguments such as lang='en' for reading cards from decklists
which will only return those matching cards.
- Added the ability to specify the collector number of the card when reading cards from decklists

0.9.1

- Now using the common 'requests' library
- The 'id' attribute of sets is now correctly retrieved from Scryfall API instead of created randomly
- Updating is now more robust taking into account certain errors that are caused by inconsistencies of the API side.
There are apparently situations where certain sets might be missing, might have wrong 'card_count' attributes or
similar things that caused request errors and crashing
- Added more tests
- Added a method to check if the local Scryfall database is consistent. It checks things like all the cards belong in
a set, no set or the full cards list has duplicate cards, etc.

- The updating methods that fetch only new card info are now deprecated. They raise a warning and just call the full
update method, so any old code is not broken
- For simplicity, the names of methods 'full_update_from_mtgio' and 'full_update_from_scryfall' have been changed to
simpler 'mtgio_update' and 'scryfall_update'. Calling the old functions will just raise a warning and call the new
functions, so any old code is not broken

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.