arxiv.canonical.domain.license module

Provide license-related domain concepts and logic.

class arxiv.canonical.domain.license.License(href)[source]

Bases: arxiv.canonical.domain.base.CanonicalBase

License under which the e-print was provided to arXiv.

classmethod from_dict(data)[source]

Reconstitute from a native dict.

Return type

License

href = None

URI of the license resource.

to_dict()[source]

Generate a native dict representation.

Return type

Dict[str, Any]