due¶
Stub file for a guaranteed safe import of duecredit constructs: if duecredit is not available.
To use it, place it into your project codebase to be imported, e.g. copy as
cp stub.py /path/tomodule/module/due.py
Note that it might be better to avoid naming it duecredit.py to avoid shadowing installed duecredit.
Then use in your code as
from .due import due, Doi, BibTeX
See https://github.com/duecredit/duecredit/blob/master/README.md for examples.
Origin: Originally a part of the duecredit Copyright: 2015-2016 DueCredit developers License: BSD-2
InactiveDueCreditCollector |
Just a stub at the Collector which would not do anything |
BibTeX(*args, **kwargs) |
Perform no good and no bad |
Doi(*args, **kwargs) |
Perform no good and no bad |
Url(*args, **kwargs) |
Perform no good and no bad |
InactiveDueCreditCollector¶
-
class
bha.due.InactiveDueCreditCollector¶ Bases:
objectJust a stub at the Collector which would not do anything
Methods
add(*args, **kwargs)Perform no good and no bad cite(*args, **kwargs)Perform no good and no bad dcite(*args, **kwargs)If I could cite I would load(*args, **kwargs)Perform no good and no bad -
__init__()¶ x.__init__(...) initializes x; see help(type(x)) for signature
-
add(*args, **kwargs)¶ Perform no good and no bad
-
cite(*args, **kwargs)¶ Perform no good and no bad
-
dcite(*args, **kwargs)¶ If I could cite I would
-
load(*args, **kwargs)¶ Perform no good and no bad
-