mkt.databases.ncbi.ProteinEntrez

class mkt.databases.ncbi.ProteinEntrez(accession: str, email: str | None = None)[source]

Bases: object

Class to interact with query NCBI Protein API; only FASTA download supported.

__init__(*args: Any, **kwargs: Any) None

Methods

__eq__(other)

Return self==value.

__post_init__()

Attributes

__dataclass_fields__

__dataclass_params__

__match_args__

__pydantic_config__

email

Email address for the user; may be necessary to prevent blocking of access in case of excessive usage.

accession

Accession ID for the protein.

accession: str

Accession ID for the protein.

email: str | None = None

Email address for the user; may be necessary to prevent blocking of access in case of excessive usage.