Orrery.
← All Stars

public Star · 0.1.0

orrery/pep-section

Bounded sections from named canonical Python PEP documents.

Use this when

  • You need a named PEP section for language/runtime guidance
  • You want bounded PEP text rather than a full download

Not for

  • PEPs outside the allowlist
  • Full PEP dumps
  • Editing PEPs

Inputs / Outputs

Inputs

NameTypeNotes
pep required string
section required string

Outputs

NameTypeNotes
content string
envelope signed-envelope

Example

{
  "method": "tools/call",
  "params": {
    "name": "get",
    "arguments": {
      "pep": "8",
      "section": "Introduction"
    }
  }
}

Tools

get Get a bounded named section from an allowlisted canonical Python PEP · schema
{
  "type": "object",
  "properties": {
    "pep": {
      "type": "string",
      "enum": [
        "8",
        "517"
      ],
      "default": "8"
    },
    "section": {
      "type": "string",
      "default": "Introduction"
    }
  },
  "required": [
    "pep",
    "section"
  ]
}

In constellations

No constellation references this Star yet.