mtgdata 0.2.4__tar.gz → 0.2.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {mtgdata-0.2.4 → mtgdata-0.2.5}/PKG-INFO +1 -1
  2. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtgdata/scryfall.py +0 -9
  3. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtgdata.egg-info/PKG-INFO +1 -1
  4. {mtgdata-0.2.4 → mtgdata-0.2.5}/.github/ISSUE_TEMPLATE/bug-report.md +0 -0
  5. {mtgdata-0.2.4 → mtgdata-0.2.5}/.github/ISSUE_TEMPLATE/feature-request.md +0 -0
  6. {mtgdata-0.2.4 → mtgdata-0.2.5}/.github/ISSUE_TEMPLATE/question.md +0 -0
  7. {mtgdata-0.2.4 → mtgdata-0.2.5}/.github/workflows/lint.yml +0 -0
  8. {mtgdata-0.2.4 → mtgdata-0.2.5}/.github/workflows/python-publish.yml +0 -0
  9. {mtgdata-0.2.4 → mtgdata-0.2.5}/.github/workflows/python-test.yml +0 -0
  10. {mtgdata-0.2.4 → mtgdata-0.2.5}/.github/workflows/version-bump.yaml +0 -0
  11. {mtgdata-0.2.4 → mtgdata-0.2.5}/.gitignore +0 -0
  12. {mtgdata-0.2.4 → mtgdata-0.2.5}/.pre-commit-config.yaml +0 -0
  13. {mtgdata-0.2.4 → mtgdata-0.2.5}/LICENSE.txt +0 -0
  14. {mtgdata-0.2.4 → mtgdata-0.2.5}/README.md +0 -0
  15. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtg-vae.png +0 -0
  16. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtgdata/__init__.py +0 -0
  17. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtgdata/__main__.py +0 -0
  18. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtgdata/scryfall_convert.py +0 -0
  19. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtgdata/util/__init__.py +0 -0
  20. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtgdata/util/hdf5.py +0 -0
  21. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtgdata.egg-info/SOURCES.txt +0 -0
  22. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtgdata.egg-info/dependency_links.txt +0 -0
  23. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtgdata.egg-info/requires.txt +0 -0
  24. {mtgdata-0.2.4 → mtgdata-0.2.5}/mtgdata.egg-info/top_level.txt +0 -0
  25. {mtgdata-0.2.4 → mtgdata-0.2.5}/pyproject.toml +0 -0
  26. {mtgdata-0.2.4 → mtgdata-0.2.5}/pytest.ini +0 -0
  27. {mtgdata-0.2.4 → mtgdata-0.2.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mtgdata
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: MTG image dataset with automatic image scraping and conversion.
5
5
  Author-email: Nathan Juraj Michlo <NathanJMichlo@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/nmichlo/mtg-dataset
@@ -30,12 +30,10 @@ __all__ = [
30
30
  "ScryfallBulkType",
31
31
  ]
32
32
 
33
- import contextlib
34
33
  import dataclasses
35
34
  import json
36
35
  import logging
37
36
  import os
38
- import time
39
37
  import warnings
40
38
  from datetime import datetime, timedelta
41
39
  from enum import Enum
@@ -571,13 +569,6 @@ def _noop(x):
571
569
  return x
572
570
 
573
571
 
574
- @contextlib.contextmanager
575
- def timer(name: str):
576
- t = time.time()
577
- yield
578
- print(f"{name} took {time.time() - t:.2f}s")
579
-
580
-
581
572
  class ScryfallDataset:
582
573
  # torch compatible dataset
583
574
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: mtgdata
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: MTG image dataset with automatic image scraping and conversion.
5
5
  Author-email: Nathan Juraj Michlo <NathanJMichlo@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/nmichlo/mtg-dataset
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes