aoptk.literature.id

Classes

ID

Base class for different types of publication IDs.

PMCID

PubMed Central ID.

PMID

PubMed ID.

DOI

Digital Object Identifier.

Module Contents

class aoptk.literature.id.ID(id_str: str)[source]

Base class for different types of publication IDs.

id_str[source]
__str__() str[source]
__eq__(other: object) bool[source]

Compare IDs by their string value.

__hash__() int[source]

Hash based on string value for use in sets/dicts.

class aoptk.literature.id.PMCID(id_str: str)[source]

Bases: ID

PubMed Central ID.

__str__() str[source]
class aoptk.literature.id.PMID(id_str: str)[source]

Bases: ID

PubMed ID.

__str__() str[source]
class aoptk.literature.id.DOI(id_str: str)[source]

Bases: ID

Digital Object Identifier.

__str__() str[source]