-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathusage_bibjson_filter.py
124 lines (121 loc) · 3.72 KB
/
usage_bibjson_filter.py
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
import dash_mp_components
import dash
from dash import dcc, html
import os
app = dash.Dash(__name__)
app.layout = html.Div([
dash_mp_components.BibFilter(
bibEntries=[
{
"DOI": "10.1557/mrc.2016.29",
"title": [
"Frontiers in strain-engineered multifunctional ferroic materials"
],
"author": [
{
"given": "Joshua C.",
"family": "Agar",
"sequence": "first",
"affiliation": []
},
{
"given": "Shishir",
"family": "Pandya",
"sequence": "additional",
"affiliation": []
},
{
"given": "Ruijuan",
"family": "Xu",
"sequence": "additional",
"affiliation": []
},
{
"given": "Ajay K.",
"family": "Yadav",
"sequence": "additional",
"affiliation": []
},
{
"given": "Zhiqi",
"family": "Liu",
"sequence": "additional",
"affiliation": []
},
{
"given": "Thomas",
"family": "Angsten",
"sequence": "additional",
"affiliation": []
},
{
"given": "Sahar",
"family": "Saremi",
"sequence": "additional",
"affiliation": []
},
{
"given": "Mark",
"family": "Asta",
"sequence": "additional",
"affiliation": []
},
{
"given": "R.",
"family": "Ramesh",
"sequence": "additional",
"affiliation": []
},
{
"given": "Lane W.",
"family": "Martin",
"sequence": "additional",
"affiliation": []
}
],
"created": {
"date-parts": [
[
2016,
8,
18
]
],
"date-time": "2016-08-18T10:25:31Z",
"timestamp": 1471515931000
},
"publisher": "Springer Science and Business Media LLC",
"openAccessUrl": "https://www.cambridge.org/core/services/aop-cambridge-core/content/view/95E71B1B18C06C02A60359A580051DA3/S215968591600029Xa.pdf/div-class-title-frontiers-in-strain-engineered-multifunctional-ferroic-materials-div.pdf"
}
# {
# "journal": "Physical Review X",
# "year": "2015",
# "issn": "21603308",
# "isbn": "2160-3308",
# "doi": "10.1103/PhysRevX.5.011006",
# "author": ["Agapito, Luis A.", "Curtarolo, Stefano", "Nardelli, Marco Buongiorno"],
# "title": "Reformulation of DFT + U as a Pseudohybrid Hubbard Density Functional for Accelerated Materials Discovery",
# "ENTRYTYPE": "article",
# "openAccessUrl": "https://lbl.gov",
# "ID": "agapito2015"
# },
# {
# "journal": "Physical Review B",
# "year": "2017",
# "issn": "24699969",
# "doi": "10.1103/PhysRevB.95.174110",
# "author": ["Angsten, Thomas", "Martin, Lane W.", "Asta, Mark"],
# "title": "Orientation-Dependent Properties of Epitaxially Strained Perovskite Oxide Thin Films: Insights from First-Principles Calculations",
# "ENTRYTYPE": "article",
# "ID": "angsten2017"
# }
],
format="crossref",
sortField="year",
ascending=False,
className="bibjson-test",
resultClassName="bibjson-test-result"
)
])
if __name__ == '__main__':
app.run_server(debug=True)