localdex 0.2.51__py3-none-any.whl → 0.2.53__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.
- localdex/name_normalizer.py +13 -2
- {localdex-0.2.51.dist-info → localdex-0.2.53.dist-info}/METADATA +1 -1
- {localdex-0.2.51.dist-info → localdex-0.2.53.dist-info}/RECORD +7 -7
- {localdex-0.2.51.dist-info → localdex-0.2.53.dist-info}/WHEEL +0 -0
- {localdex-0.2.51.dist-info → localdex-0.2.53.dist-info}/entry_points.txt +0 -0
- {localdex-0.2.51.dist-info → localdex-0.2.53.dist-info}/licenses/LICENSE +0 -0
- {localdex-0.2.51.dist-info → localdex-0.2.53.dist-info}/top_level.txt +0 -0
localdex/name_normalizer.py
CHANGED
@@ -127,7 +127,12 @@ class PokemonNameNormalizer:
|
|
127
127
|
|
128
128
|
if 'sinistcha' in name_lower:
|
129
129
|
return 'sinistcha'
|
130
|
-
|
130
|
+
if 'meowstic' in name_lower:
|
131
|
+
if 'f' in name_lower:
|
132
|
+
return 'meowstic-female'
|
133
|
+
else:
|
134
|
+
return 'meowstic-male'
|
135
|
+
|
131
136
|
if 'meloetta' in name_lower:
|
132
137
|
if 'aria' in name_lower:
|
133
138
|
return 'meloetta-aria'
|
@@ -168,7 +173,13 @@ class PokemonNameNormalizer:
|
|
168
173
|
return 'squawkabilly-white-plumage'
|
169
174
|
else:
|
170
175
|
return 'squawkabilly-white-plumage'
|
171
|
-
|
176
|
+
if 'basculegion' in name_lower:
|
177
|
+
if 'f' in name_lower:
|
178
|
+
return 'basculegion-female'
|
179
|
+
elif 'm' in name_lower:
|
180
|
+
return 'basculegion-male'
|
181
|
+
else:
|
182
|
+
return 'basculegion-female'
|
172
183
|
# Tauros Paldea forms
|
173
184
|
if 'tauros' in name_lower and 'paldea' in name_lower:
|
174
185
|
if 'blaze' in name_lower:
|
@@ -4,7 +4,7 @@ localdex/core.py,sha256=mPjCQ_07rwf6zeVivP-kAsKI7Q10SOzSIgEoPdCKwtY,20703
|
|
4
4
|
localdex/data_loader.py,sha256=hi9aSTto5Ti-OBGOgrQ-XwD5hmivsUwS1uC4rulhwQI,11366
|
5
5
|
localdex/download_data.py,sha256=T4A3OliGe2RsrRV1glyCqRcFhQIRt29KcY1K1-IqTuU,21597
|
6
6
|
localdex/exceptions.py,sha256=Z02-8Kci6jFDk2nnGdVSHZJMDDWE9vuwuASs4VM3To8,2777
|
7
|
-
localdex/name_normalizer.py,sha256=
|
7
|
+
localdex/name_normalizer.py,sha256=qvzjLhMihsPARmddr0DYPvkBfIDI9B-T4T97HbIKOlE,6428
|
8
8
|
localdex/stat_calculator.py,sha256=_hVxTUQKGnvVPTdmyBWSfVMdzRP82SeY0PWUXWSSXtI,34848
|
9
9
|
localdex/data/abilities/adaptability.json,sha256=FGEEZmL80YVcIXHV-h287Wu-UJycM1QEJxiOHK2I4mY,289
|
10
10
|
localdex/data/abilities/aerilate.json,sha256=KRZOVH2KGdEQ_3UktFoXoagUOaC8jIPZ6Ti-YGzW44s,301
|
@@ -4827,9 +4827,9 @@ localdex/models/ability.py,sha256=AQzv3XUHHl4sustMJjPDDjJOjXu2GMLTfcM3-tqQ_1w,30
|
|
4827
4827
|
localdex/models/item.py,sha256=zXao8F-jBPUGq_YLeGeYeK_dZVI7aZMXtWOPwR3qusY,4677
|
4828
4828
|
localdex/models/move.py,sha256=hfgcWI4ziz5MMvc9ddmkotxzYYdrSUqZZQ72IU5tucs,7629
|
4829
4829
|
localdex/models/pokemon.py,sha256=glnOiEhkFc25U54hJHwUkT-okUgtL2prg3269YXI3w0,5422
|
4830
|
-
localdex-0.2.
|
4831
|
-
localdex-0.2.
|
4832
|
-
localdex-0.2.
|
4833
|
-
localdex-0.2.
|
4834
|
-
localdex-0.2.
|
4835
|
-
localdex-0.2.
|
4830
|
+
localdex-0.2.53.dist-info/licenses/LICENSE,sha256=i6DyIs1YqXBAxAIiGBS6vp2iQP9tiMd47S8dvaeFmDQ,1065
|
4831
|
+
localdex-0.2.53.dist-info/METADATA,sha256=7sKrUGyxsHB2NQ6pvqGo87MrmlisLmIbcDJ1ceutY-g,5886
|
4832
|
+
localdex-0.2.53.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
4833
|
+
localdex-0.2.53.dist-info/entry_points.txt,sha256=n5GxSeQo-MRuvrT2wVk7hOzEFFsWf6tkBjkzmGIYJe4,47
|
4834
|
+
localdex-0.2.53.dist-info/top_level.txt,sha256=vtupDMH-IaxVCoEZrmE0QzdTwhaKzngVJbTA1NkR_MY,9
|
4835
|
+
localdex-0.2.53.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|