API documentation#
- class pygscholar.Author(*, info: AuthorInfo, publications: Sequence[Publication] = ())[source]#
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygscholar.AuthorInfo(*, name: str, scholar_id: str, link: str = '', affiliation: str = '', email: str = '', cited_by: int = 0, data: dict[str, ~typing.Any] = <factory>)[source]#
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygscholar.Department(*, authors: list[Author])[source]#
- model_config: ClassVar[ConfigDict] = {}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class pygscholar.Publication(*, title: str, year: int = 0, num_citations: int = 0, abstract: str = '', authors: str = '', journal: str = '', volume: str = '', issue: str = '', pages: str = '', publisher: str = '', pdf_url: str = '', scholar_url: str = '', date: str = '')[source]#
- model_config: ClassVar[ConfigDict] = {'frozen': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
cli#
Command line interface for pygscholar. You can also set the environment variable PYSCHOLAR_CACHE_DIR to change the default cache directory.
department#
publication#
- class pygscholar.publication.Publication(*, title: str, year: int = 0, num_citations: int = 0, abstract: str = '', authors: str = '', journal: str = '', volume: str = '', issue: str = '', pages: str = '', publisher: str = '', pdf_url: str = '', scholar_url: str = '', date: str = '')[source]#
- model_config: ClassVar[ConfigDict] = {'frozen': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].