PyPI API Client - v1.0.0
    Preparing search index...

    Interface PyPIFile

    A distribution file attached to a PyPI release (wheel or sdist).

    interface PyPIFile {
        filename: string;
        url: string;
        size: number;
        digests: { md5: string; sha256: string };
        packagetype: "sdist" | "bdist_wheel";
        python_version: string;
        requires_python: string | null;
        upload_time_iso_8601: string;
        yanked: boolean;
        yanked_reason: string | null;
    }
    Index

    Properties

    filename: string

    Distribution filename (e.g. requests-2.31.0-py3-none-any.whl)

    url: string

    Direct download URL on files.pythonhosted.org

    size: number

    File size in bytes

    digests: { md5: string; sha256: string }

    Integrity digests for verification

    packagetype: "sdist" | "bdist_wheel"

    Distribution type: source archive or built wheel

    python_version: string

    Python tag (e.g. 'py3', 'cp311', 'source')

    requires_python: string | null

    Python version constraint declared by the file, if any

    upload_time_iso_8601: string

    ISO 8601 upload timestamp

    yanked: boolean

    Whether this file has been yanked from the index

    yanked_reason: string | null

    Reason provided when the file was yanked, if any