-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
80 lines (72 loc) · 1.55 KB
/
config.py
File metadata and controls
80 lines (72 loc) · 1.55 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
67
68
69
70
71
72
73
74
75
76
77
78
79
# -*- coding: utf-8 -*-
TABLES = {
'papers': '''
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
title TEXT NOT NULL,
class INT,
conference TEXT,
type TEXT,
time INT,
beref INT,
refnum INT,
database TEXT,
dbid TEXT,
main TEXT,
reference TEXT,
bibtex TEXT
''',
'list_class': '''
name TEXT NOT NULL UNIQUE,
rank INT
''',
'list_type': '''
name TEXT NOT NULL UNIQUE
''',
'list_database': '''
name TEXT NOT NULL UNIQUE
''',
'list_conference': '''
name TEXT NOT NULL UNIQUE
''',
}
TABLE_LABELS = {
'papers': ['id', 'title', 'class', 'conference', 'type', 'time', 'beref', 'refnum', 'database', 'dbid', 'main', 'reference', 'bibtex'],
'list_class': ['name', 'rank'],
'list_type': ['name'],
'list_database': ['name'],
'list_conference': ['name'],
}
SHORTCUT_4_PAPER = [
'id',
'class',
'time',
'conference',
'type',
'title',
'beref',
'refnum',
]
COL_TITLE = {
'id':'id',
'title': '标题',
'conference': '会议/期刊',
'type': '等级',
'time': '时间',
'refnum': '参考文献数量',
'beref': '被引量',
'class': '分类',
}
COMBOBOXES = ['class', 'conference', 'type', 'database']
HOMEPAGE_FORMAT = {
'ACM': "https://dl.acm.org/citation.cfm?id=%s",
'IEEE': "https://ieeexplore.ieee.org/abstract/document/%d",
'ARXIV': "https://arxiv.org/abs/%s"
}
DATABASE_ASSOSIATE = {
'SIGCOMM': 'ACM',
'CONEXT': 'ACM',
'MM': 'ACM',
'MMSYS': 'ACM',
'INFOCOM': 'IEEE',
'ICC': 'IEEE',
}