Skip to content
HALOWERK

Package and Supply Chain Security

python requirements operating system diff

Python package portability returns requirements added or removed when changing the target operating system. Use it when an agent needs a cross-platform installation comparison.

POST https://paket.halowerk.com/v1/python-requirements-operating-system-diff

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
packagestringYes
versionstringNo
pythonstringNo
platformSee schemaNo
requires_distarrayNo
compare_platformSee schemaYes
Show full input schema
{
  "type": "object",
  "properties": {
    "package": {
      "type": "string",
      "maxLength": 160,
      "minLength": 1
    },
    "version": {
      "type": "string",
      "maxLength": 70,
      "minLength": 1
    },
    "python": {
      "type": "string",
      "maxLength": 6,
      "minLength": 1
    },
    "platform": {
      "enum": [
        "linux",
        "macos",
        "windows"
      ]
    },
    "requires_dist": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 950,
        "minLength": 1
      },
      "maxItems": 150,
      "minItems": 0
    },
    "compare_platform": {
      "enum": [
        "linux",
        "macos",
        "windows"
      ]
    }
  },
  "required": [
    "package",
    "compare_platform"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "package": "requests",
  "version": "2.34.2",
  "compare_platform": "windows"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub โ†’