spells-mtg 0.9.3__tar.gz → 0.9.4__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.
Potentially problematic release.
This version of spells-mtg might be problematic. Click here for more details.
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/PKG-INFO +1 -1
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/pyproject.toml +2 -2
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/config.py +2 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/external.py +6 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/LICENSE +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/README.md +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/__init__.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/cache.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/cards.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/columns.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/draft_data.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/enums.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/extension.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/filter.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/log.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/manifest.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/spells/schema.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/tests/__init__.py +0 -0
- {spells_mtg-0.9.3 → spells_mtg-0.9.4}/tests/filter_test.py +0 -0
|
@@ -11,7 +11,7 @@ dependencies = [
|
|
|
11
11
|
]
|
|
12
12
|
requires-python = ">=3.11"
|
|
13
13
|
readme = "README.md"
|
|
14
|
-
version = "0.9.
|
|
14
|
+
version = "0.9.4"
|
|
15
15
|
|
|
16
16
|
[project.license]
|
|
17
17
|
text = "MIT"
|
|
@@ -28,7 +28,7 @@ build-backend = "pdm.backend"
|
|
|
28
28
|
[tool.pdm]
|
|
29
29
|
distribution = true
|
|
30
30
|
|
|
31
|
-
[tool.pdm.
|
|
31
|
+
[tool.pdm.publish.upload]
|
|
32
32
|
env_file = "$HOME/.pypienv"
|
|
33
33
|
|
|
34
34
|
[tool.pdm.version]
|
|
@@ -19,6 +19,7 @@ from polars.exceptions import ComputeError
|
|
|
19
19
|
|
|
20
20
|
from spells import cards
|
|
21
21
|
from spells import cache
|
|
22
|
+
from spells.config import all_sets
|
|
22
23
|
from spells.enums import View, ColName
|
|
23
24
|
from spells.schema import schema
|
|
24
25
|
from spells.draft_data import summon
|
|
@@ -49,6 +50,7 @@ def cli() -> int:
|
|
|
49
50
|
cache.spells_print("spells", f"[data home]={data_dir}")
|
|
50
51
|
print()
|
|
51
52
|
usage = """spells [add|refresh|remove|clean] [set_code]
|
|
53
|
+
spells add all
|
|
52
54
|
spells clean all
|
|
53
55
|
spells info
|
|
54
56
|
|
|
@@ -98,6 +100,10 @@ def cli() -> int:
|
|
|
98
100
|
|
|
99
101
|
|
|
100
102
|
def _add(set_code: str, force_download=False):
|
|
103
|
+
if set_code == 'all':
|
|
104
|
+
for code in all_sets:
|
|
105
|
+
_add(code, force_download=force_download)
|
|
106
|
+
|
|
101
107
|
download_data_set(set_code, View.DRAFT, force_download=force_download)
|
|
102
108
|
write_card_file(set_code, force_download=force_download)
|
|
103
109
|
get_set_context(set_code, force_download=force_download)
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|