-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata_config.py
More file actions
66 lines (58 loc) · 1.22 KB
/
data_config.py
File metadata and controls
66 lines (58 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
"""
This module contains neccessary data and structure information for
schiffsregister app
"""
import streamlit as st
nations_order_dict = {
"JAPAN": 1,
"USA": 2,
"UDSSR": 3,
"DEUTSCHLAND": 4,
"GB": 5,
"FRANKREICH": 6,
"ITALIEN": 7,
"PANASIEN": 8,
"EUROPA": 9,
"DIE NIEDERLANDE": 10,
"COMMONWEALTH": 11,
"PANAMERIKA": 12,
"SPANIEN": 13,
}
type_option_list = ["standard", "elite", "premium", "spezial"]
class_order_dict = {
"U-Boot": 1,
"Zerstörer": 2,
"Kreuzer": 3,
"Schlachtschiff": 4,
"Flugzeugträger": 5,
}
tier_order_dict = {
"I": 1,
"II": 2,
"III": 3,
"IV": 4,
"V": 5,
"VI": 6,
"VII": 7,
"VIII": 8,
"IX": 9,
"X": 10,
"XI": 11,
}
# Hauptfelder des Schiffsregisters
main_columns = ["Nation", "Typ", "Klasse", "Stufe", "Name"]
# Felder zur Sortierung
order_value_columns = [
"Ordnungswert_Nation",
"Ordnungswert_Klasse",
"Ordnungswert_Stufe",
]
# Alle Spalten
all_columns = main_columns + order_value_columns
# Sortierreihenfolge
sort_field_order = [
"Ordnungswert_Nation",
"Ordnungswert_Stufe",
"Ordnungswert_Klasse",
"Name",
]