Citation#

class technote.metadata.model.Citation(*, doi=None, ads_bibcode=None)#

Bases: object

Additional information for building a citation to the technote.

Information such as title, authors, and dates are available in the TechnoteMetadata model.

Parameters:
  • doi (str | None, default: None)

  • ads_bibcode (str | None, default: None)

Attributes Summary

ads_bibcode

The ADS bibcode of the technote.

doi

The DOI of the technote.

doi_url

The DOI as a resolvable https://doi.org URL, if a DOI is available.

Attributes Documentation

ads_bibcode: str | None = None#

The ADS bibcode of the technote.

doi: str | None = None#

The DOI of the technote.

The DOI can be set either in its bare form (10.NNNN/suffix), as a doi.org URL, or with a doi: prefix; it is normalized to the bare form on construction. A value that is not a syntactically-valid DOI raises ValueError.

doi_url#

The DOI as a resolvable https://doi.org URL, if a DOI is available.