letsbuilda.pypi.models.models_json ================================== .. py:module:: letsbuilda.pypi.models.models_json .. autoapi-nested-parse:: Models for JSON responses. Classes ------- .. autoapisummary:: letsbuilda.pypi.models.models_json.Vulnerability letsbuilda.pypi.models.models_json.Downloads letsbuilda.pypi.models.models_json.Digests letsbuilda.pypi.models.models_json.URL letsbuilda.pypi.models.models_json.Info letsbuilda.pypi.models.models_json.JSONPackageMetadata Module Contents --------------- .. py:class:: Vulnerability Security vulnerability. .. py:attribute:: id :type: str .. py:attribute:: aliases :type: list[str] .. py:attribute:: link :type: str .. py:attribute:: source :type: str .. py:attribute:: withdrawn :type: datetime.datetime | None .. py:attribute:: summary :type: str .. py:attribute:: details :type: str .. py:attribute:: fixed_in :type: list[str] .. py:method:: from_dict(data: dict) -> Self :classmethod: Build an instance from a dictionary. .. py:class:: Downloads Release download counts. .. py:attribute:: last_day :type: int .. py:attribute:: last_month :type: int .. py:attribute:: last_week :type: int .. py:method:: from_dict(data: dict) -> Self :classmethod: Build an instance from a dictionary. .. py:class:: Digests URL file digests. .. py:attribute:: blake2_b_256 :type: str .. py:attribute:: md5 :type: str .. py:attribute:: sha256 :type: str .. py:method:: from_dict(data: dict) -> Self :classmethod: Build an instance from a dictionary. .. py:class:: URL Package release URL. .. py:attribute:: comment_text :type: str .. py:attribute:: digests :type: Digests .. py:attribute:: downloads :type: int .. py:attribute:: filename :type: str .. py:attribute:: has_sig :type: bool .. py:attribute:: md5_digest :type: str .. py:attribute:: packagetype :type: str .. py:attribute:: python_version :type: str .. py:attribute:: requires_python :type: str | None .. py:attribute:: size :type: int .. py:attribute:: upload_time :type: datetime.datetime .. py:attribute:: upload_time_iso_8601 :type: datetime.datetime .. py:attribute:: url :type: str .. py:attribute:: yanked :type: bool .. py:attribute:: yanked_reason :type: None .. py:method:: from_dict(data: dict) -> Self :classmethod: Build an instance from a dictionary. .. py:class:: Info Package metadata internal info block. .. py:attribute:: author :type: str .. py:attribute:: author_email :type: str .. py:attribute:: bugtrack_url :type: None .. py:attribute:: classifiers :type: list[str] .. py:attribute:: description :type: str .. py:attribute:: description_content_type :type: str .. py:attribute:: docs_url :type: None .. py:attribute:: download_url :type: str .. py:attribute:: downloads :type: Downloads .. py:attribute:: home_page :type: str .. py:attribute:: keywords :type: str .. py:attribute:: license :type: str .. py:attribute:: maintainer :type: str .. py:attribute:: maintainer_email :type: str .. py:attribute:: name :type: str .. py:attribute:: package_url :type: str .. py:attribute:: platform :type: str | None .. py:attribute:: project_url :type: str .. py:attribute:: project_urls :type: dict[str, str] .. py:attribute:: release_url :type: str .. py:attribute:: requires_dist :type: list[str] .. py:attribute:: requires_python :type: str .. py:attribute:: summary :type: str .. py:attribute:: version :type: str .. py:attribute:: yanked :type: bool .. py:attribute:: yanked_reason :type: str | None .. py:attribute:: dynamic :type: list[Literal['Platform', 'Supported-Platform', 'Summary', 'Description', 'Description-Content-Type', 'Keywords', 'Home-page', 'Download-URL', 'Author', 'Author-email', 'Maintainer', 'Maintainer-email', 'License', 'Classifier', 'Requires-Dist', 'Requires-Python', 'Requires-External', 'Project-URL', 'Provides-Extra', 'Provides-Dist', 'Obsoletes-Dist']] | None .. py:attribute:: provides_extra :type: list[str] | None .. py:method:: from_dict(data: dict) -> Self :classmethod: Build an instance from a dictionary. .. py:class:: JSONPackageMetadata Package metadata. .. py:attribute:: info :type: Info .. py:attribute:: last_serial :type: int .. py:attribute:: urls :type: list[URL] .. py:attribute:: vulnerabilities :type: list[Vulnerability] .. py:method:: from_dict(data: dict) -> Self :classmethod: Build an instance from a dictionary.