spells-mtg 0.0.2__py3-none-any.whl → 0.0.3__py3-none-any.whl
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/cards.py +1 -1
- spells/external.py +1 -1
- {spells_mtg-0.0.2.dist-info → spells_mtg-0.0.3.dist-info}/METADATA +2 -2
- {spells_mtg-0.0.2.dist-info → spells_mtg-0.0.3.dist-info}/RECORD +7 -7
- {spells_mtg-0.0.2.dist-info → spells_mtg-0.0.3.dist-info}/WHEEL +0 -0
- {spells_mtg-0.0.2.dist-info → spells_mtg-0.0.3.dist-info}/entry_points.txt +0 -0
- {spells_mtg-0.0.2.dist-info → spells_mtg-0.0.3.dist-info}/licenses/LICENSE +0 -0
spells/cards.py
CHANGED
|
@@ -88,7 +88,7 @@ def card_df(draft_set_code: str, names: list[str]) -> pl.DataFrame:
|
|
|
88
88
|
return pl.DataFrame(
|
|
89
89
|
[
|
|
90
90
|
{
|
|
91
|
-
field: _extract_value(draft_set_code, name, card_data_map
|
|
91
|
+
field: _extract_value(draft_set_code, name, card_data_map.get(name, {}), field)
|
|
92
92
|
for field in CardAttr
|
|
93
93
|
}
|
|
94
94
|
for name in names
|
spells/external.py
CHANGED
|
@@ -264,7 +264,7 @@ def download_data_set(
|
|
|
264
264
|
)
|
|
265
265
|
print()
|
|
266
266
|
|
|
267
|
-
cache.spells_print(mode, "Unzipping and transforming to parquet...")
|
|
267
|
+
cache.spells_print(mode, "Unzipping and transforming to parquet (this might take a few minutes)...")
|
|
268
268
|
_process_zipped_file(dataset_path, target_path)
|
|
269
269
|
cache.spells_print(mode, f"File {target_path} written")
|
|
270
270
|
if clear_set_cache:
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: spells-mtg
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.3
|
|
4
4
|
Summary: analaysis of 17Lands.com public datasets
|
|
5
5
|
Author-Email: Joel Barnes <oelarnes@gmail.com>
|
|
6
6
|
License: MIT
|
|
7
|
-
Requires-Python: >=3.
|
|
7
|
+
Requires-Python: >=3.11
|
|
8
8
|
Requires-Dist: polars>=1.14.0
|
|
9
9
|
Requires-Dist: wget>=3.2
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
spells/__init__.py,sha256=EcI7ijXYvPA8jj7wUZqs6CSWr__MD8AOXhkex-Hj37E,131
|
|
2
2
|
spells/cache.py,sha256=9ij8nIoYlyGY0W-WcYHmWA9AT1jCYmRcXw23RDS7xSE,3005
|
|
3
|
-
spells/cards.py,sha256=
|
|
3
|
+
spells/cards.py,sha256=2JLwCY7b2vrLeuzBCctqp-dcQbctgXkuiWebv_rVQ5w,3153
|
|
4
4
|
spells/columns.py,sha256=BEYKDpZYkRgV1kBqIq6XC6kXvVjOih7jGthIpy-YVSw,23339
|
|
5
5
|
spells/draft_data.py,sha256=xoGn6QGaAKgIInEzi2pnvk4CH5xNrwYq4mAj3r07GfA,9272
|
|
6
6
|
spells/enums.py,sha256=Idpv17rCAHDF5bENU8I8V0rpL9W5KB2GM6lhrN4GunU,4447
|
|
7
|
-
spells/external.py,sha256=
|
|
7
|
+
spells/external.py,sha256=Yke-ZcoJ425pBdx8xmiqJ3RVNoexIjBWepCjp7e5tjQ,10246
|
|
8
8
|
spells/filter.py,sha256=J-YTOOAzOQpvIX29tviYL04RVoOUlfsbjBXoQBDCEdQ,3380
|
|
9
9
|
spells/manifest.py,sha256=XEJwwYJzOEWrQQwka39F9SgZo38hH_Kj4MPY7GOuLvY,6903
|
|
10
10
|
spells/schema.py,sha256=z8Qn2SiHG4T6YfPsz8xHLGMjU_Ofm76-Vrquh3b9B64,6422
|
|
11
|
-
spells_mtg-0.0.
|
|
12
|
-
spells_mtg-0.0.
|
|
13
|
-
spells_mtg-0.0.
|
|
14
|
-
spells_mtg-0.0.
|
|
15
|
-
spells_mtg-0.0.
|
|
11
|
+
spells_mtg-0.0.3.dist-info/METADATA,sha256=s8poWzjlhctbD9wDXPZ7K2lDYDcTjNgoBuEoLnTAegI,40918
|
|
12
|
+
spells_mtg-0.0.3.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
|
13
|
+
spells_mtg-0.0.3.dist-info/entry_points.txt,sha256=a9Y1omdl9MdnKuIj3aOodgrp-zZII6OCdvqwgP6BFvI,63
|
|
14
|
+
spells_mtg-0.0.3.dist-info/licenses/LICENSE,sha256=tS54XYbJSgmq5zuHhbsQGbNQLJPVgXqhF5nu2CSRMig,1068
|
|
15
|
+
spells_mtg-0.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|