-
Notifications
You must be signed in to change notification settings - Fork 27
/
README
152 lines (84 loc) · 2.47 KB
/
README
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
Description
===========
doi2bib is a module of
`bibcure <https://github.com/bibcure/bibcure>`__\ and
`scihub2pdf <https://github.com/bibcure/scihub2pdf>`__
Install
=======
::
$ sudo pip install doi2bib
or if you want the full version
::
$ sudo pip install bibcure
Features and how to use
=======================
Given a DOI number...
::
$ doi2bib 10.1038/s41524-017-0032-0
- get bib item given a doi(requires internet connection)
You can easily append a bib into a bibfile, just do
::
$ doi2bib 10.1038/s41524-017-0032-0 >> file.bib
You also can generate a bibtex from a txt file containing a list of DOIs
::
$ doi2bib --input file_with_dois.txt --output refs.bib
bibcure
-------
Given a bib file...
::
$ bibcure -i input.bib -o output.bib
- check sure the Arxiv items have been published, then update
them(requires internet connection)
- complete all fields(url, journal, etc) of all bib items using DOI
number(requires internet connection)
- find and create DOI number associated with each bib item which has
not DOI field(requires internet connection)
- abbreviate jorunals names
title2bib
---------
Given a title...
::
$ title2bib An useful paper
- search papers related and return a bib for the selected
paper(requires internet connection)
You can easily append a bib into a bibfile, just do
::
$ title2bib An useful paper --first >> file.bib
You also can generate a bibtex from a txt file containing a list of
"titles"
::
$ title2bib --input file_with_titles.txt --output refs.bib --first
arxivcheck
----------
Given a arxiv id...
::
$ arxivcheck 1601.02785
- check if has been published, and then returns the updated bib
(requires internet connection)
Given a title...
::
$ arxivcheck --title An useful paper published on arxiv
search papers related and return a bib the first item. You can easily
append a bib into a bibfile, just do
::
$ arxivcheck --title An useful paper published on arxiv >> file.bib
You also can interact with results, just pass --ask parameter
::
$ arxivcheck --ask --title An useful paper published on arxiv
scihub2pdf
==========
Given a bibtex file
::
$ scihub2pdf -i input.bib
Given a DOI number...
::
$ scihub2pdf 10.1038/s41524-017-0032-0
Given a title...
::
$ scihub2bib --title An useful paper
Location folder as argument
::
$ scihub2pdf -i input.bib -l somefoler/
Use libgen instead sci-hub
::
$ scihub2pdf -i input.bib --uselibgen