Spiral gives your agent every tool with one account. Browse the tools →

Muse · E-commerce

How to Use PyPI package files in Muse

Lists wheels and source distributions across a package's available releases, including download links and hashes. Use it to compare artifacts across versions or plan a package mirror.

Prompts to try with PyPI package files in Muse

Copy an example into Muse, or ask in your own words.

Use PyPI package files to look this up and give me the result as a table.

PyPI package filesMuse
Try asking
  • Pull the latest numbers from PyPI package files and tell me what changed since last week.

  • Check PyPI package files and summarize what you find in three bullet points.

  • Pull the newest data from PyPI package files and give me the result as a table.

  • Check PyPI package files every morning and tell me only when something changed.

How to set up PyPI package files in Muse

Pick the way that suits you. Each takes about two minutes.

Use the Muse connector

  1. Create an API key

    Create one under API keys in the Spiral console.

  2. Send Muse this message

    Muse reads Spiral's skill and asks for an API key.

    set up https://spiral.ai/SKILL.md
  3. Give Muse the key

    Paste the key when Muse asks for it, never in the chat itself.

Use the Spiral skill

  1. Send Muse this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run PyPI package files

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "pypi-org/packages/files",
        "input": {
          "project": "<project>"
        }
      }'

Then paste one of the prompts above: Muse finds PyPI package files on Spiral, shows the price and runs it.

PyPI package files providers and prices

Spiral runs PyPI package files through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
PyPI · Files
pypi-org/packages/files

Settings you can ask for

Ask Muse for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 500100

Files per page.

Every API field of PyPI · Files is on its tool page: open its card above.

What can you do with PyPI package files in Muse?

Get a readable PyPI research brief covering package requirements, release activity, publishing evidence, or repository storage. Ask for the specific records behind a comparison so you can choose what deserves closer review.

Review a dependency upgrade

Compare current package metadata with a proposed release, check available artifacts, inspect their provenance, and use recent release entries to organize the review.

Plan package mirror capacity

Use PyPI's total storage and largest packages to estimate scale. Inventory files for selected releases and use change events to identify additions and removals that need reconciliation.

Investigate artifact storage growth

Compare storage snapshots, identify packages appearing among the largest, and inspect their file inventories. Use upload and removal events to investigate changes between snapshots.

Check a package data pipeline

Validate that ingestion keeps project records, exact releases, and file inventories separate. Check storage units and ranking limits, and confirm provenance stays attached to the correct artifact.

Prepare an artifact approval record

Record the selected release's files and hashes, attach available publisher attestations, and compare the package's current metadata. Use recent releases to identify the next version requiring review.

Questions about PyPI package files in Muse

Can Muse use PyPI package files?

Yes. Add Spiral to Muse as an MCP server, and Muse can find and run PyPI package files like any built-in tool.

How much does PyPI package files cost in Muse?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse plan is separate.

Do I need an Alexandria account to use PyPI package files in Muse?

You need no Alexandria account. Muse uses one Spiral API key for every tool, and Spiral runs PyPI package files on its own Alexandria account.

How long does it take to set up PyPI package files in Muse?

About two minutes: create an API key, then send Muse this message, then give Muse the key.

Does Muse wait while PyPI package files runs?

PyPI package files runs in the background. Muse starts the run, checks on it and gives you the json when it's ready.

How reliable is PyPI's package metadata?

PyPI's JSON metadata uses values supplied during upload and may differ from the uploaded files. The first metadata uploaded for a release is retained even when more files are added to that release.

How quickly do PyPI changes appear?

PyPI caches API responses, including JSON, RSS, and Index responses through its CDN. Its API documentation does not promise that every upload or change appears immediately.

How much release history do PyPI feeds contain?

The upstream implementation returns up to 100 site-wide release updates, 40 newly created projects, or 40 releases for one project. These are entry limits, so the time span depends on publishing activity.

Does PyPI provenance prove a package is safe?

A provenance record links an individual file to its publishing or build origin. PyPI explicitly says that an attestation does not establish that the code or build environment is safe.

Does every PyPI file have provenance?

No. PyPI documents releases with no attestations, especially older releases or projects without attestations configured, and a release can have attestations for only some files.

Get started

Start using PyPI package files in Muse

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Muse:

Set up Muse

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options