bcpkgfox 0.16.30__py3-none-any.whl → 0.16.31__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.
- bcpkgfox/system.py +35 -0
- {bcpkgfox-0.16.30.dist-info → bcpkgfox-0.16.31.dist-info}/METADATA +1 -1
- {bcpkgfox-0.16.30.dist-info → bcpkgfox-0.16.31.dist-info}/RECORD +6 -6
- {bcpkgfox-0.16.30.dist-info → bcpkgfox-0.16.31.dist-info}/WHEEL +0 -0
- {bcpkgfox-0.16.30.dist-info → bcpkgfox-0.16.31.dist-info}/entry_points.txt +0 -0
- {bcpkgfox-0.16.30.dist-info → bcpkgfox-0.16.31.dist-info}/top_level.txt +0 -0
bcpkgfox/system.py
CHANGED
|
@@ -219,4 +219,39 @@ class System:
|
|
|
219
219
|
if unicodedata.category(letra) != 'Mn'
|
|
220
220
|
)
|
|
221
221
|
|
|
222
|
+
def uf_estado(valor: str) -> str:
|
|
223
|
+
estados = {
|
|
224
|
+
"AC": "Acre",
|
|
225
|
+
"AL": "Alagoas",
|
|
226
|
+
"AP": "Amapá",
|
|
227
|
+
"AM": "Amazonas",
|
|
228
|
+
"BA": "Bahia",
|
|
229
|
+
"CE": "Ceará",
|
|
230
|
+
"DF": "Distrito Federal",
|
|
231
|
+
"ES": "Espírito Santo",
|
|
232
|
+
"GO": "Goiás",
|
|
233
|
+
"MA": "Maranhão",
|
|
234
|
+
"MT": "Mato Grosso",
|
|
235
|
+
"MS": "Mato Grosso do Sul",
|
|
236
|
+
"MG": "Minas Gerais",
|
|
237
|
+
"PA": "Pará",
|
|
238
|
+
"PB": "Paraíba",
|
|
239
|
+
"PR": "Paraná",
|
|
240
|
+
"PE": "Pernambuco",
|
|
241
|
+
"PI": "Piauí",
|
|
242
|
+
"RJ": "Rio de Janeiro",
|
|
243
|
+
"RN": "Rio Grande do Norte",
|
|
244
|
+
"RS": "Rio Grande do Sul",
|
|
245
|
+
"RO": "Rondônia",
|
|
246
|
+
"RR": "Roraima",
|
|
247
|
+
"SC": "Santa Catarina",
|
|
248
|
+
"SP": "São Paulo",
|
|
249
|
+
"SE": "Sergipe",
|
|
250
|
+
"TO": "Tocantins"
|
|
251
|
+
}
|
|
252
|
+
if valor.upper() in estados:
|
|
253
|
+
return estados[valor.upper()]
|
|
254
|
+
estado_uf = {v.lower(): k for k, v in estados.items()}
|
|
255
|
+
return estado_uf.get(valor.lower(), "Valor inválido")
|
|
256
|
+
|
|
222
257
|
|
|
@@ -5,9 +5,9 @@ bcpkgfox/exec_file.py,sha256=fl_Do2SlF7JuXazpNTod-e_0WZUk355fbd7ustQvi40,3728
|
|
|
5
5
|
bcpkgfox/find_elements.py,sha256=oeB-73LqMLoKchozPXuxRkThBju9IgUKqbgU-2AAq0s,23027
|
|
6
6
|
bcpkgfox/get_driver.py,sha256=ohimk9E2hL6T35IXv0XX0uvWDGCUZvZDlPMnuRjV1R0,30490
|
|
7
7
|
bcpkgfox/invoke_api.py,sha256=UTksbSmg6yucWk-egH1gavYoViKvpUq-OAp5t308ZmY,5334
|
|
8
|
-
bcpkgfox/system.py,sha256=
|
|
9
|
-
bcpkgfox-0.16.
|
|
10
|
-
bcpkgfox-0.16.
|
|
11
|
-
bcpkgfox-0.16.
|
|
12
|
-
bcpkgfox-0.16.
|
|
13
|
-
bcpkgfox-0.16.
|
|
8
|
+
bcpkgfox/system.py,sha256=qxZ7IsEZcgUzJXRQ8jlj1fOcgkZxl2y059epl_MeFrw,7899
|
|
9
|
+
bcpkgfox-0.16.31.dist-info/METADATA,sha256=w1fAhCyboe2jOjK0ddgXPRMnNdR1FGOh8fYMLys_ax8,1912
|
|
10
|
+
bcpkgfox-0.16.31.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
11
|
+
bcpkgfox-0.16.31.dist-info/entry_points.txt,sha256=qmaEg6K7Y0HOeaFo-G6lf44InGkeVI4I6hqobcY_nns,653
|
|
12
|
+
bcpkgfox-0.16.31.dist-info/top_level.txt,sha256=h01SqyYBEfS72vkRFOlEDZBUSu9pzU0bdX4m9hWNNmw,9
|
|
13
|
+
bcpkgfox-0.16.31.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|