SciPy

tethne.classes.paper module

A Paper represents a document in a Corpus. Paper objects behave a lot like conventional Python dictionaries, except that they are picky about the kind of data that you throw into them.

Most operations in Tethne don’t require you to interact with Papers directly.

class tethne.classes.paper.Paper[source]

Bases: dict

Tethne’s representation of a bibliographic record.

The following fields (and corresponding data types) are permitted.

Field Type Description
aulast list Authors’ last name, as a list.
auinit list Authors’ first initial as a list.
institution dict Institutions with which the authors are affiliated.
atitle str Article title.
jtitle str Journal title or abbreviated title.
volume str Journal volume number.
issue str Journal issue number.
spage str Starting page of article in journal.
epage str Ending page of article in journal.
date int Article date of publication.
country dict Author-Country mapping.
citations list A list of Paper instances.
ayjid str First author’s name (last fi), pubdate, and journal.
doi str Digital Object Identifier.
pmid str PubMed ID.
wosid str Web of Science UT fieldtag value.
accession str Identifier for data conversion accession.

None values are also allowed for all fields.

authors()[source]

Get the authors of the current Paper instance.

Returns:

authors : list

Author names are in the format LAST F. If there are no authors, returns an empty list.