Models

Models.

Classes

Institution(**data)

An institution.

Author(**data)

An author.

Authorship(**data)

A combination of authors and institutions.

Readers

Readers.

Classes

Reader()

A getter for authorship.

PreparedReader(authorship)

A reader for prepared Authorship instances.

SheetReader(df, *[, sort_middle_authors])

Read from a pandas dataframe.

GoogleSheetReader(google_sheet, *[, gid, ...])

Read from google sheets.

OboSheetReader(df)

Read from a pandas dataframe.

OboGoogleSheetReader(google_sheet, *[, gid, ...])

Read from google sheets.

Writers

Writers.

Classes

Writer()

A writer for authorship.

TextWriter()

Write an authorship as text.

BiorxivWriter()

Write output for bioRxiv bulk author import.

ScientificDataWriter()

Write an author list for the latex template for Nature Scientific Data.

CitationCFFWriter()

Write an author list for the CITATION.cff file on GitHub.

Utilities

Constants.

Functions

hoyt_sort_key(row)

Sort a row by author role.

get_hoyt_google_sheets_df(google_sheet[, gid])

Get the dataframe from google.