Skip to content
HALOWERK

Package and Supply Chain Security

python requirements feature extra increment

Python package extras return the direct dependencies added by enabling one feature. Use it when an agent needs the incremental requirements of an installation extra.

POST https://paket.halowerk.com/v1/python-requirements-feature-extra-increment

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
packagestringYes
versionstringNo
pythonstringNo
platformSee schemaNo
requires_distarrayNo
extrastringYes
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
    },
    "extra": {
      "type": "string",
      "maxLength": 50,
      "minLength": 1
    }
  },
  "required": [
    "package",
    "extra"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "package": "requests",
  "version": "2.34.2",
  "extra": "socks"
}

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 โ†’