spells-mtg 0.0.1__tar.gz → 0.0.3__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.

@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: spells-mtg
3
- Version: 0.0.1
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.10
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
@@ -9,9 +9,9 @@ dependencies = [
9
9
  "polars>=1.14.0",
10
10
  "wget>=3.2",
11
11
  ]
12
- requires-python = ">=3.10"
12
+ requires-python = ">=3.11"
13
13
  readme = "README.md"
14
- version = "0.0.1"
14
+ version = "0.0.3"
15
15
 
16
16
  [project.license]
17
17
  text = "MIT"
@@ -35,5 +35,8 @@ dev = [
35
35
  "ruff>=0.7.4",
36
36
  ]
37
37
 
38
+ [tool.pdm.scripts.publish]
39
+ env_file = "$HOME/.pypienv"
40
+
38
41
  [tool.pdm.version]
39
42
  source = "scm"
@@ -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[name], field)
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
@@ -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:
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes